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 14208 – NEMO

Changeset 14208


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

r4.0-HEAD : bugfix to diagnose PAR in PISCES as a mean over the whole cell, see ticket #2507

Location:
NEMO/releases/r4.0/r4.0-HEAD
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/releases/r4.0/r4.0-HEAD/cfgs/SHARED/field_def_nemo-pisces.xml

    r12276 r14208  
    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/releases/r4.0/r4.0-HEAD/src/TOP/PISCES/P4Z/p4zopt.F90

    r13331 r14208  
    264264      IF( lk_iomput .AND.  knt == nrdttrc ) THEN 
    265265         CALL iom_put( "Heup" , heup(:,:  ) * tmask(:,:,1) )  ! euphotic layer deptht 
    266          CALL iom_put( "PARDM", zpar(:,:,:) * tmask(:,:,:) )  ! Photosynthetically Available Radiation 
    267          CALL iom_put( "PAR"  , emoy(:,:,:) * tmask(:,:,:) )  ! Photosynthetically Available Radiation 
     266         IF( iom_use( "PAR" ) ) THEN 
     267            zpar(:.:,1) = zpar(:,:,1) * ( 1._wp - fr_i(:,:) ) 
     268            CALL iom_put( "PAR", zpar(:,:,:) * tmask(:,:,:) )  ! Photosynthetically Available Radiation 
     269         ENDIF 
    268270      ENDIF 
    269271      ! 
Note: See TracChangeset for help on using the changeset viewer.