New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 14209 – NEMO

Changeset 14209


Ignore:
Timestamp:
2020-12-18T10:53:36+01:00 (3 years ago)
Author:
cetlod
Message:

trunk : bugfix to diagnose PAR in PISCES as a mean over the whole cell, see ticket #2507

Location:
NEMO/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/cfgs/SHARED/field_def_nemo-pisces.xml

    r14072 r14209  
    166166    <field id="CO3sat"      long_name="CO3 saturation"                          unit="mol/m3"     grid_ref="grid_T_3D" /> 
    167167    <field id="PAR"         long_name="Photosynthetically Available Radiation"  unit="W/m2"       grid_ref="grid_T_3D" /> 
    168     <field id="PARDM"       long_name="Daily mean PAR"                          unit="W/m2"       grid_ref="grid_T_3D" /> 
    169168    <field id="PPPHYN"      long_name="Primary production of nanophyto"         unit="molC/m3/s"  grid_ref="grid_T_3D" /> 
    170169    <field id="PPPHYP"      long_name="Primary production of picophyto"         unit="molC/m3/s"  grid_ref="grid_T_3D" /> 
  • NEMO/trunk/src/TOP/PISCES/P4Z/p4zopt.F90

    r13333 r14209  
    236236      IF( lk_iomput .AND.  knt == nrdttrc ) THEN 
    237237         CALL iom_put( "Heup" , heup(:,:  ) * tmask(:,:,1) )  ! euphotic layer deptht 
    238          CALL iom_put( "PARDM", zpar(:,:,:) * tmask(:,:,:) )  ! Photosynthetically Available Radiation 
    239          CALL iom_put( "PAR"  , emoy(:,:,:) * tmask(:,:,:) )  ! Photosynthetically Available Radiation 
     238         IF( iom_use( "PAR" ) ) THEN 
     239            zpar(:.:,1) = zpar(:,:,1) * ( 1._wp - fr_i(:,:) ) 
     240            CALL iom_put( "PAR", zpar(:,:,:) * tmask(:,:,:) )  ! Photosynthetically Available Radiation 
     241         ENDIF 
    240242      ENDIF 
    241243      ! 
Note: See TracChangeset for help on using the changeset viewer.