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

Changeset 5382


Ignore:
Timestamp:
2015-06-09T09:35:52+02:00 (9 years ago)
Author:
smasson
Message:

dev_r5218_CNRS17_coupling: merge with trunk rev 5381

Location:
branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM
Files:
2 deleted
60 edited
3 copied

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/ARCH/INGV/arch-IBM_EKMAN_INGV.fcm

    r5094 r5382  
    1818%NCDF_INC            -I/srv/lib/netcdf-x/include 
    1919%NCDF_LIB            -L/srv/lib/netcdf-x/lib -lnetcdff -lnetcdf -lhdf5_hl -lhdf5 -lcurl -lstdc++ 
    20 %XIOS_ROOT           /home/delrosso/XIOS_482/XIOS 
     20%XIOS_ROOT           /home/delrosso/XIOS_1.0/xios-1.0 
    2121%MPI_INTEL           -I/srv/intel/impi/4.1.0.024/include 
    2222%CPP                 cpp 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/CONFIG/AMM12/EXP00/iodef.xml

    r5107 r5382  
    3434 
    3535   <file id="file1" name_suffix="_grid_T" description="ocean T grid variables" > 
    36      <field field_ref="sst"          name="tos"      long_name="sea_surface_temperature"                       /> 
    37      <field field_ref="sss"          name="sos"      long_name="sea_surface_salinity"                          /> 
    38      <field field_ref="ssh"          name="zos"      long_name="sea_surface_height_above_geoid"                /> 
     36     <field field_ref="sst"          name="tos" /> 
     37     <field field_ref="sss"          name="sos" /> 
     38     <field field_ref="ssh"          name="zos" /> 
    3939   </file> 
    4040 
    4141   <file id="file2" name_suffix="_grid_U" description="ocean U grid variables" > 
    42      <field field_ref="ssu"          name="uos"     long_name="sea_surface_x_velocity"    /> 
     42     <field field_ref="ssu"          name="uos" /> 
    4343   </file> 
    4444    
    4545   <file id="file3" name_suffix="_grid_V" description="ocean V grid variables" > 
    46      <field field_ref="ssv"          name="vos"     long_name="sea_surface_y_velocity"    /> 
     46     <field field_ref="ssv"          name="vos" /> 
    4747   </file> 
    4848    
    4949      </file_group> 
     50 
    5051      <file_group id="3d" output_freq="3d"  output_level="10" enabled=".TRUE."/> <!-- 3d files -->     
    5152 
     
    5354 
    5455   <file id="file4" name_suffix="_grid_T" description="ocean T grid variables" > 
    55      <field field_ref="toce"         name="thetao"   long_name="sea_water_potential_temperature"               /> 
    56      <field field_ref="soce"         name="so"       long_name="sea_water_salinity"                            /> 
    57      <field field_ref="sst"          name="tos"      long_name="sea_surface_temperature"                       /> 
    58      <field field_ref="sst2"         name="tossq"    long_name="square_of_sea_surface_temperature"             /> 
    59      <field field_ref="sss"          name="sos"      long_name="sea_surface_salinity"                          /> 
    60      <field field_ref="ssh"          name="zos"      long_name="sea_surface_height_above_geoid"                /> 
    61      <field field_ref="ssh2"         name="zossq"    long_name="square_of_sea_surface_height_above_geoid"      /> 
    62      <field field_ref="empmr"        name="wfo"      long_name="water_flux_into_sea_water"                     /> 
    63      <field field_ref="qsr"          name="rsntds"   long_name="surface_net_downward_shortwave_flux"           /> 
    64      <field field_ref="qt"           name="tohfls"   long_name="surface_net_downward_total_heat_flux"          /> 
    65      <field field_ref="taum"         /> 
    66      <field field_ref="mldkz5"       /> 
    67      <field field_ref="mldr10_1"     /> 
     56     <field field_ref="toce"         name="thetao" /> 
     57     <field field_ref="soce"         name="so"     /> 
     58     <field field_ref="sst"          name="tos"    /> 
     59     <field field_ref="sst2"         name="tossq"  /> 
     60     <field field_ref="sss"          name="sos"    /> 
     61     <field field_ref="ssh"          name="zos"    /> 
     62     <field field_ref="ssh2"         name="zossq"  /> 
     63     <field field_ref="empmr"        name="wfo"    /> 
     64     <field field_ref="qsr"          name="rsntds" /> 
     65     <field field_ref="qt"           name="tohfls" /> 
     66     <field field_ref="taum"     /> 
     67     <field field_ref="mldkz5"   /> 
     68     <field field_ref="mldr10_1" /> 
    6869   </file> 
    6970    
    7071   <file id="file5" name_suffix="_grid_U" description="ocean U grid variables" > 
    71      <field field_ref="uoce"         name="uo"      long_name="sea_water_x_velocity"      /> 
    72      <field field_ref="ssu"          name="uos"     long_name="sea_surface_x_velocity"    /> 
    73      <field field_ref="utau"         name="tauuo"   long_name="surface_downward_x_stress" /> 
     72     <field field_ref="uoce"         name="uo"    /> 
     73     <field field_ref="ssu"          name="uos"   /> 
     74     <field field_ref="utau"         name="tauuo" /> 
    7475   </file> 
    7576    
    7677   <file id="file6" name_suffix="_grid_V" description="ocean V grid variables" > 
    77      <field field_ref="voce"         name="vo"      long_name="sea_water_y_velocity"      /> 
    78      <field field_ref="ssv"          name="vos"     long_name="sea_surface_y_velocity"    /> 
    79      <field field_ref="vtau"         name="tauvo"   long_name="surface_downward_y_stress" /> 
     78     <field field_ref="voce"         name="vo"    /> 
     79     <field field_ref="ssv"          name="vos"   /> 
     80     <field field_ref="vtau"         name="tauvo" /> 
    8081   </file> 
    8182    
    8283   <file id="file7" name_suffix="_grid_W" description="ocean W grid variables" > 
    83      <field field_ref="woce"         name="wo"      long_name="ocean vertical velocity"         /> 
    84      <field field_ref="avt"          name="difvho"  long_name="ocean_vertical_heat_diffusivity" /> 
     84     <field field_ref="woce"         name="wo"     /> 
     85     <field field_ref="avt"          name="difvho" /> 
    8586   </file> 
    8687    
     
    107108     
    108109   <axis_definition>   
    109       <axis id="deptht" long_name="Vertical T levels" unit="m" positive="down" /> 
    110       <axis id="depthu" long_name="Vertical U levels" unit="m" positive="down" /> 
    111       <axis id="depthv" long_name="Vertical V levels" unit="m" positive="down" /> 
    112       <axis id="depthw" long_name="Vertical W levels" unit="m" positive="down" /> 
    113       <axis id="nfloat" long_name="Float number"      unit="-"  /> 
    114       <axis id="icbcla" long_name="Iceberg class"     unit="-"  /> 
     110      <axis id="deptht"  long_name="Vertical T levels"  unit="m" positive="down" /> 
     111      <axis id="depthu"  long_name="Vertical U levels"  unit="m" positive="down" /> 
     112      <axis id="depthv"  long_name="Vertical V levels"  unit="m" positive="down" /> 
     113      <axis id="depthw"  long_name="Vertical W levels"  unit="m" positive="down" /> 
     114      <axis id="nfloat"  long_name="Float number"       unit="1"                 /> 
     115      <axis id="icbcla"  long_name="Iceberg class"      unit="1"                 /> 
     116      <axis id="ncatice" long_name="Ice category"       unit="1"                 /> 
     117      <axis id="iax_20C" long_name="20 degC isotherm"   unit="degC"              /> 
     118      <axis id="iax_28C" long_name="28 degC isotherm"   unit="degC"              /> 
    115119   </axis_definition>  
    116120     
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/CONFIG/C1D_PAPA/EXP00/iodef.xml

    r4667 r5382  
    3434     <field field_ref="empmr"        name="sowaflup"  /> 
    3535     <field field_ref="qsr"          name="soshfldo"  /> 
    36           <field field_ref="saltflx"      name="sosfldow"  /> 
     36      <field field_ref="saltflx"      name="sosfldow"  /> 
    3737     <field field_ref="qt"           name="sohefldo"  /> 
    3838     <field field_ref="mldr10_1"     name="somxl010"  /> 
    3939     <field field_ref="mldkz5"       name="somixhgt"  /> 
    40         </file> 
     40    </file> 
    4141    
    4242   <file id="file2" name_suffix="_grid_U" description="ocean U grid variables" > 
    4343          <field field_ref="uoce"         name="vozocrtx"  /> 
    4444          <field field_ref="utau"         name="sozotaux"  /> 
    45         </file> 
     45    </file> 
    4646    
    4747   <file id="file3" name_suffix="_grid_V" description="ocean V grid variables" > 
    4848          <field field_ref="voce"         name="vomecrty"  />  
    4949          <field field_ref="vtau"         name="sometauy"  />  
    50         </file> 
     50    </file> 
    5151    
    5252   <file id="file4" name_suffix="_grid_W" description="ocean W grid variables" > 
     
    5454          <field field_ref="avt"          name="votkeavt" /> 
    5555          <field field_ref="aht2d"        name="soleahtw" /> 
    56         </file> 
     56    </file> 
    5757      </file_group> 
    5858 
     
    7272     <field field_ref="empmr"        name="sowaflup"  /> 
    7373     <field field_ref="qsr"          name="soshfldo"  /> 
    74           <field field_ref="saltflx"      name="sosfldow"  /> 
     74      <field field_ref="saltflx"      name="sosfldow"  /> 
    7575     <field field_ref="qt"           name="sohefldo"  /> 
    7676     <field field_ref="mldr10_1"     name="somxl010"  /> 
    7777     <field field_ref="mldkz5"       name="somixhgt"  /> 
    78         </file> 
     78    </file> 
    7979    
    8080   <file id="file6" name_suffix="_grid_U" description="ocean U grid variables" > 
    8181          <field field_ref="uoce"         name="vozocrtx"  /> 
    8282          <field field_ref="utau"         name="sozotaux"  /> 
    83         </file> 
     83    </file> 
    8484    
    8585   <file id="file7" name_suffix="_grid_V" description="ocean V grid variables" > 
    8686          <field field_ref="voce"         name="vomecrty"  />  
    8787          <field field_ref="vtau"         name="sometauy"  />  
    88         </file> 
     88    </file> 
    8989    
    9090   <file id="file8" name_suffix="_grid_W" description="ocean W grid variables" > 
     
    9292          <field field_ref="avt"          name="votkeavt" /> 
    9393          <field field_ref="aht2d"        name="soleahtw" /> 
    94         </file> 
     94    </file> 
    9595      </file_group> 
    9696 
     
    9898      <file_group id="3d" output_freq="3d"  output_level="10" enabled=".TRUE."/> <!-- 3d files -->     
    9999      <file_group id="5d" output_freq="5d"  output_level="10" enabled=".TRUE."/>  <!-- 5d files -->    
     100 
    100101      <file_group id="1m" output_freq="1mo" output_level="10" enabled=".TRUE."/> <!-- real monthly files --> 
    101102      <file_group id="2m" output_freq="2mo" output_level="10" enabled=".TRUE."/> <!-- real 2m files --> 
     
    118119     
    119120   <axis_definition>   
    120       <axis id="deptht" long_name="Vertical T levels" unit="m" positive="down" /> 
    121       <axis id="depthu" long_name="Vertical U levels" unit="m" positive="down" /> 
    122       <axis id="depthv" long_name="Vertical V levels" unit="m" positive="down" /> 
    123       <axis id="depthw" long_name="Vertical W levels" unit="m" positive="down" /> 
    124       <axis id="nfloat" long_name="Float number"      unit="-"  /> 
    125       <axis id="icbcla" long_name="Iceberg class"     unit="-"  /> 
     121      <axis id="deptht"  long_name="Vertical T levels"  unit="m" positive="down" /> 
     122      <axis id="depthu"  long_name="Vertical U levels"  unit="m" positive="down" /> 
     123      <axis id="depthv"  long_name="Vertical V levels"  unit="m" positive="down" /> 
     124      <axis id="depthw"  long_name="Vertical W levels"  unit="m" positive="down" /> 
     125      <axis id="nfloat"  long_name="Float number"       unit="1"                 /> 
     126      <axis id="icbcla"  long_name="Iceberg class"      unit="1"                 /> 
     127      <axis id="ncatice" long_name="Ice category"       unit="1"                 /> 
     128      <axis id="iax_20C" long_name="20 degC isotherm"   unit="degC"              /> 
     129      <axis id="iax_28C" long_name="28 degC isotherm"   unit="degC"              /> 
    126130   </axis_definition>  
    127131     
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/CONFIG/GYRE/EXP00/iodef.xml

    r4245 r5382  
    4242     <field field_ref="empmr"        name="sowaflup"  /> 
    4343     <field field_ref="qsr"          name="soshfldo"  /> 
    44           <field field_ref="saltflx"      name="sosfldow"  /> 
     44      <field field_ref="saltflx"      name="sosfldow"  /> 
    4545     <field field_ref="qt"           name="sohefldo"  /> 
    4646     <field field_ref="mldr10_1"     name="somxl010"  /> 
    4747     <field field_ref="mldkz5"       name="somixhgt"  /> 
    48            <!-- variables available with MLE 
    49           <field field_ref="Lf_NHpf"    name="Lf_NHpf"  long_name="MLE:_Lf=NH/f"     /> 
    50       --> 
    51        </file> 
     48    </file> 
    5249    
    5350   <file id="file2" name_suffix="_grid_U" description="ocean U grid variables" > 
    5451          <field field_ref="uoce"         name="vozocrtx"  /> 
    5552          <field field_ref="utau"         name="sozotaux"  /> 
    56           <!-- variables available with MLE 
    57           <field field_ref="psiu_mle"     name="psiu_mle"  long_name="MLE_streamfunction_along_i-axis" /> 
    58      --> 
    59         </file> 
     53    </file> 
    6054    
    6155   <file id="file3" name_suffix="_grid_V" description="ocean V grid variables" > 
    6256          <field field_ref="voce"         name="vomecrty"  />  
    6357          <field field_ref="vtau"         name="sometauy"  />  
    64           <!-- variables available with MLE 
    65           <field field_ref="psiv_mle"     name="psiv_mle"  long_name="MLE_streamfunction_along_j-axis" /> 
    66      --> 
    67         </file> 
     58    </file> 
    6859    
    6960   <file id="file4" name_suffix="_grid_W" description="ocean W grid variables" > 
     
    7162          <field field_ref="avt"          name="votkeavt" /> 
    7263          <field field_ref="aht2d"        name="soleahtw" /> 
    73         </file> 
     64    </file> 
    7465 
    7566      </file_group> 
     
    9586     
    9687   <axis_definition>   
    97       <axis id="deptht" long_name="Vertical T levels" unit="m" positive="down" /> 
    98       <axis id="depthu" long_name="Vertical U levels" unit="m" positive="down" /> 
    99       <axis id="depthv" long_name="Vertical V levels" unit="m" positive="down" /> 
    100       <axis id="depthw" long_name="Vertical W levels" unit="m" positive="down" /> 
    101       <axis id="nfloat" long_name="Float number"      unit="-"  /> 
    102       <axis id="icbcla" long_name="Iceberg class"     unit="-"  /> 
     88      <axis id="deptht"  long_name="Vertical T levels"  unit="m" positive="down" /> 
     89      <axis id="depthu"  long_name="Vertical U levels"  unit="m" positive="down" /> 
     90      <axis id="depthv"  long_name="Vertical V levels"  unit="m" positive="down" /> 
     91      <axis id="depthw"  long_name="Vertical W levels"  unit="m" positive="down" /> 
     92      <axis id="nfloat"  long_name="Float number"       unit="1"                 /> 
     93      <axis id="icbcla"  long_name="Iceberg class"      unit="1"                 /> 
     94      <axis id="ncatice" long_name="Ice category"       unit="1"                 /> 
     95      <axis id="iax_20C" long_name="20 degC isotherm"   unit="degC"              /> 
     96      <axis id="iax_28C" long_name="28 degC isotherm"   unit="degC"              /> 
    10397   </axis_definition>  
    10498     
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/CONFIG/GYRE_BFM/EXP00/iodef.xml

    r4153 r5382  
    3131      <file_group id="6h" output_freq="6h"  output_level="10" enabled=".TRUE."/> <!-- 6h files --> 
    3232      
    33       <file_group id="1d" output_freq="1d"  output_level="10" enabled=".TRUE."> <!-- 1d files --> 
    34       </file_group> 
     33      <file_group id="1d" output_freq="1d"  output_level="10" enabled=".TRUE."/> <!-- 1d files --> 
    3534      <file_group id="3d" output_freq="3d"  output_level="10" enabled=".TRUE."/> <!-- 3d files -->     
    36       <file_group id="5d" output_freq="5d"  output_level="10" enabled=".TRUE.">  <!-- 5d files -->    
    37       </file_group> 
     35      <file_group id="5d" output_freq="5d"  output_level="10" enabled=".TRUE."/>  <!-- 5d files -->    
    3836 
    3937      <file_group id="1m" output_freq="1mo" output_level="10" enabled=".TRUE."/> <!-- real monthly files --> 
     
    5755     
    5856   <axis_definition>   
    59       <axis id="deptht" long_name="Vertical T levels" unit="m" positive="down" /> 
    60       <axis id="depthu" long_name="Vertical U levels" unit="m" positive="down" /> 
    61       <axis id="depthv" long_name="Vertical V levels" unit="m" positive="down" /> 
    62       <axis id="depthw" long_name="Vertical W levels" unit="m" positive="down" /> 
    63       <axis id="nfloat" long_name="Float number"      unit="-"  /> 
    64       <axis id="icbcla" long_name="Iceberg class"     unit="-"  /> 
     57      <axis id="deptht"  long_name="Vertical T levels"  unit="m" positive="down" /> 
     58      <axis id="depthu"  long_name="Vertical U levels"  unit="m" positive="down" /> 
     59      <axis id="depthv"  long_name="Vertical V levels"  unit="m" positive="down" /> 
     60      <axis id="depthw"  long_name="Vertical W levels"  unit="m" positive="down" /> 
     61      <axis id="nfloat"  long_name="Float number"       unit="1"                 /> 
     62      <axis id="icbcla"  long_name="Iceberg class"      unit="1"                 /> 
     63      <axis id="ncatice" long_name="Ice category"       unit="1"                 /> 
     64      <axis id="iax_20C" long_name="20 degC isotherm"   unit="degC"              /> 
     65      <axis id="iax_28C" long_name="28 degC isotherm"   unit="degC"              /> 
    6566   </axis_definition>  
    6667     
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/CONFIG/GYRE_PISCES/EXP00/iodef.xml

    r4609 r5382  
    4343     <field field_ref="empmr"        name="sowaflup"  /> 
    4444     <field field_ref="qsr"          name="soshfldo"  /> 
    45           <field field_ref="saltflx"      name="sosfldow"  /> 
     45      <field field_ref="saltflx"      name="sosfldow"  /> 
    4646     <field field_ref="qt"           name="sohefldo"  /> 
    4747     <field field_ref="mldr10_1"     name="somxl010"  /> 
    4848     <field field_ref="mldkz5"       name="somixhgt"  /> 
    49            <!-- variables available with MLE 
    50           <field field_ref="Lf_NHpf"    name="Lf_NHpf"  long_name="MLE:_Lf=NH/f"     /> 
    51       --> 
    5249        </file> 
    5350    
     
    5552          <field field_ref="uoce"         name="vozocrtx"  /> 
    5653          <field field_ref="utau"         name="sozotaux"  /> 
    57           <!-- variables available with MLE 
    58           <field field_ref="psiu_mle"     name="psiu_mle"  long_name="MLE_streamfunction_along_i-axis" /> 
    59      --> 
    6054        </file> 
    6155    
     
    6357          <field field_ref="voce"         name="vomecrty"  />  
    6458          <field field_ref="vtau"         name="sometauy"  />  
    65           <!-- variables available with MLE 
    66           <field field_ref="psiv_mle"     name="psiv_mle"  long_name="MLE_streamfunction_along_j-axis" /> 
    67      --> 
    6859        </file> 
    6960    
     
    132123     
    133124   <axis_definition>   
    134       <axis id="deptht" long_name="Vertical T levels" unit="m" positive="down" /> 
    135       <axis id="depthu" long_name="Vertical U levels" unit="m" positive="down" /> 
    136       <axis id="depthv" long_name="Vertical V levels" unit="m" positive="down" /> 
    137       <axis id="depthw" long_name="Vertical W levels" unit="m" positive="down" /> 
    138       <axis id="nfloat" long_name="Float number"      unit="-"  /> 
    139       <axis id="icbcla" long_name="Iceberg class"     unit="-"  /> 
     125      <axis id="deptht"  long_name="Vertical T levels"  unit="m" positive="down" /> 
     126      <axis id="depthu"  long_name="Vertical U levels"  unit="m" positive="down" /> 
     127      <axis id="depthv"  long_name="Vertical V levels"  unit="m" positive="down" /> 
     128      <axis id="depthw"  long_name="Vertical W levels"  unit="m" positive="down" /> 
     129      <axis id="nfloat"  long_name="Float number"       unit="1"                 /> 
     130      <axis id="icbcla"  long_name="Iceberg class"      unit="1"                 /> 
     131      <axis id="ncatice" long_name="Ice category"       unit="1"                 /> 
     132      <axis id="iax_20C" long_name="20 degC isotherm"   unit="degC"              /> 
     133      <axis id="iax_28C" long_name="28 degC isotherm"   unit="degC"              /> 
    140134   </axis_definition>  
    141135     
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/CONFIG/GYRE_XIOS/EXP00/iodef.xml

    r4373 r5382  
    4242     <field field_ref="empmr"        name="sowaflup"  /> 
    4343     <field field_ref="qsr"          name="soshfldo"  /> 
    44           <field field_ref="saltflx"      name="sosfldow"  /> 
     44      <field field_ref="saltflx"      name="sosfldow"  /> 
    4545     <field field_ref="qt"           name="sohefldo"  /> 
    4646     <field field_ref="mldr10_1"     name="somxl010"  /> 
    4747     <field field_ref="mldkz5"       name="somixhgt"  /> 
    48            <!-- variables available with MLE 
    49           <field field_ref="Lf_NHpf"    name="Lf_NHpf"  long_name="MLE:_Lf=NH/f"     /> 
    50       --> 
    51        </file> 
     48    </file> 
    5249    
    5350   <file id="file2" name_suffix="_grid_U" description="ocean U grid variables" > 
    5451          <field field_ref="uoce"         name="vozocrtx"  /> 
    5552          <field field_ref="utau"         name="sozotaux"  /> 
    56           <!-- variables available with MLE 
    57           <field field_ref="psiu_mle"     name="psiu_mle"  long_name="MLE_streamfunction_along_i-axis" /> 
    58      --> 
    59         </file> 
     53    </file> 
    6054    
    6155   <file id="file3" name_suffix="_grid_V" description="ocean V grid variables" > 
    6256          <field field_ref="voce"         name="vomecrty"  />  
    6357          <field field_ref="vtau"         name="sometauy"  />  
    64           <!-- variables available with MLE 
    65           <field field_ref="psiv_mle"     name="psiv_mle"  long_name="MLE_streamfunction_along_j-axis" /> 
    66      --> 
    67         </file> 
     58    </file> 
    6859    
    6960   <file id="file4" name_suffix="_grid_W" description="ocean W grid variables" > 
     
    7162          <field field_ref="avt"          name="votkeavt" /> 
    7263          <field field_ref="aht2d"        name="soleahtw" /> 
    73         </file> 
     64    </file> 
    7465 
    7566      </file_group> 
     
    9586     
    9687   <axis_definition>   
    97       <axis id="deptht" long_name="Vertical T levels" unit="m" positive="down" /> 
    98       <axis id="depthu" long_name="Vertical U levels" unit="m" positive="down" /> 
    99       <axis id="depthv" long_name="Vertical V levels" unit="m" positive="down" /> 
    100       <axis id="depthw" long_name="Vertical W levels" unit="m" positive="down" /> 
    101       <axis id="nfloat" long_name="Float number"      unit="-"  /> 
    102       <axis id="icbcla" long_name="Iceberg class"     unit="-"  /> 
     88      <axis id="deptht"  long_name="Vertical T levels"  unit="m" positive="down" /> 
     89      <axis id="depthu"  long_name="Vertical U levels"  unit="m" positive="down" /> 
     90      <axis id="depthv"  long_name="Vertical V levels"  unit="m" positive="down" /> 
     91      <axis id="depthw"  long_name="Vertical W levels"  unit="m" positive="down" /> 
     92      <axis id="nfloat"  long_name="Float number"       unit="1"                 /> 
     93      <axis id="icbcla"  long_name="Iceberg class"      unit="1"                 /> 
     94      <axis id="ncatice" long_name="Ice category"       unit="1"                 /> 
     95      <axis id="iax_20C" long_name="20 degC isotherm"   unit="degC"              /> 
     96      <axis id="iax_28C" long_name="28 degC isotherm"   unit="degC"              /> 
    10397   </axis_definition>  
    10498     
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/CONFIG/GYRE_XIOS/EXP00/namelist_cfg

    r5220 r5382  
    195195&nameos        !   ocean physical parameters 
    196196!----------------------------------------------------------------------- 
    197    nn_eos      =   2       !  type of equation of state and Brunt-Vaisala frequency 
     197   nn_eos      =   0       !  type of equation of state and Brunt-Vaisala frequency 
    198198/ 
    199199!----------------------------------------------------------------------- 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/CONFIG/ORCA2_LIM/EXP00/iodef.xml

    r5107 r5382  
    3535  
    3636   <file id="file1" name_suffix="_grid_T" description="ocean T grid variables" > 
    37      <field field_ref="e3t"  /> 
    38      <field field_ref="toce"         name="thetao"   long_name="sea_water_potential_temperature"                    operation="instant" freq_op="5d" > @toce_e3t / @e3t </field> 
    39      <field field_ref="soce"         name="so"       long_name="sea_water_salinity"                                 operation="instant" freq_op="5d" > @soce_e3t / @e3t </field> 
    40      <field field_ref="sst"          name="tos"      long_name="sea_surface_temperature"                       /> 
    41      <field field_ref="sss"          name="sos"      long_name="sea_surface_salinity"                          /> 
    42      <field field_ref="ssh"          name="zos"      long_name="sea_surface_height_above_geoid"                /> 
    43      <field field_ref="sst"          name="tosstd"   long_name="sea_surface_temperature_standard_deviation"         operation="instant" freq_op="5d" > sqrt( @sst2 - @sst * @sst ) </field> 
    44      <field field_ref="ssh"          name="zosstd"   long_name="sea_surface_height_above_geoid_standard_deviation"  operation="instant" freq_op="5d" > sqrt( @ssh2 - @ssh * @ssh ) </field> 
    45      <field field_ref="sst"          name="sstdcy"   long_name="amplitude of sst diurnal cycle" operation="average" freq_op="1d" > @sstmax - @sstmin </field> 
    46      <field field_ref="mldkz5"       /> 
    47      <field field_ref="mldr10_1"     /> 
    48      <field field_ref="mldr10_1"     name="mldr10_1dcy"  long_name="amplitude of mldr10_1 diurnal cycle" operation="average" freq_op="1d" > @mldr10_1max - @mldr10_1min </field> 
    49      <field field_ref="empmr"        name="wfo"      long_name="water_flux_into_sea_water"                     /> 
    50      <field field_ref="qsr"          name="rsntds"   long_name="surface_net_downward_shortwave_flux"           /> 
    51      <field field_ref="qt"           name="tohfls"   long_name="surface_net_downward_total_heat_flux"          /> 
     37     <field field_ref="e3t"                          /> 
     38     <field field_ref="toce"         name="thetao"                                                                      operation="instant" freq_op="5d" > @toce_e3t / @e3t </field> 
     39     <field field_ref="soce"         name="so"                                                                          operation="instant" freq_op="5d" > @soce_e3t / @e3t </field> 
     40     <field field_ref="sst"          name="tos"      /> 
     41     <field field_ref="sss"          name="sos"      /> 
     42     <field field_ref="ssh"          name="zos"      /> 
     43     <field field_ref="sst"          name="tosstd"       long_name="sea surface temperature standard deviation"         operation="instant" freq_op="5d" > sqrt( @sst2 - @sst * @sst ) </field> 
     44     <field field_ref="ssh"          name="zosstd"       long_name="sea surface height above geoid standard deviation"  operation="instant" freq_op="5d" > sqrt( @ssh2 - @ssh * @ssh ) </field> 
     45     <field field_ref="sst"          name="sstdcy"       long_name="amplitude of sst diurnal cycle"                    operation="average" freq_op="1d" > @sstmax - @sstmin </field> 
     46     <field field_ref="mldkz5"                       /> 
     47     <field field_ref="mldr10_1"                     /> 
     48     <field field_ref="mldr10_1"     name="mldr10_1dcy"  long_name="amplitude of mldr10_1 diurnal cycle"                operation="average" freq_op="1d" > @mldr10_1max - @mldr10_1min </field> 
     49     <field field_ref="empmr"        name="wfo"      /> 
     50     <field field_ref="qsr"          name="rsntds"   /> 
     51     <field field_ref="qt"           name="tohfls"   /> 
    5252     <field field_ref="saltflx"      name="sosflxdo" /> 
    53      <field field_ref="taum"         name="taum"     /> 
     53     <field field_ref="taum"                         /> 
    5454     <field field_ref="wspd"         name="sowindsp" /> 
    55           <field field_ref="precip"       name="soprecip" /> 
     55      <field field_ref="precip"       name="soprecip" /> 
    5656     <field field_ref="sbt"                          /> 
    5757   </file> 
    5858 
    5959   <file id="file3" name_suffix="_grid_U" description="ocean U grid variables" > 
    60      <field field_ref="e3u"  /> 
    61      <field field_ref="ssu"          name="uos"     long_name="sea_surface_x_velocity"    /> 
    62      <field field_ref="uoce"         name="uo"      long_name="sea_water_x_velocity" operation="instant" freq_op="5d" > @uoce_e3u / @e3u </field> 
    63      <field field_ref="utau"         name="tauuo"   long_name="surface_downward_x_stress" /> 
    64           <!-- variables available with MLE 
    65           <field field_ref="psiu_mle"     name="psiu_mle"  long_name="MLE_streamfunction_along_i-axis" /> 
    66      --> 
     60     <field field_ref="e3u"                       /> 
     61     <field field_ref="ssu"          name="uos"   /> 
     62     <field field_ref="uoce"         name="uo"      operation="instant" freq_op="5d" > @uoce_e3u / @e3u </field> 
     63     <field field_ref="utau"         name="tauuo" /> 
    6764   </file> 
    6865    
    6966   <file id="file4" name_suffix="_grid_V" description="ocean V grid variables" > 
    70      <field field_ref="e3v"  /> 
    71      <field field_ref="ssv"          name="vos"     long_name="sea_surface_y_velocity"    /> 
    72      <field field_ref="voce"         name="vo"      long_name="sea_water_y_velocity" operation="instant" freq_op="5d" > @voce_e3v / @e3v </field> 
    73      <field field_ref="vtau"         name="tauvo"   long_name="surface_downward_y_stress" /> 
    74           <!-- variables available with MLE 
    75           <field field_ref="psiv_mle"     name="psiv_mle"  long_name="MLE_streamfunction_along_j-axis" /> 
    76      --> 
     67     <field field_ref="e3v"                       /> 
     68     <field field_ref="ssv"          name="vos"   /> 
     69     <field field_ref="voce"         name="vo"      operation="instant" freq_op="5d" > @voce_e3v / @e3v </field> 
     70     <field field_ref="vtau"         name="tauvo" /> 
    7771   </file> 
    7872    
    7973   <file id="file5" name_suffix="_grid_W" description="ocean W grid variables" > 
    80      <field field_ref="e3w"  /> 
    81      <field field_ref="woce"         name="wo"      long_name="ocean vertical velocity" operation="instant" freq_op="5d" > @woce_e3w / @e3w </field> 
    82      <field field_ref="avt"          name="difvho"  long_name="ocean_vertical_heat_diffusivity" /> 
     74     <field field_ref="e3w"                        /> 
     75     <field field_ref="woce"         name="wo"      operation="instant" freq_op="5d" > @woce_e3w / @e3w </field> 
     76     <field field_ref="avt"          name="difvho" /> 
    8377   </file> 
    8478 
    8579   <file id="file6" name_suffix="_icemod" description="ice variables" > 
    86      <field field_ref="ice_pres"                     /> 
    87      <field field_ref="snowthic_cea" name="snd"     long_name="surface_snow_thickness"   /> 
    88      <field field_ref="icethic_cea"  name="sit"     long_name="sea_ice_thickness"        /> 
    89      <field field_ref="iceprod_cea"  name="sip"     long_name="sea_ice_thickness"        /> 
    90      <field field_ref="ist_ipa"      /> 
    91      <field field_ref="uice_ipa"     /> 
    92      <field field_ref="vice_ipa"     /> 
    93      <field field_ref="utau_ice"     /> 
    94      <field field_ref="vtau_ice"     /> 
    95      <field field_ref="qsr_io_cea"   /> 
    96      <field field_ref="qns_io_cea"   /> 
    97      <field field_ref="snowpre"      /> 
     80     <field field_ref="ice_pres"   /> 
     81     <field field_ref="snowthic_cea" name="snd" /> 
     82     <field field_ref="icethic_cea"  name="sit" /> 
     83     <field field_ref="iceprod_cea"  name="sip" /> 
     84     <field field_ref="ist_ipa"    /> 
     85     <field field_ref="uice_ipa"   /> 
     86     <field field_ref="vice_ipa"   /> 
     87     <field field_ref="utau_ice"   /> 
     88     <field field_ref="vtau_ice"   /> 
     89     <field field_ref="qsr_io_cea" /> 
     90     <field field_ref="qns_io_cea" /> 
     91     <field field_ref="snowpre"    /> 
    9892   </file> 
    9993 
     
    108102   </file> 
    109103   --> 
     104 
    110105      </file_group> 
    111106 
    112  
    113107      <file_group id="1m" output_freq="1mo" output_level="10" enabled=".TRUE."/> <!-- real monthly files --> 
    114  
    115  
    116108      <file_group id="2m" output_freq="2mo" output_level="10" enabled=".TRUE."/> <!-- real 2m files --> 
    117109      <file_group id="3m" output_freq="3mo" output_level="10" enabled=".TRUE."/> <!-- real 3m files --> 
     
    133125     
    134126   <axis_definition>   
    135       <axis id="deptht" long_name="Vertical T levels" unit="m" positive="down" /> 
    136       <axis id="depthu" long_name="Vertical U levels" unit="m" positive="down" /> 
    137       <axis id="depthv" long_name="Vertical V levels" unit="m" positive="down" /> 
    138       <axis id="depthw" long_name="Vertical W levels" unit="m" positive="down" /> 
    139       <axis id="nfloat" long_name="Float number"      unit="-"  /> 
    140       <axis id="icbcla" long_name="Iceberg class"     unit="-"  /> 
     127      <axis id="deptht"  long_name="Vertical T levels"  unit="m" positive="down" /> 
     128      <axis id="depthu"  long_name="Vertical U levels"  unit="m" positive="down" /> 
     129      <axis id="depthv"  long_name="Vertical V levels"  unit="m" positive="down" /> 
     130      <axis id="depthw"  long_name="Vertical W levels"  unit="m" positive="down" /> 
     131      <axis id="nfloat"  long_name="Float number"       unit="1"                 /> 
     132      <axis id="icbcla"  long_name="Iceberg class"      unit="1"                 /> 
     133      <axis id="ncatice" long_name="Ice category"       unit="1"                 /> 
     134      <axis id="iax_20C" long_name="20 degC isotherm"   unit="degC"              /> 
     135      <axis id="iax_28C" long_name="28 degC isotherm"   unit="degC"              /> 
    141136   </axis_definition>  
    142      
     137    
    143138   <domain_definition src="./domain_def.xml"/> 
    144139    
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/CONFIG/ORCA2_LIM/EXP00/iodef_ar5.xml

    r5107 r5382  
    3232      <file_group id="1d" output_freq="1d"  enabled=".TRUE.">                      <!-- 1d files --> 
    3333   <file id="file1" name_suffix="_grid_T_table2.2" >         <!-- grid T  --> 
    34      <field field_ref="sst"          name='tos'      long_name="sea_surface_temperature"                              level="2"                      /> 
    35      <field field_ref="sst2"         name='tossq'    long_name="square_of_sea_surface_temperature"                    level="2"                      /> 
    36      <field field_ref="mldkz5"       name='omldamax' long_name="ocean_mixed_layer_thickness_defined_by_mixing_scheme" level="2" operation="maximum" /> 
     34     <field field_ref="sst"          name='tos'      long_name="sea_surface_temperature"                              level="2" /> 
     35     <field field_ref="sst2"         name='tossq'    long_name="square_of_sea_surface_temperature"                    level="2" /> 
     36     <field field_ref="mldkz5"       name='omldamax' long_name="ocean_mixed_layer_thickness_defined_by_mixing_scheme" standard_name="ocean_mixed_layer_thickness_defined_by_mixing_scheme" level="2" operation="maximum" /> 
    3737   </file>    
    3838      </file_group> 
     
    4040++++++++++++++++++++++++++++++++++++++++++++++   monthly   +++++++++++++++++++++++++++++++++++++++++++++++++ 
    4141     --> 
    42       <file_group id="1m" output_freq="1mo"     enabled=".TRUE.">                      <!-- real monthly files --> 
     42      <file_group id="1m" output_freq="1mo" enabled=".TRUE.">                      <!-- real monthly files --> 
    4343   <!-- 
    4444..............................................    grid T   ................................................. 
    4545     -->    
    4646   <file id="file2" name_suffix="_grid_T_table2.2" > 
    47      <field field_ref="botpres"      name="pbo"      long_name="sea_water_pressure_at_sea_floor"                               /> 
     47     <field field_ref="botpres"      name="pbo"      long_name="sea_water_pressure_at_sea_floor" /> 
    4848     <!-- pso : sea_water_pressure_at_sea_water_surface = 0 --> 
    49      <field field_ref="ssh"          name="zos"      long_name="sea_surface_height_above_geoid"                                 /> 
    50      <field field_ref="ssh2"         name="zossq"    long_name="square_of_sea_surface_height_above_geoid"             level="2" /> 
     49     <field field_ref="ssh"          name="zos"      long_name="sea_surface_height_above_geoid"  /> 
     50     <field field_ref="ssh2"         name="zossq"    long_name="square_of_sea_surface_height_above_geoid"  level="2" /> 
    5151     <!-- masscello : sea_water_mass_per_unit_area = e3t*rau0                                          no time changes --> 
    52      <field field_ref="e3t"          name="thkcello" long_name="cell_thickness"                                                 /> <!-- no time changes --> 
    53      <field field_ref="toce"         name="thetao"   long_name="sea_water_potential_temperature"                                /> 
    54      <field field_ref="sst"          name="tos"      long_name="sea_surface_temperature"                              level="1" /> 
    55      <field field_ref="sst2"         name="tossq"    long_name="square_of_sea_surface_temperature"                    level="2" /> 
    56      <field field_ref="soce"         name="so"       long_name="sea_water_salinity"                                             /> 
    57      <field field_ref="sss"          name="sos"      long_name="sea_surface_salinity"                                 level="1" /> 
    58      <field field_ref="rhop"         name="rhopoto"  long_name="sea_water_potential_density"                          level="2" /> 
     52     <field field_ref="e3t"          name="thkcello" long_name="cell_thickness"                  /> <!-- no time changes --> 
     53     <field field_ref="toce"         name="thetao"   long_name="sea_water_potential_temperature" /> 
     54     <field field_ref="sst"          name="tos"      long_name="sea_surface_temperature"                   level="1" /> 
     55     <field field_ref="sst2"         name="tossq"    long_name="square_of_sea_surface_temperature"         level="2" /> 
     56     <field field_ref="soce"         name="so"       long_name="sea_water_salinity"              /> 
     57     <field field_ref="sss"          name="sos"      long_name="sea_surface_salinity"                      level="1" /> 
     58     <field field_ref="rhop"         name="rhopoto"  long_name="sea_water_potential_density"               level="2" /> 
    5959     <!-- no agessc : sea_water_age_since_surface_contact --> 
    6060     <!-- no cfc11  : moles_per_unit_mass_of_cfc11_in_sea_water --> 
     
    6262     <!-- mlotst    :           ocean_mixed_layer_thickness_defined_by_sigma_t : must be done offline --> 
    6363     <!-- mlotstsq  : square_of_ocean_mixed_layer_thickness_defined_by_sigma_t : must be done offline --> 
    64      <field field_ref="mldkz5"       name='omlmax'   long_name="ocean_mixed_layer_thickness_defined_by_mixing_scheme" level="2" operation="maximum" /> 
     64     <field field_ref="mldkz5"       name='omlmax'   long_name="ocean_mixed_layer_thickness_defined_by_mixing_scheme" standard_name="ocean_mixed_layer_thickness_defined_by_mixing_scheme" level="2" operation="maximum" /> 
    6565   </file>    
    6666    
    6767   <file id="file3" name_suffix="_grid_T_table2.5" > 
    68      <field field_ref="rain"         name="pr"       long_name="rainfall_flux"                                           level="1" /> 
    69      <field field_ref="snow_ao_cea"  name="prsn"     long_name="snowfall_flux"                                           level="1" /> 
    70      <field field_ref="evap_ao_cea"  name="evs"      long_name="water_evaporation_flux"                                  level="1" /> 
    71      <field field_ref="runoffs"      name="friver"   long_name="water_flux_into_sea_water_from_rivers"                   level="1" /> 
    72      <field field_ref="calving"      name="ficeberg" long_name="water_flux_into_sea_water_from_icebergs"                 level="1" /> 
    73      <field field_ref="isnwmlt_cea"  name="fsitherm" long_name="water_flux_into_sea_water_due_to_sea_ice_thermodynamics" level="1" /> 
    74      <field field_ref="empmr"        name="wfo"      long_name="water_flux_into_sea_water"                               level="1" /> 
     68     <field field_ref="rain"         name="pr"       long_name="rainfall_flux"                           level="1" /> 
     69     <field field_ref="snow_ao_cea"  name="prsn"     long_name="snowfall_flux"                           level="1" /> 
     70     <field field_ref="evap_ao_cea"  name="evs"      long_name="water_evaporation_flux"                  level="1" /> 
     71     <field field_ref="runoffs"      name="friver"   long_name="water_flux_into_sea_water_from_rivers"   level="1" /> 
     72     <field field_ref="calving_cea"  name="ficeberg" long_name="water_flux_into_sea_water_from_icebergs" level="1" /> 
     73      <!-- Referenced variable "isnwmlt_cea" is snow melt flux only? --> 
     74     <field field_ref="isnwmlt_cea"  name="fsitherm" long_name="water_flux_into_sea_water_due_to_sea_ice_thermodynamics" standard_name="water_flux_into_sea_water_due_to_sea_ice_thermodynamics" level="1" /> 
     75     <!-- Referenced variable "empmr" is positive upward, "wfo" is positive downward --> 
     76     <field field_ref="empmr"        name="wfo"      long_name="water_flux_into_sea_water"                               standard_name="water_flux_into_sea_water"                               level="1" /> 
    7577     <!-- wfonocorr : water_flux_into_sea_water_without_flux_correction : emp - erp -->   
    76      <field field_ref="erp"          name="wfcorr"   long_name="water_flux_correction"                                   level="1" /> <!-- usually = 0 --> 
     78      <!-- Referenced variable "erp" is newtonian damping term --> 
     79     <field field_ref="erp"          name="wfcorr"   long_name="water_flux_correction"                                   standard_name="water_flux_correction"                                   level="1" /> <!-- usually = 0 --> 
    7780   </file>    
    7881    
     
    8487     <!-- vsf      : virtual_salt_flux_into_sea_water = fsal_virtual + fsal_real --> 
    8588     <!-- wfcorr   : virtual_salt_flux_correction                        = 0 -->  
    86      <field field_ref="fsal_virt_cea" name="sfdsi"  long_name="downward_sea_ice_basal_salt_flux"                               level="1" /> 
     89      <!-- Should be field_ref = "fsal_real_cea"? --> 
     90     <field field_ref="fsal_virt_cea" name="sfdsi"  long_name="downward_sea_ice_basal_salt_flux" standard_name="downward_sea_ice_basal_salt_flux" level="1" /> 
    8791     <!-- sfriver  : salt_flux_into_sea_water_from_rivers                = 0 -->  
    8892   </file>    
     
    101105     <field field_ref="qns"           name="nshfls"      long_name="surface_net_downward_non_solar_flux"                                         level="1" /> 
    102106     <field field_ref="qsr"           name="rsntds"      long_name="surface_net_downward_shortwave_flux"                                         level="1" /> 
     107     <!-- Should be name="rsdo" --> 
    103108     <field field_ref="qsr3d"         name="rsds"        long_name="downwelling_shortwave_flux_in_sea_water"                                     level="1" /> 
    104      <field field_ref="qrp"           name="hfcorr"      long_name="heat_flux_correction"                                                        level="1" /> 
     109      <!-- Referenced variable "qrp" is newtonian damping term --> 
     110     <field field_ref="qrp"           name="hfcorr"      long_name="heat_flux_correction" standard_name="heat_flux_correction"                   level="1" /> 
    105111   </file>    
    106112   <!-- 
     
    108114   --> 
    109115   <file id="file6" name_suffix="_grid_U_table2.3" > 
    110      <field field_ref="uoce"         name="uo"      long_name="sea_water_x_velocity"                                       /> 
    111      <field field_ref="u_masstr"     name="umo"     long_name="ocean_mass_x_transport"                           level="1" /> 
    112      <field field_ref="u_heattr"     name="hfx"     long_name="ocean_heat_x_transport"                           level="1" /> 
    113      <field field_ref="ueiv_heattr"  name="hfxba"   long_name="ocean_heat_x_transport_due_to_bolus_advection"    level="2" /> 
    114      <field field_ref="udiff_heattr" name="hfxdiff" long_name="ocean_heat_x_transport_due_to_diffusion"          level="2" /> 
     116     <field field_ref="uoce"         name="uo"      long_name="sea_water_x_velocity" /> 
     117     <field field_ref="u_masstr"     name="umo"     long_name="ocean_mass_x_transport"                        level="1" /> 
     118     <field field_ref="u_heattr"     name="hfx"     long_name="ocean_heat_x_transport"                        level="1" /> 
     119     <field field_ref="ueiv_heattr"  name="hfxba"   long_name="ocean_heat_x_transport_due_to_bolus_advection" level="2" /> 
     120     <field field_ref="udiff_heattr" name="hfxdiff" long_name="ocean_heat_x_transport_due_to_diffusion"       level="2" /> 
    115121   </file>    
    116122    
    117123   <file id="file7" name_suffix="_grid_U_table2.8" > 
    118      <field field_ref="utau"         name="tauuo" long_name="surface_downward_x_stress"                          level="1" /> 
     124     <field field_ref="utau"         name="tauuo"   long_name="surface_downward_x_stress"                     level="1" /> 
    119125     <!-- tauucorr : surface_downward_x_stress_correction = 0 --> 
    120126   </file>    
     
    123129   --> 
    124130   <file id="file8" name_suffix="_grid_V_table2.3" > 
    125      <field field_ref="voce"         name="vo"      long_name="sea_water_y_velocity"                                       /> 
    126      <field field_ref="v_masstr"     name="vmo"     long_name="ocean_mass_y_transport"                           level="1" /> 
    127      <field field_ref="v_heattr"     name="hfy"     long_name="ocean_heat_y_transport"                           level="1" /> 
    128      <field field_ref="veiv_heattr"  name="hfyba"   long_name="ocean_heat_y_transport_due_to_bolus_advection"    level="2" /> 
    129      <field field_ref="vdiff_heattr" name="hfydiff" long_name="ocean_heat_y_transport_due_to_diffusion"          level="2" /> 
     131     <field field_ref="voce"         name="vo"      long_name="sea_water_y_velocity" /> 
     132     <field field_ref="v_masstr"     name="vmo"     long_name="ocean_mass_y_transport"                        level="1" /> 
     133     <field field_ref="v_heattr"     name="hfy"     long_name="ocean_heat_y_transport"                        level="1" /> 
     134     <field field_ref="veiv_heattr"  name="hfyba"   long_name="ocean_heat_y_transport_due_to_bolus_advection" level="2" /> 
     135     <field field_ref="vdiff_heattr" name="hfydiff" long_name="ocean_heat_y_transport_due_to_diffusion"       level="2" /> 
    130136   </file>    
    131137    
    132138   <file id="file9" name_suffix="_grid_V_table2.8" > 
    133      <field field_ref="vtau"         name="tauvo" long_name="surface_downward_y_stress"                          level="1" /> 
     139     <field field_ref="vtau"         name="tauvo"   long_name="surface_downward_y_stress"                     level="1" /> 
    134140     <!-- tauvcorr : surface_downward_y_stress_correction = 0 --> 
    135141   </file>    
     
    138144   --> 
    139145   <file id="file10" name_suffix="_grid_W_table2.3" > 
    140      <field field_ref="w_masstr"   name="wmo"   long_name="upward_ocean_mass_transport"                                    /> 
    141      <field field_ref="w_masstr2"  name="wmosq" long_name="square_pf_upward_ocean_mass_transport"                          /> 
     146     <field field_ref="w_masstr"   name="wmo"   long_name="upward_ocean_mass_transport"           /> 
     147     <field field_ref="w_masstr2"  name="wmosq" long_name="square_pf_upward_ocean_mass_transport" /> 
    142148   </file>    
    143149    
    144150   <file id="file11" name_suffix="_grid_W_table2.9" > 
    145      <field field_ref="avt"     name="difvho"   long_name="ocean_vertical_heat_diffusivity"                  level="2" /> 
    146      <field field_ref="avs"     name="difvso"   long_name="ocean_vertical_salt_diffusivity"                  level="2" /> 
     151     <field field_ref="avt"     name="difvho"   long_name="ocean_vertical_heat_diffusivity"                level="2" /> 
     152     <field field_ref="avs"     name="difvso"   long_name="ocean_vertical_salt_diffusivity"                level="2" /> 
    147153     <!-- difvtrbo : ocean_vertical_tracer_diffusivity_due_to_background : cte with time, see namelist parameters nn_avb and  nn_havtb --> 
    148      <field field_ref="av_tide" name="difvtrto" long_name="ocean_vertical_tracer_diffusivity_due_to_tides"   level="2" /> 
     154     <field field_ref="av_tide" name="difvtrto" long_name="ocean_vertical_tracer_diffusivity_due_to_tides" level="2" /> 
    149155     <!-- tnpeo     : tendency_of_ocean_potential_energy_content                   : not available --> 
    150156     <!-- tnpeot    : tendency_of_ocean_potential_energy_content_due_to_tides      : not available --> 
    151157     <!-- tnpeotb   : tendency_of_ocean_potential_energy_content_due_to_background : not available --> 
    152      <field field_ref="avm"     name="difvmo"   long_name="ocean_vertical_momentum_diffusivity"              level="2" /> 
     158     <field field_ref="avm"     name="difvmo"   long_name="ocean_vertical_momentum_diffusivity"            level="2" /> 
    153159     <!-- difvmbo : ocean_vertical_momentum_diffusivity_due_to_background : cte with time, see namelist parameters nn_avb --> 
    154      <field field_ref="av_tide" name="difvmto"  long_name="ocean_vertical_momentum_diffusivity_due_to_tides" level="2" /> <!-- same as tracer --> 
     160     <field field_ref="av_tide" name="difvmto"  long_name="ocean_vertical_momentum_diffusivity_due_to_tides" standard_name="ocean_vertical_momentum_diffusivity_due_to_tides" level="2" /> <!-- same as tracer --> 
    155161     <!-- difvmfdo : ocean_vertical_momentum_diffusivity_due_to_form_drag : ??? --> 
    156162     <!-- dispkevfo : ocean_kinetic_energy_dissipation_per_unit_area_due_to_vertical_friction : not available --> 
     
    159165   <file id="file12" name_suffix="_grid_W_table2.10" > 
    160166     <!-- if ln_traldf_lap    =  .true. --> 
    161      <field field_ref="aht2d_eiv" name="diftrblo" long_name="ocean_tracer_bolus_laplacian_diffusivity"                     level="2" /> 
     167     <field field_ref="aht2d_eiv" name="diftrblo" long_name="ocean_tracer_bolus_laplacian_diffusivity" level="2" /> 
    162168     <!-- diftrelo : ocean_tracer_epineutral_laplacian_diffusivity : cte with time, see ln_traldf_iso --> 
    163169     <!-- diftrxylo : ocean_tracer_xy_laplacian_diffusivity : cte with time --> 
     
    175181   --> 
    176182   <file id="file13" name_suffix="_scalar_table2.2" >         <!-- scalar --> 
    177      <field field_ref="masstot"    name="masso"    long_name="sea_water_mass"                                /> 
    178      <field field_ref="voltot"     name="volo"     long_name="sea_water_volume"                              /> 
    179      <field field_ref="sshtot"     name="zosga"    long_name="global_average_sea_level_change"               /> 
    180      <field field_ref="sshsteric"  name="zossga"   long_name="global_average_steric_sea_level_change"        /> 
    181      <field field_ref="sshthster"  name="zostoga"  long_name="global_average_thermosteric_sea_level_change"  /> 
    182      <field field_ref="temptot"    name="thetaoga" long_name="sea_water_potential_temperature"               /> 
    183      <field field_ref="saltot"     name="soga"     long_name="sea_water_salinity"                            /> 
     183     <field field_ref="masstot"    name="masso"    long_name="sea_water_mass"                               /> 
     184     <field field_ref="voltot"     name="volo"     long_name="sea_water_volume"                             /> 
     185     <field field_ref="sshtot"     name="zosga"    long_name="global_average_sea_level_change"              /> 
     186     <field field_ref="sshsteric"  name="zossga"   long_name="global_average_steric_sea_level_change"       /> 
     187     <field field_ref="sshthster"  name="zostoga"  long_name="global_average_thermosteric_sea_level_change" /> 
     188     <field field_ref="temptot"    name="thetaoga" long_name="sea_water_potential_temperature"              /> 
     189     <field field_ref="saltot"     name="soga"     long_name="sea_water_salinity"                           /> 
    184190   </file>    
    185191   <!-- 
     
    187193   --> 
    188194   <file id="file14" name_suffix="_icemod_table2.2" >         <!-- scalar --> 
    189      <field field_ref="ice_pres"                     /> 
    190      <field field_ref="ice_cover"    name="sic"        long_name="sea_ice_area_fraction"                            /> 
    191      <field field_ref="icethic_cea"  name="sit"        long_name="sea_ice_thickness"                                /> 
    192      <field field_ref="subl_ai_cea"  name="evap"       long_name="water_evaporation_flux"                           /> 
    193      <field field_ref="snowthic_cea" name="snd"        long_name="surface_snow_thickness"                           /> 
     195     <field field_ref="ice_pres" /> 
     196     <field field_ref="ice_cover"    name="sic"       long_name="sea_ice_area_fraction"                                           /> 
     197     <field field_ref="icethic_cea"  name="sit"       long_name="sea_ice_thickness"                                               /> 
     198     <field field_ref="subl_ai_cea"  name="evap"      long_name="water_evaporation_flux" standard_name="water_evaporation_flux"   /> 
     199     <field field_ref="snowthic_cea" name="snd"       long_name="surface_snow_thickness"                                          /> 
    194200     <!-- snc : surface_snow_area_fraction : same as sic --> 
    195      <field field_ref="icealb_cea"   name="ialb"       long_name="Bare Sea Ice Albedo"                              /> 
     201     <field field_ref="icealb_cea"   name="ialb"      long_name="Bare Sea Ice Albedo"                                             /> 
    196202     <!-- ssi : Sea Ice Salinity : cte = sice = 6, expect in baltic sea = 2 --> 
    197      <field field_ref="ist_cea"      name="tsice"      long_name="Surface Temperature of Sea Ice"                   /> 
     203     <field field_ref="ist_cea"      name="tsice"     long_name="Surface Temperature of Sea Ice"                                  /> 
    198204     <!-- tsnint : Temperature at Interface Between Sea Ice and Snow : not available --> 
    199205     <!-- pr : Surface Rainfall Rate into the Sea Ice Portion of the Grid Cell = 0 --> 
    200      <field field_ref="snow_ai_cea"  name="prsn"       long_name="Surface Snowfall Rate into the Sea Ice Portion of the Grid Cell" /> 
     206     <field field_ref="snow_ai_cea"  name="prsn"      long_name="Surface Snowfall Rate into the Sea Ice Portion of the Grid Cell" /> 
    201207     <!-- ageice   : Age of Sea Ice : not available ??? --> 
    202208     <!-- grFrazil : Frazil Sea Ice Growth (Leads) Rate ??? --> 
    203209     <!-- grCongel : Congelation Sea Ice Growth Rate ??? --> 
    204      <field field_ref="licepro_cea"  name="grLateral"  long_name="Lateral Sea Ice Growth Rate"                      /> 
    205      <field field_ref="sntoice_cea"  name="snoToIce"   long_name="Snow-Ice Formation Rate"                          /> 
    206      <field field_ref="snowmel_cea"  name="snomelt"    long_name="Snow Melt Rate"                                   /> 
    207      <field field_ref="ticemel_cea"  name="tmelt"      long_name="Rate of Melt at Upper Surface of Sea Ice"         /> 
    208      <field field_ref="bicemel_cea"  name="bmelt"      long_name="Rate of Melt at Sea Ice Base"                     /> 
     210     <field field_ref="licepro_cea"  name="grLateral" long_name="Lateral Sea Ice Growth Rate"                                     /> 
     211     <field field_ref="sntoice_cea"  name="snoToIce"  long_name="Snow-Ice Formation Rate"                                         /> 
     212     <field field_ref="snowmel_cea"  name="snomelt"   long_name="Snow Melt Rate"                                                  /> 
     213     <field field_ref="ticemel_cea"  name="tmelt"     long_name="Rate of Melt at Upper Surface of Sea Ice"                        /> 
     214     <field field_ref="bicemel_cea"  name="bmelt"     long_name="Rate of Melt at Sea Ice Base"                                    /> 
    209215     <!-- hcice  : Sea Ice Total Heat Content ??? --> 
    210      <field field_ref="qsr_ai_cea"   name="rsdssi"     long_name="surface_downwelling_shortwave_flux_in_air"        /> 
     216     <field field_ref="qsr_ai_cea"   name="rsdssi"    long_name="surface_downwelling_shortwave_flux_in_air"                       /> 
    211217     <!-- rsussi : surface_upwelling_shortwave_flux_in_air ??? --> 
    212218     <!-- rldssi : surface_downwelling_longwave_flux_in_air ??? --> 
     
    214220     <!-- hfssi  : surface_upward_sensible_heat_flux ??? --> 
    215221     <!-- hflssi : surface_upward_latent_heat_flux ??? --> 
    216      <field field_ref="subl_ai_cea"  name="sblsi"      long_name="surface_snow_and_ice_sublimation_flux"             /> 
    217      <field field_ref="u_imasstr"    name="transix"    long_name="Eastward Sea Ice Transport"                        /> 
    218      <field field_ref="v_imasstr"    name="transiy"    long_name="Northward Sea Ice Transport"                       /> 
    219      <field field_ref="fram_trans"   name="transifs"   long_name="Sea Ice Mass Transport Through Fram Strait"        /> 
    220      <field field_ref="utau_ice"     name="strairx"    long_name="Eastward Atmospheric Stress On Sea Ice"            /> 
    221      <field field_ref="vtau_ice"     name="strairy"    long_name="Northward Atmospheric Stress On Sea Ice"           /> 
     222     <field field_ref="subl_ai_cea"  name="sblsi"     long_name="surface_snow_and_ice_sublimation_flux"                           /> 
     223     <field field_ref="u_imasstr"    name="transix"   long_name="Eastward Sea Ice Transport"                                      /> 
     224     <field field_ref="v_imasstr"    name="transiy"   long_name="Northward Sea Ice Transport"                                     /> 
     225     <field field_ref="fram_trans"   name="transifs"  long_name="Sea Ice Mass Transport Through Fram Strait"                      /> 
     226     <field field_ref="utau_ice"     name="strairx"   long_name="Eastward Atmospheric Stress On Sea Ice"                          /> 
     227     <field field_ref="vtau_ice"     name="strairy"   long_name="Northward Atmospheric Stress On Sea Ice"                         /> 
    222228     <!-- strocnx : Eastward Ocean Stress On Sea Ice ??? --> 
    223229     <!-- strocny : Northward Ocean Stress On Sea Ice ??? --> 
     
    243249 
    244250   <axis_definition>   
    245       <axis id="deptht" long_name="Vertical T levels" unit="m" positive="down" /> 
    246       <axis id="depthu" long_name="Vertical U levels" unit="m" positive="down" /> 
    247       <axis id="depthv" long_name="Vertical V levels" unit="m" positive="down" /> 
    248       <axis id="depthw" long_name="Vertical W levels" unit="m" positive="down" /> 
    249       <axis id="nfloat" long_name="Float number"      unit="-"  /> 
    250       <axis id="icbcla" long_name="Iceberg class"     unit="-"  /> 
    251    </axis_definition>  
     251      <axis id="deptht"  long_name="Vertical T levels"  unit="m" positive="down" /> 
     252      <axis id="depthu"  long_name="Vertical U levels"  unit="m" positive="down" /> 
     253      <axis id="depthv"  long_name="Vertical V levels"  unit="m" positive="down" /> 
     254      <axis id="depthw"  long_name="Vertical W levels"  unit="m" positive="down" /> 
     255      <axis id="nfloat"  long_name="Float number"       unit="1"                 /> 
     256      <axis id="icbcla"  long_name="Iceberg class"      unit="1"                 /> 
     257      <axis id="ncatice" long_name="Ice category"       unit="1"                 /> 
     258      <axis id="iax_20C" long_name="20 degC isotherm"   unit="degC"              /> 
     259      <axis id="iax_28C" long_name="28 degC isotherm"   unit="degC"              /> 
     260   </axis_definition> 
    252261     
    253262   <domain_definition src="./domain_def.xml"/> 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/CONFIG/ORCA2_LIM/EXP00/iodef_crs.xml

    r5107 r5382  
    3434 
    3535   <file id="file1" name_suffix="_grid_T" description="ocean T grid variables" > 
    36      <field field_ref="sst"          name="tos"      long_name="sea_surface_temperature"                       /> 
    37      <field field_ref="sss"          name="sos"      long_name="sea_surface_salinity"                          /> 
    38      <field field_ref="ssh"          name="zos"      long_name="sea_surface_height_above_geoid"                /> 
     36     <field field_ref="sst"          name="tos" /> 
     37     <field field_ref="sss"          name="sos" /> 
     38     <field field_ref="ssh"          name="zos" /> 
    3939   </file> 
    4040 
    4141   <file id="file2" name_suffix="_grid_U" description="ocean U grid variables" > 
    42      <field field_ref="ssu"          name="uos"     long_name="sea_surface_x_velocity"    /> 
     42     <field field_ref="ssu"          name="uos" /> 
    4343   </file> 
    4444    
    4545   <file id="file3" name_suffix="_grid_V" description="ocean V grid variables" > 
    46      <field field_ref="ssv"          name="vos"     long_name="sea_surface_y_velocity"    /> 
     46     <field field_ref="ssv"          name="vos" /> 
    4747   </file> 
    4848    
     
    5454 
    5555   <file id="file4" name_suffix="_grid_T" description="ocean T grid variables" > 
    56      <field field_ref="toce"         name="thetao"   long_name="sea_water_potential_temperature"               /> 
    57      <field field_ref="soce"         name="so"       long_name="sea_water_salinity"                            /> 
    58      <field field_ref="sst"          name="tos"      long_name="sea_surface_temperature"                       /> 
    59      <field field_ref="sst2"         name="tossq"    long_name="square_of_sea_surface_temperature"             /> 
    60      <field field_ref="sss"          name="sos"      long_name="sea_surface_salinity"                          /> 
    61      <field field_ref="ssh"          name="zos"      long_name="sea_surface_height_above_geoid"                /> 
    62      <field field_ref="ssh2"         name="zossq"    long_name="square_of_sea_surface_height_above_geoid"      /> 
    63      <field field_ref="empmr"        name="wfo"      long_name="water_flux_into_sea_water"                     /> 
    64      <field field_ref="qsr"          name="rsntds"   long_name="surface_net_downward_shortwave_flux"           /> 
    65      <field field_ref="qt"           name="tohfls"   long_name="surface_net_downward_total_heat_flux"          /> 
    66      <field field_ref="taum"         /> 
    67      <field field_ref="mldkz5"       /> 
    68      <field field_ref="mldr10_1"     /> 
     56     <field field_ref="toce"         name="thetao" /> 
     57     <field field_ref="soce"         name="so"     /> 
     58     <field field_ref="sst"          name="tos"    /> 
     59     <field field_ref="sst2"         name="tossq"  /> 
     60     <field field_ref="sss"          name="sos"    /> 
     61     <field field_ref="ssh"          name="zos"    /> 
     62     <field field_ref="ssh2"         name="zossq"  /> 
     63     <field field_ref="empmr"        name="wfo"    /> 
     64     <field field_ref="qsr"          name="rsntds" /> 
     65     <field field_ref="qt"           name="tohfls" /> 
     66     <field field_ref="taum"     /> 
     67     <field field_ref="mldkz5"   /> 
     68     <field field_ref="mldr10_1" /> 
    6969   </file> 
    7070    
    7171   <file id="file5" name_suffix="_grid_U" description="ocean U grid variables" > 
    72      <field field_ref="uoce"         name="uo"      long_name="sea_water_x_velocity"      /> 
    73      <field field_ref="ssu"          name="uos"     long_name="sea_surface_x_velocity"    /> 
    74      <field field_ref="utau"         name="tauuo"   long_name="surface_downward_x_stress" /> 
     72     <field field_ref="uoce"         name="uo"    /> 
     73     <field field_ref="ssu"          name="uos"   /> 
     74     <field field_ref="utau"         name="tauuo" /> 
    7575   </file> 
    7676    
    7777   <file id="file6" name_suffix="_grid_V" description="ocean V grid variables" > 
    78      <field field_ref="voce"         name="vo"      long_name="sea_water_y_velocity"      /> 
    79      <field field_ref="ssv"          name="vos"     long_name="sea_surface_y_velocity"    /> 
    80      <field field_ref="vtau"         name="tauvo"   long_name="surface_downward_y_stress" /> 
     78     <field field_ref="voce"         name="vo"    /> 
     79     <field field_ref="ssv"          name="vos"   /> 
     80     <field field_ref="vtau"         name="tauvo" /> 
    8181   </file> 
    8282    
    8383   <file id="file7" name_suffix="_grid_W" description="ocean W grid variables" > 
    84      <field field_ref="woce"         name="wo"      long_name="ocean vertical velocity"         /> 
    85      <field field_ref="avt"          name="difvho"  long_name="ocean_vertical_heat_diffusivity" /> 
     84     <field field_ref="woce"         name="wo"     /> 
     85     <field field_ref="avt"          name="difvho" /> 
    8686   </file> 
    8787    
    8888   <file id="file8" name_suffix="_icemod" description="ice variables" > 
    89      <field field_ref="ice_pres"                     /> 
    90      <field field_ref="snowthic_cea" name="snd"     long_name="surface_snow_thickness"   /> 
    91      <field field_ref="icethic_cea"  name="sit"     long_name="sea_ice_thickness"        /> 
    92      <field field_ref="iceprod_cea"  name="sip"     long_name="sea_ice_thickness"        /> 
    93      <field field_ref="ist_ipa"      /> 
    94      <field field_ref="ioceflxb"     /> 
    95      <field field_ref="uice_ipa"     /> 
    96      <field field_ref="vice_ipa"     /> 
    97      <field field_ref="utau_ice"     /> 
    98      <field field_ref="vtau_ice"     /> 
    99      <field field_ref="qsr_io_cea"   /> 
    100      <field field_ref="qns_io_cea"   /> 
    101      <field field_ref="snowpre"      /> 
     89     <field field_ref="ice_pres"   /> 
     90     <field field_ref="snowthic_cea" name="snd" /> 
     91     <field field_ref="icethic_cea"  name="sit" /> 
     92     <field field_ref="iceprod_cea"  name="sip" /> 
     93     <field field_ref="ist_ipa"    /> 
     94     <field field_ref="ioceflxb"   /> 
     95     <field field_ref="uice_ipa"   /> 
     96     <field field_ref="vice_ipa"   /> 
     97     <field field_ref="utau_ice"   /> 
     98     <field field_ref="vtau_ice"   /> 
     99     <field field_ref="qsr_io_cea" /> 
     100     <field field_ref="qns_io_cea" /> 
     101     <field field_ref="snowpre"    /> 
    102102   </file> 
    103103    
     
    124124     
    125125   <axis_definition>   
    126       <axis id="deptht" long_name="Vertical T levels" unit="m" positive="down" /> 
    127       <axis id="depthu" long_name="Vertical U levels" unit="m" positive="down" /> 
    128       <axis id="depthv" long_name="Vertical V levels" unit="m" positive="down" /> 
    129       <axis id="depthw" long_name="Vertical W levels" unit="m" positive="down" /> 
    130       <axis id="nfloat" long_name="Float number"      unit="-"  /> 
     126      <axis id="deptht"  long_name="Vertical T levels" unit="m" positive="down" /> 
     127      <axis id="depthu"  long_name="Vertical U levels" unit="m" positive="down" /> 
     128      <axis id="depthv"  long_name="Vertical V levels" unit="m" positive="down" /> 
     129      <axis id="depthw"  long_name="Vertical W levels" unit="m" positive="down" /> 
     130      <axis id="nfloat"  long_name="Float number"      unit="1"                 /> 
     131      <axis id="icbcla"  long_name="Iceberg class"     unit="1"                 /> 
     132      <axis id="ncatice" long_name="Ice category"      unit="1"                 /> 
     133      <axis id="iax_20C" long_name="20 degC isotherm"  unit="degC"              /> 
     134      <axis id="iax_28C" long_name="28 degC isotherm"  unit="degC"              /> 
    131135   </axis_definition>  
    132136     
     
    169173 
    170174   <file id="file1" name_suffix="_gcrs_T" description="ocean T grid variables" > 
    171      <field field_ref="sst"          name="tos"      long_name="sea_surface_temperature"                       /> 
    172      <field field_ref="sss"          name="sos"      long_name="sea_surface_salinity"                          /> 
    173      <field field_ref="ssh"          name="zos"      long_name="sea_surface_height_above_geoid"                /> 
     175     <field field_ref="sst"          name="tos" /> 
     176     <field field_ref="sss"          name="sos" /> 
     177     <field field_ref="ssh"          name="zos" /> 
    174178   </file> 
    175179 
    176180   <file id="file2" name_suffix="_gcrs_U" description="ocean U grid variables" > 
    177      <field field_ref="uoce"         name="uo"      long_name="sea_water_x_velocity"      /> 
     181     <field field_ref="uoce"         name="uo" /> 
    178182   </file> 
    179183    
    180184   <file id="file3" name_suffix="_gcrs_V" description="ocean V grid variables" > 
    181      <field field_ref="voce"         name="vo"      long_name="sea_water_y_velocity"      /> 
     185     <field field_ref="voce"         name="vo" /> 
    182186   </file> 
    183187    
     
    187191 
    188192   <file id="file4" name_suffix="_gcrs_T" description="ocean T grid variables" > 
    189      <field field_ref="toce"         name="thetao"   long_name="sea_water_potential_temperature"               /> 
    190      <field field_ref="soce"         name="so"       long_name="sea_water_salinity"                            /> 
    191      <field field_ref="sst"          name="tos"      long_name="sea_surface_temperature"                       /> 
    192      <field field_ref="sss"          name="sos"      long_name="sea_surface_salinity"                          /> 
    193      <field field_ref="ssh"          name="zos"      long_name="sea_surface_height_above_geoid"                /> 
    194           <field field_ref="eken"         name="eke"      long_name="Kinetic energy"/> 
     193     <field field_ref="toce"         name="thetao" /> 
     194     <field field_ref="soce"         name="so"     /> 
     195     <field field_ref="sst"          name="tos"    /> 
     196     <field field_ref="sss"          name="sos"    /> 
     197     <field field_ref="ssh"          name="zos"    /> 
     198      <field field_ref="eken"         name="eke"    /> 
    195199   </file> 
    196200    
    197201   <file id="file5" name_suffix="_gcrs_U" description="ocean U grid variables" > 
    198      <field field_ref="uoce"         name="uo"      long_name="sea_water_x_velocity"      /> 
    199      <field field_ref="uocet"         /> 
    200      <field field_ref="uoces"         /> 
     202     <field field_ref="uoce"         name="uo" /> 
     203     <field field_ref="uocet" /> 
     204     <field field_ref="uoces" /> 
    201205   </file> 
    202206    
    203207   <file id="file6" name_suffix="_gcrs_V" description="ocean V grid variables" > 
    204      <field field_ref="voce"         name="vo"      long_name="sea_water_y_velocity"      /> 
    205      <field field_ref="vocet"         /> 
    206      <field field_ref="voces"         /> 
     208     <field field_ref="voce"         name="vo" /> 
     209     <field field_ref="vocet" /> 
     210     <field field_ref="voces" /> 
    207211   </file> 
    208212    
    209213   <file id="file7" name_suffix="_gcrs_W" description="ocean W grid variables" > 
    210      <field field_ref="woce"         name="wo"      long_name="ocean vertical velocity"         /> 
     214     <field field_ref="woce"         name="wo" /> 
    211215   </file> 
    212216 
     
    233237     
    234238   <axis_definition>   
    235       <axis id="deptht" long_name="Vertical T levels" unit="m" positive="down" /> 
    236       <axis id="depthu" long_name="Vertical U levels" unit="m" positive="down" /> 
    237       <axis id="depthv" long_name="Vertical V levels" unit="m" positive="down" /> 
    238       <axis id="depthw" long_name="Vertical W levels" unit="m" positive="down" /> 
    239    </axis_definition>  
     239      <axis id="deptht"  long_name="Vertical T levels"  unit="m" positive="down" /> 
     240      <axis id="depthu"  long_name="Vertical U levels"  unit="m" positive="down" /> 
     241      <axis id="depthv"  long_name="Vertical V levels"  unit="m" positive="down" /> 
     242      <axis id="depthw"  long_name="Vertical W levels"  unit="m" positive="down" /> 
     243      <axis id="nfloat"  long_name="Float number"       unit="1"                 /> 
     244      <axis id="icbcla"  long_name="Iceberg class"      unit="1"                 /> 
     245      <axis id="ncatice" long_name="Ice category"       unit="1"                 /> 
     246      <axis id="iax_20C" long_name="20 degC isotherm"   unit="degC"              /> 
     247      <axis id="iax_28C" long_name="28 degC isotherm"   unit="degC"              /> 
     248   </axis_definition> 
    240249     
    241250   <domain_definition src="./domain_def.xml"/> 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/CONFIG/ORCA2_LIM/EXP00/iodef_demo.xml

    r4153 r5382  
    7878     
    7979   <axis_definition>   
    80      <axis_group id="deptht" long_name="Vertical T levels" unit="m" positive="down" > 
    81        <axis id="deptht" /> 
    82        <axis id="deptht_myzoom" zoom_begin="1" zoom_end="10" /> 
    83      </axis_group> 
    84       <axis id="depthu" long_name="Vertical U levels" unit="m" positive="down" /> 
    85       <axis id="depthv" long_name="Vertical V levels" unit="m" positive="down" /> 
    86       <axis id="depthw" long_name="Vertical W levels" unit="m" positive="down" /> 
    87       <axis id="nfloat" long_name="Float number"      unit="-"  /> 
    88       <axis id="icbcla" long_name="Iceberg class"     unit="-"  /> 
     80      <axis id="deptht"  long_name="Vertical T levels"  unit="m" positive="down" /> 
     81      <axis id="deptht_myzoom" zoom_begin="1" zoom_end="10   " axis_ref="deptht" /> 
     82      <axis id="depthu"  long_name="Vertical U levels"  unit="m" positive="down" /> 
     83      <axis id="depthv"  long_name="Vertical V levels"  unit="m" positive="down" /> 
     84      <axis id="depthw"  long_name="Vertical W levels"  unit="m" positive="down" /> 
     85      <axis id="nfloat"  long_name="Float number"       unit="1"                 /> 
     86      <axis id="icbcla"  long_name="Iceberg class"      unit="1"                 /> 
     87      <axis id="ncatice" long_name="Ice category"       unit="1"                 /> 
     88      <axis id="iax_20C" long_name="20 degC isotherm"   unit="degC"              /> 
     89      <axis id="iax_28C" long_name="28 degC isotherm"   unit="degC"              /> 
    8990   </axis_definition>  
    9091     
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/CONFIG/ORCA2_LIM/EXP00/iodef_oldstyle.xml

    r4153 r5382  
    111111     
    112112   <axis_definition>   
    113       <axis id="deptht" long_name="Vertical T levels" unit="m" positive="down" /> 
    114       <axis id="depthu" long_name="Vertical U levels" unit="m" positive="down" /> 
    115       <axis id="depthv" long_name="Vertical V levels" unit="m" positive="down" /> 
    116       <axis id="depthw" long_name="Vertical W levels" unit="m" positive="down" /> 
    117       <axis id="nfloat" long_name="Float number"      unit="-"  /> 
    118       <axis id="icbcla" long_name="Iceberg class"     unit="-"  /> 
    119    </axis_definition>  
     113      <axis id="deptht"  long_name="Vertical T levels"  unit="m" positive="down" /> 
     114      <axis id="depthu"  long_name="Vertical U levels"  unit="m" positive="down" /> 
     115      <axis id="depthv"  long_name="Vertical V levels"  unit="m" positive="down" /> 
     116      <axis id="depthw"  long_name="Vertical W levels"  unit="m" positive="down" /> 
     117      <axis id="nfloat"  long_name="Float number"       unit="1"                 /> 
     118      <axis id="icbcla"  long_name="Iceberg class"      unit="1"                 /> 
     119      <axis id="ncatice" long_name="Ice category"       unit="1"                 /> 
     120      <axis id="iax_20C" long_name="20 degC isotherm"   unit="degC"              /> 
     121      <axis id="iax_28C" long_name="28 degC isotherm"   unit="degC"              /> 
     122   </axis_definition> 
    120123     
    121124   <domain_definition src="./domain_def.xml"/> 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/CONFIG/ORCA2_LIM3/EXP00/iodef.xml

    r5353 r5382  
    4242    
    4343   <file id="file1" name_suffix="_grid_T" description="ocean T grid variables" > 
    44      <field field_ref="e3t"  /> 
    45      <field field_ref="toce"         name="thetao"   long_name="sea_water_potential_temperature"                    operation="instant" freq_op="5d" > @toce_e3t / @e3t </field> 
    46      <field field_ref="soce"         name="so"       long_name="sea_water_salinity"                                 operation="instant" freq_op="5d" > @soce_e3t / @e3t </field> 
    47      <field field_ref="sst"          name="tos"      long_name="sea_surface_temperature"                       /> 
    48      <field field_ref="sss"          name="sos"      long_name="sea_surface_salinity"                          /> 
    49      <field field_ref="ssh"          name="zos"      long_name="sea_surface_height_above_geoid"                /> 
    50      <field field_ref="sst"          name="tosstd"   long_name="sea_surface_temperature_standard_deviation"         operation="instant" freq_op="5d" > sqrt( @sst2 - @sst * @sst ) </field> 
    51      <field field_ref="ssh"          name="zosstd"   long_name="sea_surface_height_above_geoid_standard_deviation"  operation="instant" freq_op="5d" > sqrt( @ssh2 - @ssh * @ssh ) </field> 
    52      <field field_ref="sst"          name="sstdcy"   long_name="amplitude of sst diurnal cycle" operation="average" freq_op="1d" > @sstmax - @sstmin </field> 
    53      <field field_ref="mldkz5"       /> 
    54      <field field_ref="mldr10_1"     /> 
    55      <field field_ref="mldr10_1"     name="mldr10_1dcy"  long_name="amplitude of mldr10_1 diurnal cycle" operation="average" freq_op="1d" > @mldr10_1max - @mldr10_1min </field> 
    56      <field field_ref="sbt"                          /> 
    57      <field field_ref="heatc"        name="heatc"    long_name="Heat content vertically integrated"            /> 
    58      <field field_ref="saltc"        name="saltc"    long_name="Salt content vertically integrated"            /> 
     44     <field field_ref="e3t"      /> 
     45     <field field_ref="toce"         name="thetao"                                                                      operation="instant" freq_op="5d" > @toce_e3t / @e3t </field> 
     46     <field field_ref="soce"         name="so"                                                                          operation="instant" freq_op="5d" > @soce_e3t / @e3t </field> 
     47     <field field_ref="sst"          name="tos"   /> 
     48     <field field_ref="sss"          name="sos"   /> 
     49     <field field_ref="ssh"          name="zos"   /> 
     50     <field field_ref="sst"          name="tosstd"       long_name="sea surface temperature standard deviation"         operation="instant" freq_op="5d" > sqrt( @sst2 - @sst * @sst ) </field> 
     51     <field field_ref="ssh"          name="zosstd"       long_name="sea surface height above geoid standard deviation"  operation="instant" freq_op="5d" > sqrt( @ssh2 - @ssh * @ssh ) </field> 
     52     <field field_ref="sst"          name="sstdcy"       long_name="amplitude of sst diurnal cycle"                    operation="average" freq_op="1d" > @sstmax - @sstmin </field> 
     53     <field field_ref="mldkz5"   /> 
     54     <field field_ref="mldr10_1" /> 
     55     <field field_ref="mldr10_1"     name="mldr10_1dcy"  long_name="amplitude of mldr10_1 diurnal cycle"                operation="average" freq_op="1d" > @mldr10_1max - @mldr10_1min </field> 
     56     <field field_ref="sbt"      /> 
     57     <field field_ref="heatc"        name="heatc" /> 
     58     <field field_ref="saltc"        name="saltc" /> 
    5959   </file> 
    6060 
    6161   <file id="file2" name_suffix="_SBC" description="surface fluxes variables" > <!-- time step automaticaly defined based on nn_fsbc --> 
    62      <field field_ref="empmr"        name="wfo"      long_name="water_flux_into_sea_water"                     /> 
    63      <field field_ref="qsr_oce"      name="qsr_oce"  long_name="downward shortwave flux at ocean surface"           /> 
    64      <field field_ref="qns_oce"      name="qns_oce"  long_name="downward non solar flux at ocean surface"           /> 
    65      <field field_ref="qt_oce"       name="qt_oce"   long_name="downward total flux at ocean surface"           /> 
    66      <field field_ref="qsr_ice"      name="qsr_ice"  long_name="downward shortwave flux at ice surface"           /> 
    67      <field field_ref="qns_ice"      name="qns_ice"  long_name="downward non solar flux at ice surface"           /> 
    68      <field field_ref="qtr_ice"      name="qtr_ice"  long_name="shortwave flux transmitted thru the ice"           /> 
    69      <field field_ref="qt_ice"       name="qt_ice"   long_name="downward total flux at ice surface"           /> 
    70      <field field_ref="saltflx"      name="sfx"  /> 
    71      <field field_ref="taum"         name="taum" /> 
    72      <field field_ref="wspd"         name="windsp"  /> 
    73      <field field_ref="precip"       name="precip" /> 
     62     <field field_ref="empmr"        name="wfo"      /> 
     63     <field field_ref="qsr_oce"      name="qsr_oce"  /> 
     64     <field field_ref="qns_oce"      name="qns_oce"  /> 
     65     <field field_ref="qt_oce"       name="qt_oce"   /> 
     66     <field field_ref="qsr_ice"      name="qsr_ice"  /> 
     67     <field field_ref="qns_ice"      name="qns_ice"  /> 
     68     <field field_ref="qtr_ice"      name="qtr_ice"  /> 
     69     <field field_ref="qt_ice"       name="qt_ice"   /> 
     70     <field field_ref="saltflx"      name="sfx"      /> 
     71     <field field_ref="taum"         name="taum"     /> 
     72     <field field_ref="wspd"         name="windsp"   /> 
     73     <field field_ref="precip"       name="precip"   /> 
    7474     <!-- ice and snow --> 
    75      <field field_ref="snowpre"      /> 
    76      <field field_ref="utau_ice"         name="utau_ice" /> 
    77      <field field_ref="vtau_ice"         name="vtau_ice" /> 
     75     <field field_ref="snowpre" /> 
     76     <field field_ref="utau_ice"     name="utau_ice" /> 
     77     <field field_ref="vtau_ice"     name="vtau_ice" /> 
    7878   </file> 
    7979 
    8080   <file id="file3" name_suffix="_grid_U" description="ocean U grid variables" > 
    81      <field field_ref="e3u"  /> 
    82      <field field_ref="ssu"          name="uos"     long_name="sea_surface_x_velocity"    /> 
    83      <field field_ref="uoce"         name="uo"      long_name="sea_water_x_velocity" operation="instant" freq_op="5d" > @uoce_e3u / @e3u </field> 
    84      <field field_ref="utau"         name="tauuo"   long_name="surface_downward_x_stress" /> 
     81     <field field_ref="e3u" /> 
     82     <field field_ref="ssu"          name="uos"      /> 
     83     <field field_ref="uoce"         name="uo"      operation="instant" freq_op="5d" > @uoce_e3u / @e3u </field> 
     84     <field field_ref="utau"         name="tauuo"    /> 
    8585          <!-- available with key_diaar5 --> 
    86      <field field_ref="u_masstr"     name="vozomatr"  /> 
    87      <field field_ref="u_heattr"     name="sozohetr"  /> 
    88       <field field_ref="u_salttr"     name="sozosatr"  /> 
     86     <field field_ref="u_masstr"     name="vozomatr" /> 
     87     <field field_ref="u_heattr"     name="sozohetr" /> 
     88      <field field_ref="u_salttr"     name="sozosatr" /> 
    8989   </file> 
    9090    
    9191   <file id="file4" name_suffix="_grid_V" description="ocean V grid variables" > 
    92      <field field_ref="e3v"  /> 
    93      <field field_ref="ssv"          name="vos"     long_name="sea_surface_y_velocity"    /> 
    94      <field field_ref="voce"         name="vo"      long_name="sea_water_y_velocity" operation="instant" freq_op="5d" > @voce_e3v / @e3v </field> 
    95      <field field_ref="vtau"         name="tauvo"   long_name="surface_downward_y_stress" /> 
     92     <field field_ref="e3v" /> 
     93     <field field_ref="ssv"          name="vos"      /> 
     94     <field field_ref="voce"         name="vo"      operation="instant" freq_op="5d" > @voce_e3v / @e3v </field> 
     95     <field field_ref="vtau"         name="tauvo"    /> 
    9696          <!-- available with key_diaar5 --> 
    97      <field field_ref="v_masstr"     name="vomematr"  /> 
    98      <field field_ref="v_heattr"     name="somehetr"  /> 
    99       <field field_ref="v_salttr"     name="somesatr"  /> 
     97     <field field_ref="v_masstr"     name="vomematr" /> 
     98     <field field_ref="v_heattr"     name="somehetr" /> 
     99      <field field_ref="v_salttr"     name="somesatr" /> 
    100100   </file> 
    101101    
    102102   <file id="file5" name_suffix="_grid_W" description="ocean W grid variables" > 
    103      <field field_ref="e3w"  /> 
    104      <field field_ref="woce"         name="wo"      long_name="ocean vertical velocity" operation="instant" freq_op="5d" > @woce_e3w / @e3w </field> 
    105      <field field_ref="avt"          name="difvho"  long_name="ocean_vertical_heat_diffusivity" /> 
    106      <field field_ref="w_masstr"     name="vovematr"  /> 
     103     <field field_ref="e3w" /> 
     104     <field field_ref="woce"         name="wo"      operation="instant" freq_op="5d" > @woce_e3w / @e3w </field> 
     105     <field field_ref="avt"          name="difvho"  /> 
     106     <field field_ref="w_masstr"     name="vovematr" /> 
    107107   </file> 
    108108 
    109109   <file id="file6" name_suffix="_icemod" description="ice variables" enabled=".true." > 
    110      <field field_ref="snowthic_cea"     name="snthic"     long_name="surface_snow_thickness"  /> 
    111      <field field_ref="icethic_cea"      name="sithic"     long_name="sea_ice_thickness"        /> 
    112           <field field_ref="icevolu"          name="sivolu" /> 
    113           <field field_ref="snowvol"          name="snvolu" /> 
    114           <field field_ref="iceconc"          name="siconc" /> 
     110          <field field_ref="snowthic_cea"    name="snthic" /> 
     111          <field field_ref="icethic_cea"     name="sithic" /> 
     112          <field field_ref="icevolu"         name="sivolu" /> 
     113          <field field_ref="snowvol"         name="snvolu" /> 
     114          <field field_ref="iceconc"         name="siconc" /> 
    115115 
    116116          <field field_ref="vfxbog"          name="vfxbog" /> 
     
    132132          <field field_ref="destrp"          name="destrp" /> 
    133133 
    134           <field field_ref="sfxbri"           name="sfxbri" /> 
    135           <field field_ref="sfxdyn"           name="sfxdyn" /> 
    136           <field field_ref="sfxres"           name="sfxres" /> 
    137           <field field_ref="sfxbog"           name="sfxbog" /> 
    138           <field field_ref="sfxbom"           name="sfxbom" /> 
    139           <field field_ref="sfxsum"           name="sfxsum" /> 
    140           <field field_ref="sfxsni"           name="sfxsni" /> 
    141           <field field_ref="sfxopw"           name="sfxopw" /> 
    142           <field field_ref="sfx"              name="sfx" /> 
    143  
    144           <field field_ref="hfxsum"          name="hfxsum"    /> 
    145           <field field_ref="hfxbom"          name="hfxbom"    /> 
    146           <field field_ref="hfxbog"          name="hfxbog"    /> 
    147           <field field_ref="hfxdif"          name="hfxdif"    /> 
    148           <field field_ref="hfxopw"          name="hfxopw"    /> 
    149           <field field_ref="hfxout"          name="hfxout"    /> 
    150           <field field_ref="hfxin"           name="hfxin"    /> 
    151           <field field_ref="hfxsnw"          name="hfxsnw"    /> 
    152           <field field_ref="hfxerr"          name="hfxerr"    /> 
    153           <field field_ref="hfxerr_rem"      name="hfxerr_rem"    /> 
     134          <field field_ref="sfxbri"          name="sfxbri" /> 
     135          <field field_ref="sfxdyn"          name="sfxdyn" /> 
     136          <field field_ref="sfxres"          name="sfxres" /> 
     137          <field field_ref="sfxbog"          name="sfxbog" /> 
     138          <field field_ref="sfxbom"          name="sfxbom" /> 
     139          <field field_ref="sfxsum"          name="sfxsum" /> 
     140          <field field_ref="sfxsni"          name="sfxsni" /> 
     141          <field field_ref="sfxopw"          name="sfxopw" /> 
     142          <field field_ref="sfx"             name="sfx"    /> 
     143 
     144          <field field_ref="hfxsum"          name="hfxsum"     /> 
     145          <field field_ref="hfxbom"          name="hfxbom"     /> 
     146          <field field_ref="hfxbog"          name="hfxbog"     /> 
     147          <field field_ref="hfxdif"          name="hfxdif"     /> 
     148          <field field_ref="hfxopw"          name="hfxopw"     /> 
     149          <field field_ref="hfxout"          name="hfxout"     /> 
     150          <field field_ref="hfxin"           name="hfxin"      /> 
     151          <field field_ref="hfxsnw"          name="hfxsnw"     /> 
     152          <field field_ref="hfxerr"          name="hfxerr"     /> 
     153          <field field_ref="hfxerr_rem"      name="hfxerr_rem" /> 
    154154 
    155155     <!-- ice-ocean heat flux from mass exchange --> 
    156           <field field_ref="hfxdyn"          name="hfxdyn"    /> 
    157           <field field_ref="hfxres"          name="hfxres"    /> 
    158           <field field_ref="hfxthd"          name="hfxthd"    /> 
     156          <field field_ref="hfxdyn"          name="hfxdyn" /> 
     157          <field field_ref="hfxres"          name="hfxres" /> 
     158          <field field_ref="hfxthd"          name="hfxthd" /> 
    159159     <!-- ice-atm. heat flux from mass exchange --> 
    160           <field field_ref="hfxsub"          name="hfxsub"    /> 
    161           <field field_ref="hfxspr"          name="hfxspr"    /> 
     160          <field field_ref="hfxsub"          name="hfxsub" /> 
     161          <field field_ref="hfxspr"          name="hfxspr" /> 
    162162 
    163163     <!-- diags --> 
    164           <field field_ref="hfxdhc"          name="hfxdhc"    /> 
    165           <field field_ref="hfxtur"          name="hfxtur"    /> 
    166  
    167           <field field_ref="isst"             name="sst" /> 
    168           <field field_ref="isss"             name="sss" /> 
    169           <field field_ref="micesalt"         name="sisali" /> 
    170           <field field_ref="micet"            name="sitemp" /> 
    171           <field field_ref="icest"            name="sistem" /> 
    172           <field field_ref="icehc"            name="siheco" /> 
    173           <field field_ref="isnowhc"          name="snheco" /> 
    174           <field field_ref="miceage"          name="siages" /> 
    175  
    176           <field field_ref="uice_ipa"         name="sivelu" /> 
    177           <field field_ref="vice_ipa"         name="sivelv" /> 
    178           <field field_ref="icevel"           name="sivelo" /> 
    179           <field field_ref="idive"            name="sidive" /> 
    180           <field field_ref="ishear"           name="sishea" /> 
    181           <field field_ref="icestr"           name="sistre" /> 
    182  
    183           <field field_ref="ibrinv"           name="sibrin" /> 
    184           <field field_ref="icecolf"          name="sicolf" /> 
    185  
    186           <field field_ref="iceage_cat"       name="siagecat"/> 
    187           <field field_ref="iceconc_cat"      name="siconcat"/> 
    188           <field field_ref="icethic_cat"      name="sithicat"/> 
    189           <field field_ref="snowthic_cat"     name="snthicat"/> 
    190           <field field_ref="salinity_cat"     name="salincat"/> 
    191           <field field_ref="brinevol_cat"     name="sibricat"/> 
     164          <field field_ref="hfxdhc"          name="hfxdhc" /> 
     165          <field field_ref="hfxtur"          name="hfxtur" /> 
     166 
     167          <field field_ref="isst"            name="sst"    /> 
     168          <field field_ref="isss"            name="sss"    /> 
     169          <field field_ref="micesalt"        name="sisali" /> 
     170          <field field_ref="micet"           name="sitemp" /> 
     171          <field field_ref="icest"           name="sistem" /> 
     172          <field field_ref="icehc"           name="siheco" /> 
     173          <field field_ref="isnowhc"         name="snheco" /> 
     174          <field field_ref="miceage"         name="siages" /> 
     175 
     176          <field field_ref="uice_ipa"        name="sivelu" /> 
     177          <field field_ref="vice_ipa"        name="sivelv" /> 
     178          <field field_ref="icevel"          name="sivelo" /> 
     179          <field field_ref="idive"           name="sidive" /> 
     180          <field field_ref="ishear"          name="sishea" /> 
     181          <field field_ref="icestr"          name="sistre" /> 
     182 
     183          <field field_ref="ibrinv"          name="sibrin" /> 
     184          <field field_ref="icecolf"         name="sicolf" /> 
     185 
     186          <field field_ref="iceage_cat"      name="siagecat" /> 
     187          <field field_ref="iceconc_cat"     name="siconcat" /> 
     188          <field field_ref="icethic_cat"     name="sithicat" /> 
     189          <field field_ref="snowthic_cat"    name="snthicat" /> 
     190          <field field_ref="salinity_cat"    name="salincat" /> 
     191          <field field_ref="brinevol_cat"    name="sibricat" /> 
    192192 
    193193   </file> 
    194194 
    195195        <file id="file7" name_suffix="_scalar" description="scalar variables" enabled=".true." > 
    196           <field field_ref="voltot"       name="scvoltot"  /> 
    197           <field field_ref="sshtot"       name="scsshtot"  /> 
    198           <field field_ref="sshsteric"    name="scsshste"  /> 
    199           <field field_ref="sshthster"    name="scsshtst"  /> 
    200           <field field_ref="masstot"      name="scmastot"  /> 
    201           <field field_ref="temptot"      name="sctemtot"  /> 
    202           <field field_ref="saltot"       name="scsaltot"  /> 
    203  
    204           <field field_ref="bgtemper"     name="bgtemper"    /> 
    205           <field field_ref="bgsaline"     name="bgsaline"    /> 
    206           <field field_ref="bgheatco"     name="bgheatco"    /> 
    207           <field field_ref="bgsaltco"     name="bgsaltco"    /> 
    208           <field field_ref="bgvolssh"     name="bgvolssh"    />  
    209           <field field_ref="bgvole3t"     name="bgvole3t"    /> 
    210           <field field_ref="bgfrcvol"     name="bgfrcvol"    /> 
    211           <field field_ref="bgfrctem"     name="bgfrctem"    /> 
    212           <field field_ref="bgfrcsal"     name="bgfrcsal"    /> 
    213  
    214           <field field_ref="ibgvoltot"    name="ibgvoltot"   /> 
    215           <field field_ref="sbgvoltot"    name="sbgvoltot"   /> 
    216           <field field_ref="ibgarea"      name="ibgarea"     /> 
    217           <field field_ref="ibgsaline"    name="ibgsaline"   /> 
    218           <field field_ref="ibgtemper"    name="ibgtemper"   /> 
    219           <field field_ref="ibgheatco"    name="ibgheatco"   /> 
    220           <field field_ref="sbgheatco"    name="sbgheatco"   /> 
    221           <field field_ref="ibgsaltco"    name="ibgsaltco"   /> 
    222  
    223           <field field_ref="ibgvfx"       name="ibgvfx"      /> 
    224           <field field_ref="ibgvfxbog"    name="ibgvfxbog"      /> 
    225           <field field_ref="ibgvfxopw"    name="ibgvfxopw"      /> 
    226           <field field_ref="ibgvfxsni"    name="ibgvfxsni"      /> 
    227           <field field_ref="ibgvfxdyn"    name="ibgvfxdyn"      /> 
    228           <field field_ref="ibgvfxbom"    name="ibgvfxbom"      /> 
    229           <field field_ref="ibgvfxsum"    name="ibgvfxsum"      /> 
    230           <field field_ref="ibgvfxres"    name="ibgvfxres"      /> 
    231           <field field_ref="ibgvfxspr"    name="ibgvfxspr"      /> 
    232           <field field_ref="ibgvfxsnw"    name="ibgvfxsnw"      /> 
    233           <field field_ref="ibgvfxsub"    name="ibgvfxsub"      /> 
     196          <field field_ref="voltot"       name="scvoltot"   /> 
     197          <field field_ref="sshtot"       name="scsshtot"   /> 
     198          <field field_ref="sshsteric"    name="scsshste"   /> 
     199          <field field_ref="sshthster"    name="scsshtst"   /> 
     200          <field field_ref="masstot"      name="scmastot"   /> 
     201          <field field_ref="temptot"      name="sctemtot"   /> 
     202          <field field_ref="saltot"       name="scsaltot"   /> 
     203 
     204          <field field_ref="bgtemper"     name="bgtemper"   /> 
     205          <field field_ref="bgsaline"     name="bgsaline"   /> 
     206          <field field_ref="bgheatco"     name="bgheatco"   /> 
     207          <field field_ref="bgsaltco"     name="bgsaltco"   /> 
     208          <field field_ref="bgvolssh"     name="bgvolssh"   />  
     209          <field field_ref="bgvole3t"     name="bgvole3t"   /> 
     210          <field field_ref="bgfrcvol"     name="bgfrcvol"   /> 
     211          <field field_ref="bgfrctem"     name="bgfrctem"   /> 
     212          <field field_ref="bgfrcsal"     name="bgfrcsal"   /> 
     213 
     214          <field field_ref="ibgvoltot"    name="ibgvoltot"  /> 
     215          <field field_ref="sbgvoltot"    name="sbgvoltot"  /> 
     216          <field field_ref="ibgarea"      name="ibgarea"    /> 
     217          <field field_ref="ibgsaline"    name="ibgsaline"  /> 
     218          <field field_ref="ibgtemper"    name="ibgtemper"  /> 
     219          <field field_ref="ibgheatco"    name="ibgheatco"  /> 
     220          <field field_ref="sbgheatco"    name="sbgheatco"  /> 
     221          <field field_ref="ibgsaltco"    name="ibgsaltco"  /> 
     222 
     223          <field field_ref="ibgvfx"       name="ibgvfx"     /> 
     224          <field field_ref="ibgvfxbog"    name="ibgvfxbog"  /> 
     225          <field field_ref="ibgvfxopw"    name="ibgvfxopw"  /> 
     226          <field field_ref="ibgvfxsni"    name="ibgvfxsni"  /> 
     227          <field field_ref="ibgvfxdyn"    name="ibgvfxdyn"  /> 
     228          <field field_ref="ibgvfxbom"    name="ibgvfxbom"  /> 
     229          <field field_ref="ibgvfxsum"    name="ibgvfxsum"  /> 
     230          <field field_ref="ibgvfxres"    name="ibgvfxres"  /> 
     231          <field field_ref="ibgvfxspr"    name="ibgvfxspr"  /> 
     232          <field field_ref="ibgvfxsnw"    name="ibgvfxsnw"  /> 
     233          <field field_ref="ibgvfxsub"    name="ibgvfxsub"  /> 
    234234 
    235235          <field field_ref="ibgsfx"       name="ibgsfx"     /> 
    236           <field field_ref="ibgsfxbri"    name="ibgsfxbri"    /> 
    237           <field field_ref="ibgsfxdyn"    name="ibgsfxdyn" /> 
    238           <field field_ref="ibgsfxres"    name="ibgsfxres" /> 
    239           <field field_ref="ibgsfxbog"    name="ibgsfxbog"      /> 
    240           <field field_ref="ibgsfxopw"    name="ibgsfxopw"      /> 
    241           <field field_ref="ibgsfxsni"    name="ibgsfxsni"      /> 
    242           <field field_ref="ibgsfxbom"    name="ibgsfxbom"      /> 
    243           <field field_ref="ibgsfxsum"    name="ibgsfxsum"      /> 
    244  
    245           <field field_ref="ibghfxdhc"    name="ibghfxdhc"    /> 
    246           <field field_ref="ibghfxspr"    name="ibghfxspr"    /> 
    247  
    248           <field field_ref="ibghfxres"    name="ibghfxres"    /> 
    249           <field field_ref="ibghfxsub"    name="ibghfxsub"    /> 
    250           <field field_ref="ibghfxdyn"    name="ibghfxdyn"    /> 
    251           <field field_ref="ibghfxthd"    name="ibghfxthd"    /> 
    252           <field field_ref="ibghfxsum"    name="ibghfxsum"    /> 
    253           <field field_ref="ibghfxbom"    name="ibghfxbom"    /> 
    254           <field field_ref="ibghfxbog"    name="ibghfxbog"    /> 
    255           <field field_ref="ibghfxdif"    name="ibghfxdif"    /> 
    256           <field field_ref="ibghfxopw"    name="ibghfxopw"    /> 
    257           <field field_ref="ibghfxout"    name="ibghfxout"    /> 
    258           <field field_ref="ibghfxin"    name="ibghfxin"    /> 
    259           <field field_ref="ibghfxsnw"    name="ibghfxsnw"    /> 
    260  
    261           <field field_ref="ibgfrcvol"    name="ibgfrcvol"   /> 
     236          <field field_ref="ibgsfxbri"    name="ibgsfxbri"  /> 
     237          <field field_ref="ibgsfxdyn"    name="ibgsfxdyn"  /> 
     238          <field field_ref="ibgsfxres"    name="ibgsfxres"  /> 
     239          <field field_ref="ibgsfxbog"    name="ibgsfxbog"  /> 
     240          <field field_ref="ibgsfxopw"    name="ibgsfxopw"  /> 
     241          <field field_ref="ibgsfxsni"    name="ibgsfxsni"  /> 
     242          <field field_ref="ibgsfxbom"    name="ibgsfxbom"  /> 
     243          <field field_ref="ibgsfxsum"    name="ibgsfxsum"  /> 
     244 
     245          <field field_ref="ibghfxdhc"    name="ibghfxdhc"  /> 
     246          <field field_ref="ibghfxspr"    name="ibghfxspr"  /> 
     247 
     248          <field field_ref="ibghfxres"    name="ibghfxres"  /> 
     249          <field field_ref="ibghfxsub"    name="ibghfxsub"  /> 
     250          <field field_ref="ibghfxdyn"    name="ibghfxdyn"  /> 
     251          <field field_ref="ibghfxthd"    name="ibghfxthd"  /> 
     252          <field field_ref="ibghfxsum"    name="ibghfxsum"  /> 
     253          <field field_ref="ibghfxbom"    name="ibghfxbom"  /> 
     254          <field field_ref="ibghfxbog"    name="ibghfxbog"  /> 
     255          <field field_ref="ibghfxdif"    name="ibghfxdif"  /> 
     256          <field field_ref="ibghfxopw"    name="ibghfxopw"  /> 
     257          <field field_ref="ibghfxout"    name="ibghfxout"  /> 
     258          <field field_ref="ibghfxin"     name="ibghfxin"   /> 
     259          <field field_ref="ibghfxsnw"    name="ibghfxsnw"  /> 
     260 
     261          <field field_ref="ibgfrcvol"    name="ibgfrcvol"  /> 
    262262          <field field_ref="ibgfrcsfx"    name="ibgfrcsfx"  /> 
    263           <field field_ref="ibgvolgrm"    name="ibgvolgrm"    /> 
     263          <field field_ref="ibgvolgrm"    name="ibgvolgrm"  /> 
    264264 
    265265        </file> 
     
    298298     
    299299   <axis_definition>   
    300       <axis id="deptht" long_name="Vertical T levels" unit="m" positive="down" /> 
    301       <axis id="depthu" long_name="Vertical U levels" unit="m" positive="down" /> 
    302       <axis id="depthv" long_name="Vertical V levels" unit="m" positive="down" /> 
    303       <axis id="depthw" long_name="Vertical W levels" unit="m" positive="down" /> 
    304       <axis id="nfloat" long_name="Float number"      unit="-"  /> 
    305       <axis id="icbcla" long_name="Iceberg class"     unit="-"  /> 
    306       <axis id="ncatice" long_name="Ice categories"   unit="-"  /> 
     300      <axis id="deptht"  long_name="Vertical T levels"  unit="m" positive="down" /> 
     301      <axis id="depthu"  long_name="Vertical U levels"  unit="m" positive="down" /> 
     302      <axis id="depthv"  long_name="Vertical V levels"  unit="m" positive="down" /> 
     303      <axis id="depthw"  long_name="Vertical W levels"  unit="m" positive="down" /> 
     304      <axis id="nfloat"  long_name="Float number"       unit="1"                 /> 
     305      <axis id="icbcla"  long_name="Iceberg class"      unit="1"                 /> 
     306      <axis id="ncatice" long_name="Ice category"       unit="1"                 /> 
     307      <axis id="iax_20C" long_name="20 degC isotherm"   unit="degC"              /> 
     308      <axis id="iax_28C" long_name="28 degC isotherm"   unit="degC"              /> 
    307309   </axis_definition>  
    308310     
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/CONFIG/ORCA2_LIM_CFC_C14b/EXP00/iodef.xml

    r5107 r5382  
    3636 
    3737   <file id="file1" name_suffix="_grid_T" description="ocean T grid variables" > 
    38      <field field_ref="toce"         name="thetao"   long_name="sea_water_potential_temperature"               /> 
    39      <field field_ref="soce"         name="so"       long_name="sea_water_salinity"                            /> 
    40      <field field_ref="sst"          name="tos"      long_name="sea_surface_temperature"                       /> 
    41      <field field_ref="sst2"         name="tossq"    long_name="square_of_sea_surface_temperature"             /> 
    42      <field field_ref="sss"          name="sos"      long_name="sea_surface_salinity"                          /> 
    43      <field field_ref="ssh"          name="zos"      long_name="sea_surface_height_above_geoid"                /> 
    44      <field field_ref="ssh2"         name="zossq"    long_name="square_of_sea_surface_height_above_geoid"      /> 
    45      <field field_ref="empmr"        name="wfo"      long_name="water_flux_into_sea_water"                     /> 
    46      <field field_ref="qsr"          name="rsntds"   long_name="surface_net_downward_shortwave_flux"           /> 
    47      <field field_ref="qt"           name="tohfls"   long_name="surface_net_downward_total_heat_flux"          /> 
    48      <field field_ref="taum"         /> 
    49      <field field_ref="mldkz5"       /> 
    50      <field field_ref="mldr10_1"     /> 
     38     <field field_ref="toce"         name="thetao" /> 
     39     <field field_ref="soce"         name="so"     /> 
     40     <field field_ref="sst"          name="tos"    /> 
     41     <field field_ref="sst2"         name="tossq"  /> 
     42     <field field_ref="sss"          name="sos"    /> 
     43     <field field_ref="ssh"          name="zos"    /> 
     44     <field field_ref="ssh2"         name="zossq"  /> 
     45     <field field_ref="empmr"        name="wfo"    /> 
     46     <field field_ref="qsr"          name="rsntds" /> 
     47     <field field_ref="qt"           name="tohfls" /> 
     48     <field field_ref="taum"     /> 
     49     <field field_ref="mldkz5"   /> 
     50     <field field_ref="mldr10_1" /> 
    5151   </file> 
    5252    
    5353   <file id="file2" name_suffix="_grid_U" description="ocean U grid variables" > 
    54      <field field_ref="uoce"         name="uo"      long_name="sea_water_x_velocity"      /> 
    55      <field field_ref="ssu"          name="uos"     long_name="sea_surface_x_velocity"    /> 
    56      <field field_ref="utau"         name="tauuo"   long_name="surface_downward_x_stress" /> 
     54     <field field_ref="uoce"         name="uo"    /> 
     55     <field field_ref="ssu"          name="uos"   /> 
     56     <field field_ref="utau"         name="tauuo" /> 
    5757   </file> 
    5858    
    5959   <file id="file3" name_suffix="_grid_V" description="ocean V grid variables" > 
    60      <field field_ref="voce"         name="vo"      long_name="sea_water_y_velocity"      /> 
    61      <field field_ref="ssv"          name="vos"     long_name="sea_surface_y_velocity"    /> 
    62      <field field_ref="vtau"         name="tauvo"   long_name="surface_downward_y_stress" /> 
     60     <field field_ref="voce"         name="vo"    /> 
     61     <field field_ref="ssv"          name="vos"   /> 
     62     <field field_ref="vtau"         name="tauvo" /> 
    6363   </file> 
    6464    
    6565   <file id="file4" name_suffix="_grid_W" description="ocean W grid variables" > 
    66      <field field_ref="woce"         name="wo"      long_name="ocean vertical velocity"         /> 
    67      <field field_ref="avt"          name="difvho"  long_name="ocean_vertical_heat_diffusivity" /> 
     66     <field field_ref="woce"         name="wo"     /> 
     67     <field field_ref="avt"          name="difvho" /> 
    6868   </file> 
    6969    
    7070   <file id="file5" name_suffix="_icemod" description="ice variables" > 
    71      <field field_ref="ice_pres"                     /> 
    72      <field field_ref="snowthic_cea" name="snd"     long_name="surface_snow_thickness"   /> 
    73      <field field_ref="icethic_cea"  name="sit"     long_name="sea_ice_thickness"        /> 
    74      <field field_ref="iceprod_cea"  name="sip"     long_name="sea_ice_thickness"        /> 
    75      <field field_ref="ist_ipa"      /> 
    76      <field field_ref="ioceflxb"     /> 
    77      <field field_ref="uice_ipa"     /> 
    78      <field field_ref="vice_ipa"     /> 
    79      <field field_ref="utau_ice"     /> 
    80      <field field_ref="vtau_ice"     /> 
    81      <field field_ref="qsr_io_cea"   /> 
    82      <field field_ref="qns_io_cea"   /> 
    83      <field field_ref="snowpre"      /> 
     71     <field field_ref="ice_pres"   /> 
     72     <field field_ref="snowthic_cea" name="snd" /> 
     73     <field field_ref="icethic_cea"  name="sit" /> 
     74     <field field_ref="iceprod_cea"  name="sip" /> 
     75     <field field_ref="ist_ipa"    /> 
     76     <field field_ref="ioceflxb"   /> 
     77     <field field_ref="uice_ipa"   /> 
     78     <field field_ref="vice_ipa"   /> 
     79     <field field_ref="utau_ice"   /> 
     80     <field field_ref="vtau_ice"   /> 
     81     <field field_ref="qsr_io_cea" /> 
     82     <field field_ref="qns_io_cea" /> 
     83     <field field_ref="snowpre"    /> 
    8484   </file> 
    8585 
    8686 
    8787   <file id="file6" name_suffix="_ptrc_T" description="sms variables" > 
    88           <field field_ref="CFC11"      /> 
    89           <field field_ref="C14B" /> 
     88          <field field_ref="CFC11" /> 
     89          <field field_ref="C14B"  /> 
    9090   </file> 
    9191    
    9292   <file id="file7" name_suffix="_diad_T" description="additional diagnostics" > 
    93           <field field_ref="qtrCFC11"     /> 
    94           <field field_ref="qintCFC11"     /> 
    95           <field field_ref="qtrC14b"     /> 
    96           <field field_ref="qintC14b"     /> 
    97           <field field_ref="fdecay"     /> 
     93          <field field_ref="qtrCFC11"  /> 
     94          <field field_ref="qintCFC11" /> 
     95          <field field_ref="qtrC14b"   /> 
     96          <field field_ref="qintC14b"  /> 
     97          <field field_ref="fdecay"    /> 
    9898   </file> 
    9999 
     
    120120     
    121121   <axis_definition>   
    122       <axis id="deptht" long_name="Vertical T levels" unit="m" positive="down" /> 
    123       <axis id="depthu" long_name="Vertical U levels" unit="m" positive="down" /> 
    124       <axis id="depthv" long_name="Vertical V levels" unit="m" positive="down" /> 
    125       <axis id="depthw" long_name="Vertical W levels" unit="m" positive="down" /> 
    126       <axis id="nfloat" long_name="Float number"      unit="-"  /> 
    127       <axis id="icbcla" long_name="Iceberg class"     unit="-"  /> 
     122      <axis id="deptht"  long_name="Vertical T levels"  unit="m" positive="down" /> 
     123      <axis id="depthu"  long_name="Vertical U levels"  unit="m" positive="down" /> 
     124      <axis id="depthv"  long_name="Vertical V levels"  unit="m" positive="down" /> 
     125      <axis id="depthw"  long_name="Vertical W levels"  unit="m" positive="down" /> 
     126      <axis id="nfloat"  long_name="Float number"       unit="1"                 /> 
     127      <axis id="icbcla"  long_name="Iceberg class"      unit="1"                 /> 
     128      <axis id="ncatice" long_name="Ice category"       unit="1"                 /> 
     129      <axis id="iax_20C" long_name="20 degC isotherm"   unit="degC"              /> 
     130      <axis id="iax_28C" long_name="28 degC isotherm"   unit="degC"              /> 
    128131   </axis_definition>  
    129132     
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/CONFIG/ORCA2_LIM_CFC_C14b/EXP00/iodef.xml_cfc

    r3567 r5382  
    11<?xml version="1.0"?> 
     2 
     3<!-- WARNING: THIS XML FILE IS FOR THE DEPRECATED XMLIO SERVER: IT WILL NOT WORK WITH XIOS! --> 
     4 
    25<simulation>  
    36   
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/CONFIG/ORCA2_LIM_PISCES/EXP00/iodef.xml

    r5107 r5382  
    3434 
    3535   <file id="file1" name_suffix="_grid_T" description="ocean T grid variables" > 
    36      <field field_ref="sst"          name="tos"      long_name="sea_surface_temperature"                       /> 
    37      <field field_ref="sss"          name="sos"      long_name="sea_surface_salinity"                          /> 
    38      <field field_ref="ssh"          name="zos"      long_name="sea_surface_height_above_geoid"                /> 
     36     <field field_ref="sst"          name="tos" /> 
     37     <field field_ref="sss"          name="sos" /> 
     38     <field field_ref="ssh"          name="zos" /> 
    3939   </file> 
    4040 
    4141   <file id="file2" name_suffix="_grid_U" description="ocean U grid variables" > 
    42      <field field_ref="ssu"          name="uos"     long_name="sea_surface_x_velocity"    /> 
     42     <field field_ref="ssu"          name="uos" /> 
    4343   </file> 
    4444    
    4545   <file id="file3" name_suffix="_grid_V" description="ocean V grid variables" > 
    46      <field field_ref="ssv"          name="vos"     long_name="sea_surface_y_velocity"    /> 
    47    </file> 
    48  
    49         <file id="file4" name_suffix="_bioscalar" description="pisces sms variables" > 
    50           <field field_ref="tdenit"   name="tdenit"   unit="TgN/yr" operation="instant" > tdenit * 14. * 86400. * 365. / 1e12 </field> 
    51           <field field_ref="tnfix"    name="tnfix"    unit="TgN/yr" operation="instant" > tnfix * 14. * 86400. * 365. / 1e12 </field> 
    52           <field field_ref="tcflx"    name="tcflx"    unit="PgC/yr" operation="instant" > tcflx * -1. * 12. * 86400. * 365. / 1e15 </field> 
    53           <field field_ref="tcflxcum" name="tcflxcum" unit="PgC"    operation="instant" > tcflxcum * -1. * 12. / 1e15 </field> 
    54           <field field_ref="tcexp"    name="tcexp"    unit="PgC/yr" operation="instant" > tcexp * 12. * 86400. * 365. / 1e15 </field> 
    55           <field field_ref="tintpp"   name="tintpp"   unit="PgC/yr" operation="instant" > tintpp * 12. * 86400. * 365. / 1e15 </field> 
    56           <field field_ref="pno3tot"  name="pno3tot"  unit="umolN"  > pno3tot * 16. / 122. * 1e6 </field> 
    57           <field field_ref="psiltot"  name="psiltot"  unit="umolC"  > psiltot * 1e6  </field> 
    58           <field field_ref="palktot"  name="palktot"  unit="umolC"  > palktot * 1e6  </field> 
    59         <field field_ref="pfertot"  name="pfertot"  unit="nmolFe" > pfertot * 1e9  </field> 
    60                                                                                                                              </file> 
     46     <field field_ref="ssv"          name="vos" /> 
     47   </file> 
     48 
     49    <file id="file4" name_suffix="_bioscalar" description="pisces sms variables" > 
     50      <field field_ref="tdenit"   name="tdenit"   unit="TgN/yr" operation="instant" > tdenit * 14. * 86400. * 365. / 1e12 </field> 
     51      <field field_ref="tnfix"    name="tnfix"    unit="TgN/yr" operation="instant" > tnfix * 14. * 86400. * 365. / 1e12 </field> 
     52      <field field_ref="tcflx"    name="tcflx"    unit="PgC/yr" operation="instant" > tcflx * -1. * 12. * 86400. * 365. / 1e15 </field> 
     53      <field field_ref="tcflxcum" name="tcflxcum" unit="PgC"    operation="instant" > tcflxcum * -1. * 12. / 1e15 </field> 
     54      <field field_ref="tcexp"    name="tcexp"    unit="PgC/yr" operation="instant" > tcexp * 12. * 86400. * 365. / 1e15 </field> 
     55      <field field_ref="tintpp"   name="tintpp"   unit="PgC/yr" operation="instant" > tintpp * 12. * 86400. * 365. / 1e15 </field> 
     56      <field field_ref="pno3tot"  name="pno3tot"  unit="umolN"  > pno3tot * 16. / 122. * 1e6 </field> 
     57      <field field_ref="psiltot"  name="psiltot"  unit="umolC"  > psiltot * 1e6  </field> 
     58      <field field_ref="palktot"  name="palktot"  unit="umolC"  > palktot * 1e6  </field> 
     59      <field field_ref="pfertot"  name="pfertot"  unit="nmolFe" > pfertot * 1e9  </field> 
     60    </file> 
     61 
    6162      </file_group> 
    6263 
     
    6667 
    6768   <file id="file5" name_suffix="_grid_T" description="ocean T grid variables" > 
    68      <field field_ref="toce"         name="thetao"   long_name="sea_water_potential_temperature"               /> 
    69      <field field_ref="soce"         name="so"       long_name="sea_water_salinity"                            /> 
    70      <field field_ref="sst"          name="tos"      long_name="sea_surface_temperature"                       /> 
    71      <field field_ref="sst2"         name="tossq"    long_name="square_of_sea_surface_temperature"             /> 
    72      <field field_ref="sss"          name="sos"      long_name="sea_surface_salinity"                          /> 
    73      <field field_ref="ssh"          name="zos"      long_name="sea_surface_height_above_geoid"                /> 
    74      <field field_ref="ssh2"         name="zossq"    long_name="square_of_sea_surface_height_above_geoid"      /> 
    75      <field field_ref="empmr"        name="wfo"      long_name="water_flux_into_sea_water"                     /> 
    76      <field field_ref="qsr"          name="rsntds"   long_name="surface_net_downward_shortwave_flux"           /> 
    77      <field field_ref="qt"           name="tohfls"   long_name="surface_net_downward_total_heat_flux"          /> 
    78      <field field_ref="taum"         /> 
    79      <field field_ref="mldkz5"       /> 
    80      <field field_ref="mldr10_1"     /> 
    81            <!-- variables available with MLE 
    82           <field field_ref="Lf_NHpf"    name="Lf_NHpf"  long_name="MLE:_Lf=NH/f"     /> 
    83       --> 
     69     <field field_ref="toce"         name="thetao" /> 
     70     <field field_ref="soce"         name="so"     /> 
     71     <field field_ref="sst"          name="tos"    /> 
     72     <field field_ref="sst2"         name="tossq"  /> 
     73     <field field_ref="sss"          name="sos"    /> 
     74     <field field_ref="ssh"          name="zos"    /> 
     75     <field field_ref="ssh2"         name="zossq"  /> 
     76     <field field_ref="empmr"        name="wfo"    /> 
     77     <field field_ref="qsr"          name="rsntds" /> 
     78     <field field_ref="qt"           name="tohfls" /> 
     79     <field field_ref="taum"     /> 
     80     <field field_ref="mldkz5"   /> 
     81     <field field_ref="mldr10_1" /> 
    8482   </file> 
    8583    
    8684   <file id="file6" name_suffix="_grid_U" description="ocean U grid variables" > 
    87      <field field_ref="uoce"         name="uo"      long_name="sea_water_x_velocity"      /> 
    88      <field field_ref="ssu"          name="uos"     long_name="sea_surface_x_velocity"    /> 
    89      <field field_ref="utau"         name="tauuo"   long_name="surface_downward_x_stress" /> 
    90           <!-- variables available with MLE 
    91           <field field_ref="psiu_mle"     name="psiu_mle"  long_name="MLE_streamfunction_along_i-axis" /> 
    92      --> 
     85     <field field_ref="uoce"         name="uo"     /> 
     86     <field field_ref="ssu"          name="uos"    /> 
     87     <field field_ref="utau"         name="tauuo"  /> 
    9388   </file> 
    9489    
    9590   <file id="file7" name_suffix="_grid_V" description="ocean V grid variables" > 
    96      <field field_ref="voce"         name="vo"      long_name="sea_water_y_velocity"      /> 
    97      <field field_ref="ssv"          name="vos"     long_name="sea_surface_y_velocity"    /> 
    98      <field field_ref="vtau"         name="tauvo"   long_name="surface_downward_y_stress" /> 
    99           <!-- variables available with MLE 
    100           <field field_ref="psiv_mle"     name="psiv_mle"  long_name="MLE_streamfunction_along_j-axis" /> 
    101      --> 
     91     <field field_ref="voce"         name="vo"     /> 
     92     <field field_ref="ssv"          name="vos"    /> 
     93     <field field_ref="vtau"         name="tauvo"  /> 
    10294   </file> 
    10395    
    10496   <file id="file8" name_suffix="_grid_W" description="ocean W grid variables" > 
    105      <field field_ref="woce"         name="wo"      long_name="ocean vertical velocity"         /> 
    106      <field field_ref="avt"          name="difvho"  long_name="ocean_vertical_heat_diffusivity" /> 
     97     <field field_ref="woce"         name="wo"     /> 
     98     <field field_ref="avt"          name="difvho" /> 
    10799   </file> 
    108100    
    109101   <file id="file9" name_suffix="_icemod" description="ice variables" > 
    110      <field field_ref="ice_pres"                     /> 
    111      <field field_ref="snowthic_cea" name="snd"     long_name="surface_snow_thickness"   /> 
    112      <field field_ref="icethic_cea"  name="sit"     long_name="sea_ice_thickness"        /> 
    113      <field field_ref="iceprod_cea"  name="sip"     long_name="sea_ice_thickness"        /> 
    114      <field field_ref="ist_ipa"      /> 
    115      <field field_ref="uice_ipa"     /> 
    116      <field field_ref="vice_ipa"     /> 
    117      <field field_ref="utau_ice"     /> 
    118      <field field_ref="vtau_ice"     /> 
    119      <field field_ref="qsr_io_cea"   /> 
    120      <field field_ref="qns_io_cea"   /> 
    121      <field field_ref="snowpre"      /> 
     102     <field field_ref="ice_pres"   /> 
     103     <field field_ref="snowthic_cea" name="snd"    /> 
     104     <field field_ref="icethic_cea"  name="sit"    /> 
     105     <field field_ref="iceprod_cea"  name="sip"    /> 
     106     <field field_ref="ist_ipa"    /> 
     107     <field field_ref="uice_ipa"   /> 
     108     <field field_ref="vice_ipa"   /> 
     109     <field field_ref="utau_ice"   /> 
     110     <field field_ref="vtau_ice"   /> 
     111     <field field_ref="qsr_io_cea" /> 
     112     <field field_ref="qns_io_cea" /> 
     113     <field field_ref="snowpre"    /> 
    122114   </file> 
    123115    
     
    245237     
    246238   <axis_definition>   
    247       <axis id="deptht" long_name="Vertical T levels" unit="m" positive="down" /> 
    248       <axis id="depthu" long_name="Vertical U levels" unit="m" positive="down" /> 
    249       <axis id="depthv" long_name="Vertical V levels" unit="m" positive="down" /> 
    250       <axis id="depthw" long_name="Vertical W levels" unit="m" positive="down" /> 
    251       <axis id="nfloat" long_name="Float number"      unit="-"  /> 
    252       <axis id="icbcla" long_name="Iceberg class"     unit="-"  /> 
     239      <axis id="deptht"  long_name="Vertical T levels"  unit="m" positive="down" /> 
     240      <axis id="depthu"  long_name="Vertical U levels"  unit="m" positive="down" /> 
     241      <axis id="depthv"  long_name="Vertical V levels"  unit="m" positive="down" /> 
     242      <axis id="depthw"  long_name="Vertical W levels"  unit="m" positive="down" /> 
     243      <axis id="nfloat"  long_name="Float number"       unit="1"                 /> 
     244      <axis id="icbcla"  long_name="Iceberg class"      unit="1"                 /> 
     245      <axis id="ncatice" long_name="Ice category"       unit="1"                 /> 
     246      <axis id="iax_20C" long_name="20 degC isotherm"   unit="degC"              /> 
     247      <axis id="iax_28C" long_name="28 degC isotherm"   unit="degC"              /> 
    253248   </axis_definition>  
    254249     
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/CONFIG/ORCA2_OFF_PISCES/EXP00/iodef.xml

    r4996 r5382  
    167167     
    168168   <axis_definition>   
    169       <axis id="deptht" long_name="Vertical T levels" unit="m" positive="down" /> 
    170       <axis id="depthu" long_name="Vertical U levels" unit="m" positive="down" /> 
    171       <axis id="depthv" long_name="Vertical V levels" unit="m" positive="down" /> 
    172       <axis id="depthw" long_name="Vertical W levels" unit="m" positive="down" /> 
    173       <axis id="nfloat" long_name="Float number"      unit="-"  /> 
    174       <axis id="icbcla" long_name="Iceberg class"     unit="-"  /> 
     169      <axis id="deptht"  long_name="Vertical T levels"  unit="m" positive="down" /> 
     170      <axis id="depthu"  long_name="Vertical U levels"  unit="m" positive="down" /> 
     171      <axis id="depthv"  long_name="Vertical V levels"  unit="m" positive="down" /> 
     172      <axis id="depthw"  long_name="Vertical W levels"  unit="m" positive="down" /> 
     173      <axis id="nfloat"  long_name="Float number"       unit="1"                 /> 
     174      <axis id="icbcla"  long_name="Iceberg class"      unit="1"                 /> 
     175      <axis id="ncatice" long_name="Ice category"       unit="1"                 /> 
     176      <axis id="iax_20C" long_name="20 degC isotherm"   unit="degC"              /> 
     177      <axis id="iax_28C" long_name="28 degC isotherm"   unit="degC"              /> 
    175178   </axis_definition>  
    176179     
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/CONFIG/ORCA2_SAS_LIM/EXP00/iodef.xml

    r5107 r5382  
    3131      <file_group id="1d" output_freq="1d"  output_level="10" enabled=".TRUE."> <!-- 1d files --> 
    3232 
    33  
    3433   <file id="file1" name_suffix="_grid_T" description="ocean T grid variables" > 
    35      <field field_ref="sst"          name="sosstsst"      long_name="sea_surface_temperature"                       /> 
    36      <field field_ref="sss"          name="sosaline"      long_name="sea_surface_salinity"                          /> 
    37      <field field_ref="ssh"          name="sossheig"      long_name="sea_surface_height_above_geoid"                /> 
    38      <field field_ref="empmr"        name="wfo"      long_name="water_flux_into_sea_water"                     /> 
    39      <field field_ref="qsr"          name="rsntds"   long_name="surface_net_downward_shortwave_flux"           /> 
    40      <field field_ref="qt"           name="tohfls"   long_name="surface_net_downward_total_heat_flux"          /> 
    41      <field field_ref="mldr10_1"     /> 
     34     <field field_ref="sst"          name="sosstsst" /> 
     35     <field field_ref="sss"          name="sosaline" /> 
     36     <field field_ref="ssh"          name="sossheig" /> 
     37     <field field_ref="empmr"        name="wfo"      /> 
     38     <field field_ref="qsr"          name="rsntds"   /> 
     39     <field field_ref="qt"           name="tohfls"   /> 
     40     <field field_ref="mldr10_1" /> 
    4241   </file> 
    4342 
    4443   <file id="file2" name_suffix="_grid_U" description="ocean U grid variables" > 
    45      <field field_ref="ssu"          name="suoce"     long_name="sea_surface_x_velocity"    /> 
     44     <field field_ref="ssu"          name="suoce" /> 
    4645   </file> 
    4746    
    4847   <file id="file3" name_suffix="_grid_V" description="ocean V grid variables" > 
    49      <field field_ref="ssv"          name="svoce"     long_name="sea_surface_y_velocity"    /> 
     48     <field field_ref="ssv"          name="svoce" /> 
    5049   </file> 
    5150 
    5251      </file_group> 
     52 
    5353      <file_group id="3d" output_freq="3d"  output_level="10" enabled=".TRUE."/> <!-- 3d files -->     
    5454      <file_group id="5d" output_freq="5d"  output_level="10" enabled=".TRUE.">  <!-- 5d files --> 
    5555 
    5656   <file id="file4" name_suffix="_grid_T" description="ocean T grid variables" > 
    57      <field field_ref="sst"          name="sosstsst"      long_name="sea_surface_temperature"                       /> 
    58      <field field_ref="sst2"         name="tossq"    long_name="square_of_sea_surface_temperature"             /> 
    59      <field field_ref="sss"          name="sosaline"      long_name="sea_surface_salinity"                          /> 
    60      <field field_ref="ssh"          name="sossheig"      long_name="sea_surface_height_above_geoid"                /> 
    61      <field field_ref="ssh2"         name="zossq"    long_name="square_of_sea_surface_height_above_geoid"      /> 
    62      <field field_ref="empmr"        name="wfo"      long_name="water_flux_into_sea_water"                     /> 
    63      <field field_ref="qsr"          name="rsntds"   long_name="surface_net_downward_shortwave_flux"           /> 
    64      <field field_ref="qt"           name="tohfls"   long_name="surface_net_downward_total_heat_flux"          /> 
    65      <field field_ref="taum"         /> 
    66      <field field_ref="mldkz5"       /> 
    67      <field field_ref="mldr10_1"     /> 
     57     <field field_ref="sst"          name="sosstsst" /> 
     58     <field field_ref="sst2"         name="tossq"    /> 
     59     <field field_ref="sss"          name="sosaline" /> 
     60     <field field_ref="ssh"          name="sossheig" /> 
     61     <field field_ref="ssh2"         name="zossq"    /> 
     62     <field field_ref="empmr"        name="wfo"      /> 
     63     <field field_ref="qsr"          name="rsntds"   /> 
     64     <field field_ref="qt"           name="tohfls"   /> 
     65     <field field_ref="taum"     /> 
     66     <field field_ref="mldkz5"   /> 
     67     <field field_ref="mldr10_1" /> 
    6868   </file> 
    6969    
    7070   <file id="file5" name_suffix="_grid_U" description="ocean U grid variables" > 
    71      <field field_ref="ssu"          name="uos"     long_name="sea_surface_x_velocity"    /> 
    72      <field field_ref="utau"         name="tauuo"   long_name="surface_downward_x_stress" /> 
     71     <field field_ref="ssu"          name="uos"   /> 
     72     <field field_ref="utau"         name="tauuo" /> 
    7373   </file> 
    7474    
    7575   <file id="file6" name_suffix="_grid_V" description="ocean V grid variables" > 
    76      <field field_ref="ssv"          name="vos"     long_name="sea_surface_y_velocity"    /> 
    77      <field field_ref="vtau"         name="tauvo"   long_name="surface_downward_y_stress" /> 
     76     <field field_ref="ssv"          name="vos"   /> 
     77     <field field_ref="vtau"         name="tauvo" /> 
    7878   </file> 
    7979    
    8080   <file id="file7" name_suffix="_icemod" description="ice variables" > 
    81      <field field_ref="ice_pres"                     /> 
    82      <field field_ref="snowthic_cea" name="snd"     long_name="surface_snow_thickness"   /> 
    83      <field field_ref="icethic_cea"  name="sit"     long_name="sea_ice_thickness"        /> 
    84      <field field_ref="iceprod_cea"  name="sip"     long_name="sea_ice_thickness"        /> 
    85      <field field_ref="ist_ipa"      /> 
    86      <field field_ref="uice_ipa"     /> 
    87      <field field_ref="vice_ipa"     /> 
    88      <field field_ref="utau_ice"     /> 
    89      <field field_ref="vtau_ice"     /> 
    90      <field field_ref="qsr_io_cea"   /> 
    91      <field field_ref="qns_io_cea"   /> 
    92      <field field_ref="snowpre"      /> 
     81     <field field_ref="ice_pres"   /> 
     82     <field field_ref="snowthic_cea" name="snd" /> 
     83     <field field_ref="icethic_cea"  name="sit" /> 
     84     <field field_ref="iceprod_cea"  name="sip" /> 
     85     <field field_ref="ist_ipa"    /> 
     86     <field field_ref="uice_ipa"   /> 
     87     <field field_ref="vice_ipa"   /> 
     88     <field field_ref="utau_ice"   /> 
     89     <field field_ref="vtau_ice"   /> 
     90     <field field_ref="qsr_io_cea" /> 
     91     <field field_ref="qns_io_cea" /> 
     92     <field field_ref="snowpre"    /> 
    9393   </file> 
    9494    
     
    115115     
    116116   <axis_definition>   
    117       <axis id="deptht" long_name="Vertical T levels" unit="m" positive="down" /> 
    118       <axis id="depthu" long_name="Vertical U levels" unit="m" positive="down" /> 
    119       <axis id="depthv" long_name="Vertical V levels" unit="m" positive="down" /> 
    120       <axis id="depthw" long_name="Vertical W levels" unit="m" positive="down" /> 
    121       <axis id="nfloat" long_name="Float number"      unit="-"  /> 
    122       <axis id="icbcla" long_name="Iceberg class"     unit="-"  /> 
    123    </axis_definition>  
     117      <axis id="deptht"  long_name="Vertical T levels"  unit="m" positive="down" /> 
     118      <axis id="depthu"  long_name="Vertical U levels"  unit="m" positive="down" /> 
     119      <axis id="depthv"  long_name="Vertical V levels"  unit="m" positive="down" /> 
     120      <axis id="depthw"  long_name="Vertical W levels"  unit="m" positive="down" /> 
     121      <axis id="nfloat"  long_name="Float number"       unit="1"                 /> 
     122      <axis id="icbcla"  long_name="Iceberg class"      unit="1"                 /> 
     123      <axis id="ncatice" long_name="Ice category class" unit="1"                 /> 
     124      <axis id="iax_20C" long_name="20 degC isotherm"   unit="degC"              /> 
     125      <axis id="iax_28C" long_name="28 degC isotherm"   unit="degC"              /> 
     126   </axis_definition> 
    124127     
    125128   <domain_definition src="./domain_def.xml"/> 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/CONFIG/SHARED/field_def.xml

    r5381 r5382  
    1313   <field_definition level="1" prec="4" operation="average" enabled=".TRUE." default_value="1.e20" > <!-- time step automaticaly defined --> 
    1414 
     15    <!--  
     16============================================================================================================ 
     17                                  Physical ocean and ice model variables 
     18============================================================================================================ 
     19    --> 
     20 
    1521      <!-- T grid --> 
    1622       
    17      <field_group id="grid_T" grid_ref="grid_T_2D" > 
    18          <field id="e3t"          long_name="T-cell thickness"                          unit="m"      grid_ref="grid_T_3D"/> 
    19  
    20          <field id="toce"         long_name="temperature"                               unit="degC"   grid_ref="grid_T_3D"/> 
    21          <field id="toce_e3t"     long_name="temperature * e3t"                         unit="degC*m" grid_ref="grid_T_3D" > toce * e3t </field > 
    22          <field id="soce"         long_name="salinity"                                  unit="psu"    grid_ref="grid_T_3D"/> 
    23          <field id="soce_e3t"     long_name="salinity * e3t"                            unit="psu*m"  grid_ref="grid_T_3D" > soce * e3t </field > 
    24  
    25          <field id="sst"          long_name="sea surface temperature"                   unit="degC"                     /> 
    26          <field id="sst2"         long_name="square of sea surface temperature"         unit="degC2"                     > sst * sst </field > 
    27          <field id="sstmax"       long_name="max of sea surface temperature"       field_ref="sst"  operation="maximum" /> 
    28          <field id="sstmin"       long_name="min of sea surface temperature"       field_ref="sst"  operation="minimum" /> 
    29          <field id="sstgrad"      long_name="module of sst gradient"                    unit="degC/m"                   /> 
    30          <field id="sstgrad2"     long_name="square of module of sst gradient"          unit="degC2/m2"                /> 
    31          <field id="sbt"          long_name="sea bottom temperature"                    unit="degC"                     /> 
     23      <field_group id="grid_T" grid_ref="grid_T_2D" > 
     24         <field id="e3t"          long_name="T-cell thickness"   standard_name="cell_thickness"   unit="m"   grid_ref="grid_T_3D"/> 
     25 
     26         <field id="toce"         long_name="temperature"         standard_name="sea_water_potential_temperature"   unit="degC"     grid_ref="grid_T_3D"/> 
     27         <field id="toce_e3t"     long_name="temperature * e3t"                                                     unit="degC*m"  grid_ref="grid_T_3D" > toce * e3t </field > 
     28         <field id="soce"         long_name="salinity"            standard_name="sea_water_practical_salinity"      unit="1e-3"     grid_ref="grid_T_3D"/> 
     29         <field id="soce_e3t"     long_name="salinity * e3t"                                                        unit="1e-3*m"   grid_ref="grid_T_3D" > soce * e3t </field > 
     30 
     31         <field id="sst"          long_name="sea surface temperature"             standard_name="sea_surface_temperature"             unit="degC"     /> 
     32         <field id="sst2"         long_name="square of sea surface temperature"   standard_name="square_of_sea_surface_temperature"   unit="degC2"     > sst * sst </field > 
     33         <field id="sstmax"       long_name="max of sea surface temperature"   field_ref="sst"   operation="maximum"                                  /> 
     34         <field id="sstmin"       long_name="min of sea surface temperature"   field_ref="sst"   operation="minimum"                                  /> 
     35         <field id="sstgrad"      long_name="module of sst gradient"                                                                  unit="degC/m"   /> 
     36         <field id="sstgrad2"     long_name="square of module of sst gradient"                                                        unit="degC2/m2" /> 
     37         <field id="sbt"          long_name="sea bottom temperature"                                                                  unit="degC"     /> 
    3238     
    33          <field id="sss"          long_name="sea surface salinity"                      unit="psu"                      /> 
    34          <field id="sss2"         long_name="square of sea surface salinity"            unit="psu2"                      >  sss * sss </field > 
    35          <field id="sssmax"       long_name="max of sea surface salinity"          field_ref="sss"  operation="maximum" /> 
    36          <field id="sssmin"       long_name="min of sea surface salinity"          field_ref="sss"  operation="minimum" /> 
    37          <field id="sbs"          long_name="sea bottom salinity"                       unit="psu"                      /> 
    38  
    39          <field id="ssh"          long_name="sea surface height"                        unit="m"                        /> 
    40          <field id="ssh2"         long_name="square of sea surface height"              unit="m2"                        >  ssh * ssh </field > 
    41          <field id="sshmax"       long_name="max of sea surface height"            field_ref="ssh"  operation="maximum" /> 
    42  
    43          <field id="mldkz5"       long_name="mixing layer depth (Turbocline)"           unit="m"                        /> 
    44          <field id="mldr10_1"     long_name="Mixed Layer Depth 0.01 ref.10m"            unit="m"                        /> 
    45          <field id="mldr10_1max"  long_name="max of Mixed Layer Depth 0.01 ref.10m" field_ref="mldr10_1"  operation="maximum" /> 
    46          <field id="mldr10_1min"  long_name="min of Mixed Layer Depth 0.01 ref.10m" field_ref="mldr10_1"  operation="minimum" /> 
    47          <field id="heatc"        long_name="Heat content vertically integrated"        unit="J/m2"                     /> 
    48          <field id="saltc"        long_name="Salt content vertically integrated"        unit="PSU*kg/m2"                /> 
     39         <field id="sss"          long_name="sea surface salinity"             standard_name="sea_surface_salinity"   unit="1e-3" /> 
     40         <field id="sss2"         long_name="square of sea surface salinity"                                          unit="1e-6"  > sss * sss </field > 
     41         <field id="sssmax"       long_name="max of sea surface salinity"   field_ref="sss"   operation="maximum"                 /> 
     42         <field id="sssmin"       long_name="min of sea surface salinity"   field_ref="sss"   operation="minimum"                 /> 
     43         <field id="sbs"          long_name="sea bottom salinity"                                                     unit="1e-3" /> 
     44 
     45         <field id="ssh"          long_name="sea surface height"             standard_name="sea_surface_height_above_geoid"             unit="m" /> 
     46         <field id="ssh2"         long_name="square of sea surface height"   standard_name="square_of_sea_surface_height_above_geoid"   unit="m2" > ssh * ssh </field > 
     47         <field id="sshmax"       long_name="max of sea surface height"   field_ref="ssh"   operation="maximum"                                  /> 
     48 
     49         <field id="mldkz5"       long_name="Turbocline depth (Kz = 5e-4)"                       standard_name="ocean_mixed_layer_thickness_defined_by_vertical_tracer_diffusivity"                unit="m"          /> 
     50         <field id="mldr10_1"     long_name="Mixed Layer Depth (dsigma = 0.01 wrt 10m)"          standard_name="ocean_mixed_layer_thickness_defined_by_sigma_theta"                                unit="m"          /> 
     51         <field id="mldr10_1max"  long_name="Max of Mixed Layer Depth (dsigma = 0.01 wrt 10m)"   field_ref="mldr10_1"   operation="maximum"                                                                          /> 
     52         <field id="mldr10_1min"  long_name="Min of Mixed Layer Depth (dsigma = 0.01 wrt 10m)"   field_ref="mldr10_1"   operation="minimum"                                                                          /> 
     53         <field id="heatc"        long_name="Heat content vertically integrated"                 standard_name="integral_of_sea_water_potential_temperature_wrt_depth_expressed_as_heat_content"   unit="J/m2"       /> 
     54         <field id="saltc"        long_name="Salt content vertically integrated"                                                                                                                   unit="1e-3*kg/m2" /> 
     55 
    4956         <!-- EOS --> 
    50          <field id="alpha"        long_name="thermal expansion"                         unit="1/degC" grid_ref="grid_T_3D"/> 
    51          <field id="beta"         long_name="haline contraction"                        unit="1/psu"  grid_ref="grid_T_3D"/> 
    52          <field id="bn2"          long_name="squared Brunt-Vaisala frequency"           unit="1/s"    grid_ref="grid_T_3D"/> 
    53          <field id="rhop"         long_name="potential density (sigma0)"                unit="kg/m3"  grid_ref="grid_T_3D"/> 
     57         <field id="alpha"        long_name="thermal expansion"                                                         unit="degC-1" grid_ref="grid_T_3D" /> 
     58         <field id="beta"         long_name="haline contraction"                                                        unit="1e3"    grid_ref="grid_T_3D" /> 
     59         <field id="bn2"          long_name="squared Brunt-Vaisala frequency"                                           unit="s-1"    grid_ref="grid_T_3D" /> 
     60         <field id="rhop"         long_name="potential density (sigma0)"        standard_name="sea_water_sigma_theta"   unit="kg/m3"  grid_ref="grid_T_3D" /> 
     61 
    5462         <!-- Energy - horizontal divergence --> 
    55          <field id="eken"         long_name="kinetic energy"                            unit="m2/s2"  grid_ref="grid_T_3D"/> 
    56          <field id="hdiv"         long_name="horizontal divergence"                     unit="s-1"    grid_ref="grid_T_3D"/> 
     63         <field id="eken"         long_name="kinetic energy"          standard_name="specific_kinetic_energy_of_sea_water"   unit="m2/s2"  grid_ref="grid_T_3D" /> 
     64         <field id="hdiv"         long_name="horizontal divergence"                                                          unit="s-1"    grid_ref="grid_T_3D" /> 
     65 
    5766         <!-- variables available with MLE --> 
    58          <field id="Lf_NHpf"      long_name="MLE: Lf = N H / f"                         unit="m"                        /> 
     67         <field id="Lf_NHpf"      long_name="MLE: Lf = N H / f"   unit="m" /> 
     68 
    5969         <!-- next variables available with key_diahth --> 
    60          <field id="mlddzt"       long_name="Thermocline Depth (max dT/dz)"             unit="m"                        /> 
    61          <field id="mldr10_3"     long_name="Mixed Layer Depth dr=0.03 (ref.10m)"       unit="m"                        /> 
    62          <field id="mldr0_1"      long_name="Mixed Layer Depth dr=0.01 (ref.surf)"      unit="m"                        /> 
    63          <field id="mldr0_3"      long_name="Mixed Layer Depth dr=0.03 (ref.surf)"      unit="m"                        /> 
    64          <field id="mld_dt02"     long_name="Mixed Layer Depth |dt|=0.2 (ref.10m)"      unit="m"                        /> 
    65          <field id="topthdep"     long_name="Top of the thermocline dt=-0.2 (ref.10m)"  unit="m"                        /> 
    66          <field id="pycndep"      long_name="Pycnocline depth dr~dt=-0.2 (ref.10m)"     unit="m"                        /> 
    67          <field id="BLT"          long_name="Barrier Layer Thickness"                   unit="m"                        /> 
    68          <field id="tinv"         long_name="Max of vertical invertion of temperature"  unit="degC"                     /> 
    69          <field id="depti"        long_name="Depth of max. vert. inv. of temperature"   unit="m"                        /> 
    70          <field id="20d"          long_name="Depth of 20C isotherm"                     unit="m"                        /> 
    71          <field id="28d"          long_name="Depth of 28C isotherm"                     unit="m"                        /> 
    72          <field id="hc300"        long_name="Heat content 300 m"                        unit="W"                        /> 
     70         <field id="mlddzt"       long_name="Thermocline Depth (depth of max dT/dz)"         standard_name="depth_at_maximum_upward_derivative_of_sea_water_potential_temperature"             unit="m"                         /> 
     71         <field id="mldr10_3"     long_name="Mixed Layer Depth (dsigma = 0.03 wrt 10m)"      standard_name="ocean_mixed_layer_thickness_defined_by_sigma_theta"                                unit="m"                         /> 
     72         <field id="mldr0_1"      long_name="Mixed Layer Depth (dsigma = 0.01 wrt sfc)"      standard_name="ocean_mixed_layer_thickness_defined_by_sigma_theta"                                unit="m"                         /> 
     73         <field id="mldr0_3"      long_name="Mixed Layer Depth (dsigma = 0.03 wrt sfc)"      standard_name="ocean_mixed_layer_thickness_defined_by_sigma_theta"                                unit="m"                         /> 
     74         <field id="mld_dt02"     long_name="Mixed Layer Depth (|dT| = 0.2 wrt 10m)"         standard_name="ocean_mixed_layer_thickness_defined_by_temperature"                                unit="m"                         /> 
     75         <field id="topthdep"     long_name="Top of Thermocline Depth (dT = -0.2 wrt 10m)"   standard_name="ocean_mixed_layer_thickness_defined_by_temperature"                                unit="m"                         /> 
     76         <field id="pycndep"      long_name="Pycnocline Depth (dsigma[dT=-0.2] wrt 10m)"     standard_name="ocean_mixed_layer_thickness_defined_by_sigma_theta"                                unit="m"                         /> 
     77         <field id="BLT"          long_name="Barrier Layer Thickness"                                                                                                                          unit="m"                          > topthdep - pycndep </field> 
     78         <field id="tinv"         long_name="Max of vertical invertion of temperature"                                                                                                         unit="degC"                      /> 
     79         <field id="depti"        long_name="Depth of max. vert. inv. of temperature"                                                                                                          unit="m"                         /> 
     80         <field id="20d"          long_name="Depth of 20C isotherm"                          standard_name="depth_of_isosurface_of_sea_water_potential_temperature"                            unit="m"      axis_ref="iax_20C" /> 
     81         <field id="28d"          long_name="Depth of 28C isotherm"                          standard_name="depth_of_isosurface_of_sea_water_potential_temperature"                            unit="m"      axis_ref="iax_28C" /> 
     82         <field id="hc300"        long_name="Heat content 0-300m"                            standard_name="integral_of_sea_water_potential_temperature_wrt_depth_expressed_as_heat_content"   unit="J/m2"                      /> 
     83 
    7384         <!-- variables available with key_diaar5 --> 
    74          <field id="botpres"      long_name="Pressure at sea floor"                     unit="dbar"                    /> 
    75          <!-- variables available with key_diaar5/key_vvl --> 
     85         <field id="botpres"      long_name="Pressure at sea floor"   standard_name="sea_water_pressure_at_sea_floor"   unit="dbar" /> 
     86 
    7687         <!-- variables available with key_vvl --> 
    77          <field id="tpt_dep"      long_name="T-point depth"                             unit="m"    grid_ref="grid_T_3D"/> 
    78          <field id="e3tdef"       long_name="T-cell thickness deformation"              unit="%"    grid_ref="grid_T_3D"/> 
    79      </field_group> 
    80  
    81      <field_group id="Tides_T" grid_ref="grid_T_2D" operation="once" > 
    82     <!-- tidal composante --> 
    83     <field id="M2x"          long_name="M2 Elevation harmonic real part "                             unit="m"        /> 
    84     <field id="M2y"          long_name="M2 Elevation harmonic imaginary part"                         unit="m"        /> 
    85     <field id="S2x"          long_name="S2 Elevation harmonic real part "                             unit="m"        /> 
    86     <field id="S2y"          long_name="S2 Elevation harmonic imaginary part"                         unit="m"        /> 
    87     <field id="N2x"          long_name="N2 Elevation harmonic real part "                             unit="m"        /> 
    88     <field id="N2y"          long_name="N2 Elevation harmonic imaginary part"                         unit="m"        /> 
    89     <field id="K1x"          long_name="K1 Elevation harmonic real part "                             unit="m"        /> 
    90     <field id="K1y"          long_name="K1 Elevation harmonic imaginary part"                         unit="m"        /> 
    91     <field id="O1x"          long_name="O1 Elevation harmonic real part "                             unit="m"        /> 
    92     <field id="O1y"          long_name="O1 Elevation harmonic imaginary part"                         unit="m"        /> 
    93     <field id="Q1x"          long_name="Q1 Elevation harmonic real part "                             unit="m"        /> 
    94     <field id="Q1y"          long_name="Q1 Elevation harmonic imaginary part"                         unit="m"        /> 
    95     <field id="M4x"          long_name="M4 Elevation harmonic real part "                             unit="m"        /> 
    96     <field id="M4y"          long_name="M4 Elevation harmonic imaginary part"                         unit="m"        /> 
    97     <field id="K2x"          long_name="K2 Elevation harmonic real part "                             unit="m"        /> 
    98     <field id="K2y"          long_name="K2 Elevation harmonic imaginary part"                         unit="m"        /> 
    99     <field id="P1x"          long_name="P1 Elevation harmonic real part "                             unit="m"        /> 
    100     <field id="P1y"          long_name="P1 Elevation harmonic imaginary part"                         unit="m"        /> 
    101     <field id="Mfx"          long_name="Mf Elevation harmonic real part "                             unit="m"        /> 
    102     <field id="Mfy"          long_name="Mf Elevation harmonic imaginary part"                         unit="m"        /> 
    103     <field id="Mmx"          long_name="Mm Elevation harmonic real part "                             unit="m"        /> 
    104     <field id="Mmy"          long_name="Mm Elevation harmonic imaginary part"                         unit="m"        /> 
    105      </field_group> 
     88         <field id="tpt_dep"      long_name="T-point depth"                  standard_name="depth_below_geoid"   unit="m"   grid_ref="grid_T_3D" /> 
     89         <field id="e3tdef"       long_name="T-cell thickness deformation"                                       unit="%"   grid_ref="grid_T_3D" /> 
     90      </field_group> 
     91 
     92      <!-- Tides --> 
     93 
     94      <field_group id="Tides_T" grid_ref="grid_T_2D" operation="once" > 
     95         <!-- tidal composante --> 
     96         <field id="M2x"          long_name="M2 Elevation harmonic real part "                             unit="m"        /> 
     97         <field id="M2y"          long_name="M2 Elevation harmonic imaginary part"                         unit="m"        /> 
     98         <field id="S2x"          long_name="S2 Elevation harmonic real part "                             unit="m"        /> 
     99         <field id="S2y"          long_name="S2 Elevation harmonic imaginary part"                         unit="m"        /> 
     100         <field id="N2x"          long_name="N2 Elevation harmonic real part "                             unit="m"        /> 
     101         <field id="N2y"          long_name="N2 Elevation harmonic imaginary part"                         unit="m"        /> 
     102         <field id="K1x"          long_name="K1 Elevation harmonic real part "                             unit="m"        /> 
     103         <field id="K1y"          long_name="K1 Elevation harmonic imaginary part"                         unit="m"        /> 
     104         <field id="O1x"          long_name="O1 Elevation harmonic real part "                             unit="m"        /> 
     105         <field id="O1y"          long_name="O1 Elevation harmonic imaginary part"                         unit="m"        /> 
     106         <field id="Q1x"          long_name="Q1 Elevation harmonic real part "                             unit="m"        /> 
     107         <field id="Q1y"          long_name="Q1 Elevation harmonic imaginary part"                         unit="m"        /> 
     108         <field id="M4x"          long_name="M4 Elevation harmonic real part "                             unit="m"        /> 
     109         <field id="M4y"          long_name="M4 Elevation harmonic imaginary part"                         unit="m"        /> 
     110         <field id="K2x"          long_name="K2 Elevation harmonic real part "                             unit="m"        /> 
     111         <field id="K2y"          long_name="K2 Elevation harmonic imaginary part"                         unit="m"        /> 
     112         <field id="P1x"          long_name="P1 Elevation harmonic real part "                             unit="m"        /> 
     113         <field id="P1y"          long_name="P1 Elevation harmonic imaginary part"                         unit="m"        /> 
     114         <field id="Mfx"          long_name="Mf Elevation harmonic real part "                             unit="m"        /> 
     115         <field id="Mfy"          long_name="Mf Elevation harmonic imaginary part"                         unit="m"        /> 
     116         <field id="Mmx"          long_name="Mm Elevation harmonic real part "                             unit="m"        /> 
     117         <field id="Mmy"          long_name="Mm Elevation harmonic imaginary part"                         unit="m"        /> 
     118      </field_group> 
    106119     
    107      <field_group id="Tides_U" grid_ref="grid_U_2D" operation="once" > 
    108     <field id="M2x_u"          long_name="M2 current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    109     <field id="M2y_u"          long_name="M2 current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    110     <field id="S2x_u"          long_name="S2 current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    111     <field id="S2y_u"          long_name="S2 current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    112     <field id="N2x_u"          long_name="N2 current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    113     <field id="N2y_u"          long_name="N2 current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    114     <field id="K1x_u"          long_name="K1 current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    115     <field id="K1y_u"          long_name="K1 current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    116     <field id="O1x_u"          long_name="O1 current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    117     <field id="O1y_u"          long_name="O1 current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    118     <field id="Q1x_u"          long_name="Q1 current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    119     <field id="Q1y_u"          long_name="Q1 current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    120     <field id="M4x_u"          long_name="M4 current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    121     <field id="M4y_u"          long_name="M4 current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    122     <field id="K2x_u"          long_name="K2 current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    123     <field id="K2y_u"          long_name="K2 current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    124     <field id="P1x_u"          long_name="P1 current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    125     <field id="P1y_u"          long_name="P1 current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    126     <field id="Mfx_u"          long_name="Mf current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    127     <field id="Mfy_u"          long_name="Mf current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    128     <field id="Mmx_u"          long_name="Mm current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    129     <field id="Mmy_u"          long_name="Mm current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    130      </field_group> 
     120      <field_group id="Tides_U" grid_ref="grid_U_2D" operation="once" > 
     121         <field id="M2x_u"        long_name="M2 current barotrope along i-axis harmonic real part "        unit="m/s"      /> 
     122         <field id="M2y_u"        long_name="M2 current barotrope along i-axis harmonic imaginary part "   unit="m/s"      /> 
     123         <field id="S2x_u"        long_name="S2 current barotrope along i-axis harmonic real part "        unit="m/s"      /> 
     124         <field id="S2y_u"        long_name="S2 current barotrope along i-axis harmonic imaginary part "   unit="m/s"      /> 
     125         <field id="N2x_u"        long_name="N2 current barotrope along i-axis harmonic real part "        unit="m/s"      /> 
     126         <field id="N2y_u"        long_name="N2 current barotrope along i-axis harmonic imaginary part "   unit="m/s"      /> 
     127         <field id="K1x_u"        long_name="K1 current barotrope along i-axis harmonic real part "        unit="m/s"      /> 
     128         <field id="K1y_u"        long_name="K1 current barotrope along i-axis harmonic imaginary part "   unit="m/s"      /> 
     129         <field id="O1x_u"        long_name="O1 current barotrope along i-axis harmonic real part "        unit="m/s"      /> 
     130         <field id="O1y_u"        long_name="O1 current barotrope along i-axis harmonic imaginary part "   unit="m/s"      /> 
     131         <field id="Q1x_u"        long_name="Q1 current barotrope along i-axis harmonic real part "        unit="m/s"      /> 
     132         <field id="Q1y_u"        long_name="Q1 current barotrope along i-axis harmonic imaginary part "   unit="m/s"      /> 
     133         <field id="M4x_u"        long_name="M4 current barotrope along i-axis harmonic real part "        unit="m/s"      /> 
     134         <field id="M4y_u"        long_name="M4 current barotrope along i-axis harmonic imaginary part "   unit="m/s"      /> 
     135         <field id="K2x_u"        long_name="K2 current barotrope along i-axis harmonic real part "        unit="m/s"      /> 
     136         <field id="K2y_u"        long_name="K2 current barotrope along i-axis harmonic imaginary part "   unit="m/s"      /> 
     137         <field id="P1x_u"        long_name="P1 current barotrope along i-axis harmonic real part "        unit="m/s"      /> 
     138         <field id="P1y_u"        long_name="P1 current barotrope along i-axis harmonic imaginary part "   unit="m/s"      /> 
     139         <field id="Mfx_u"        long_name="Mf current barotrope along i-axis harmonic real part "        unit="m/s"      /> 
     140         <field id="Mfy_u"        long_name="Mf current barotrope along i-axis harmonic imaginary part "   unit="m/s"      /> 
     141         <field id="Mmx_u"        long_name="Mm current barotrope along i-axis harmonic real part "        unit="m/s"      /> 
     142         <field id="Mmy_u"        long_name="Mm current barotrope along i-axis harmonic imaginary part "   unit="m/s"      /> 
     143      </field_group> 
    131144     
    132      <field_group id="Tides_V" grid_ref="grid_V_2D" operation="once" > 
    133     <field id="M2x_v"          long_name="M2 current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    134     <field id="M2y_v"          long_name="M2 current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    135     <field id="S2x_v"          long_name="S2 current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    136     <field id="S2y_v"          long_name="S2 current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    137     <field id="N2x_v"          long_name="N2 current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    138     <field id="N2y_v"          long_name="N2 current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    139     <field id="K1x_v"          long_name="K1 current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    140     <field id="K1y_v"          long_name="K1 current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    141     <field id="O1x_v"          long_name="O1 current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    142     <field id="O1y_v"          long_name="O1 current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    143     <field id="Q1x_v"          long_name="Q1 current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    144     <field id="Q1y_v"          long_name="Q1 current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    145     <field id="M4x_v"          long_name="M4 current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    146     <field id="M4y_v"          long_name="M4 current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    147     <field id="K2x_v"          long_name="K2 current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    148     <field id="K2y_v"          long_name="K2 current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    149     <field id="P1x_v"          long_name="P1 current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    150     <field id="P1y_v"          long_name="P1 current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    151     <field id="Mfx_v"          long_name="Mf current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    152     <field id="Mfy_v"          long_name="Mf current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    153     <field id="Mmx_v"          long_name="Mm current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    154     <field id="Mmy_v"          long_name="Mm current barotrope along j-axis harmonic imaginary part " unit="m/s"        />   
    155      </field_group> 
    156  
     145      <field_group id="Tides_V" grid_ref="grid_V_2D" operation="once" > 
     146         <field id="M2x_v"        long_name="M2 current barotrope along j-axis harmonic real part "        unit="m/s"      /> 
     147         <field id="M2y_v"        long_name="M2 current barotrope along j-axis harmonic imaginary part "   unit="m/s"      /> 
     148         <field id="S2x_v"        long_name="S2 current barotrope along j-axis harmonic real part "        unit="m/s"      /> 
     149         <field id="S2y_v"        long_name="S2 current barotrope along j-axis harmonic imaginary part "   unit="m/s"      /> 
     150         <field id="N2x_v"        long_name="N2 current barotrope along j-axis harmonic real part "        unit="m/s"      /> 
     151         <field id="N2y_v"        long_name="N2 current barotrope along j-axis harmonic imaginary part "   unit="m/s"      /> 
     152         <field id="K1x_v"        long_name="K1 current barotrope along j-axis harmonic real part "        unit="m/s"      /> 
     153         <field id="K1y_v"        long_name="K1 current barotrope along j-axis harmonic imaginary part "   unit="m/s"      /> 
     154         <field id="O1x_v"        long_name="O1 current barotrope along j-axis harmonic real part "        unit="m/s"      /> 
     155         <field id="O1y_v"        long_name="O1 current barotrope along j-axis harmonic imaginary part "   unit="m/s"      /> 
     156         <field id="Q1x_v"        long_name="Q1 current barotrope along j-axis harmonic real part "        unit="m/s"      /> 
     157         <field id="Q1y_v"        long_name="Q1 current barotrope along j-axis harmonic imaginary part "   unit="m/s"      /> 
     158         <field id="M4x_v"        long_name="M4 current barotrope along j-axis harmonic real part "        unit="m/s"      /> 
     159         <field id="M4y_v"        long_name="M4 current barotrope along j-axis harmonic imaginary part "   unit="m/s"      /> 
     160         <field id="K2x_v"        long_name="K2 current barotrope along j-axis harmonic real part "        unit="m/s"      /> 
     161         <field id="K2y_v"        long_name="K2 current barotrope along j-axis harmonic imaginary part "   unit="m/s"      /> 
     162         <field id="P1x_v"        long_name="P1 current barotrope along j-axis harmonic real part "        unit="m/s"      /> 
     163         <field id="P1y_v"        long_name="P1 current barotrope along j-axis harmonic imaginary part "   unit="m/s"      /> 
     164         <field id="Mfx_v"        long_name="Mf current barotrope along j-axis harmonic real part "        unit="m/s"      /> 
     165         <field id="Mfy_v"        long_name="Mf current barotrope along j-axis harmonic imaginary part "   unit="m/s"      /> 
     166         <field id="Mmx_v"        long_name="Mm current barotrope along j-axis harmonic real part "        unit="m/s"      /> 
     167         <field id="Mmy_v"        long_name="Mm current barotrope along j-axis harmonic imaginary part "   unit="m/s"      />   
     168      </field_group> 
    157169 
    158170      <!-- SBC --> 
    159171       
    160172      <field_group id="SBC" grid_ref="grid_T_2D" > <!-- time step automaticaly defined based on nn_fsbc --> 
    161  
    162          <field id="empmr"        long_name="Net Upward Water Flux"                                        unit="kg/m2/s"  /> 
    163          <field id="saltflx"      long_name="Downward salt flux"                                           unit="PSU/m2/s" /> 
    164          <field id="fmmflx"       long_name="Water flux due to freezing/melting"                           unit="kg/m2/s"  /> 
    165          <field id="snowpre"      long_name="Snow precipitation"                                           unit="kg/m2/s"  /> 
    166          <field id="runoffs"      long_name="River Runoffs"                                                unit="Kg/m2/s"  /> 
    167          <field id="precip"       long_name="Total precipitation"                                          unit="kg/m2/s"  /> 
    168  
    169  
    170          <field id="qt"           long_name="Net Downward Heat Flux"                                       unit="W/m2"     /> 
    171          <field id="qns"          long_name="non solar Downward Heat Flux"                                 unit="W/m2"     /> 
    172          <field id="qsr"          long_name="Shortwave Radiation"                                          unit="W/m2"     /> 
    173          <field id="qsr3d"        long_name="Shortwave Radiation 3D distribution"  grid_ref="grid_T_3D"    unit="W/m2"     /> 
    174          <field id="qrp"          long_name="Surface Heat Flux: Damping"                                   unit="W/m2"     /> 
    175          <field id="erp"          long_name="Surface Water Flux: Damping"                                  unit="Kg/m2/s"  /> 
    176          <field id="taum"         long_name="wind stress module"                                           unit="N/m2"     /> 
    177          <field id="wspd"         long_name="Wind speed module at 10 m"                                    unit="m/s"      /> 
     173         <field id="empmr"        long_name="Net Upward Water Flux"                standard_name="water_flux_out_of_sea_ice_and_sea_water"                              unit="kg/m2/s"   /> 
     174         <field id="saltflx"      long_name="Downward salt flux"                                                                                                        unit="1e-3/m2/s" /> 
     175         <field id="fmmflx"       long_name="Water flux due to freezing/melting"                                                                                        unit="kg/m2/s"   /> 
     176         <field id="snowpre"      long_name="Snow precipitation"                   standard_name="snowfall_flux"                                                        unit="kg/m2/s"   /> 
     177         <field id="runoffs"      long_name="River Runoffs"                        standard_name="water_flux_into_sea_water_from_rivers"                                unit="kg/m2/s"   /> 
     178         <field id="precip"       long_name="Total precipitation"                  standard_name="precipitation_flux"                                                   unit="kg/m2/s"   /> 
     179  
     180         <field id="qt"           long_name="Net Downward Heat Flux"                standard_name="surface_downward_heat_flux_in_sea_water"                              unit="W/m2"                           /> 
     181         <field id="qns"          long_name="non solar Downward Heat Flux"                                                                                               unit="W/m2"                           /> 
     182         <field id="qsr"          long_name="Shortwave Radiation"                   standard_name="net_downward_shortwave_flux_at_sea_water_surface"                     unit="W/m2"                           /> 
     183         <field id="qsr3d"        long_name="Shortwave Radiation 3D distribution"   standard_name="downwelling_shortwave_flux_in_sea_water"                              unit="W/m2"      grid_ref="grid_T_3D" /> 
     184         <field id="qrp"          long_name="Surface Heat Flux: Damping"            standard_name="heat_flux_into_sea_water_due_to_newtonian_relaxation"                 unit="W/m2"                           /> 
     185         <field id="erp"          long_name="Surface Water Flux: Damping"           standard_name="water_flux_out_of_sea_water_due_to_newtonian_relaxation"              unit="kg/m2/s"                        /> 
     186         <field id="taum"         long_name="wind stress module"                    standard_name="magnitude_of_surface_downward_stress"                                 unit="N/m2"                           /> 
     187         <field id="wspd"         long_name="wind speed module"                     standard_name="wind_speed"                                                           unit="m/s"                            /> 
    178188          
    179     <!-- * variable relative to atmospheric pressure forcing : available with ln_apr_dyn --> 
    180     <field id="ssh_ib"       long_name="Inverse barometer sea surface height"                         unit="m"        /> 
     189        <!-- * variable relative to atmospheric pressure forcing : available with ln_apr_dyn --> 
     190         <field id="ssh_ib"       long_name="Inverse barometer sea surface height"  standard_name="sea_surface_height_correction_due_to_air_pressure_at_low_frequency"   unit="m"        /> 
    181191 
    182192         <!-- * variable related to ice shelf forcing * --> 
    183          <field id="fwfisf"       long_name="Ice shelf melting"                                            unit="Kg/m2/s"  /> 
    184          <field id="qisf"         long_name="Ice Shelf Heat Flux"                                          unit="W/m2"     /> 
    185          <field id="isfgammat"    long_name="transfert coefficient for isf (temperature) "                 unit="m/s"      /> 
    186          <field id="isfgammas"    long_name="transfert coefficient for isf (salinity)    "                 unit="m/s"      /> 
    187     <field id="stbl"         long_name="salinity in the Losh tbl                    "                 unit="PSU"      /> 
    188     <field id="ttbl"         long_name="temperature in the Losh tbl                 "                 unit="C"        /> 
     193         <field id="fwfisf"       long_name="Ice shelf melting"                             unit="kg/m2/s"  /> 
     194         <field id="qisf"         long_name="Ice Shelf Heat Flux"                           unit="W/m2"     /> 
     195         <field id="isfgammat"    long_name="transfert coefficient for isf (temperature)"   unit="m/s"      /> 
     196         <field id="isfgammas"    long_name="transfert coefficient for isf (salinity)"      unit="m/s"      /> 
     197         <field id="stbl"         long_name="salinity in the Losh tbl"                      unit="1e-3"     /> 
     198         <field id="ttbl"         long_name="temperature in the Losh tbl"                   unit="degC"     /> 
    189199 
    190200         <!-- *_oce variables available with ln_blk_clio or ln_blk_core --> 
    191          <field id="qlw_oce"      long_name="Longwave Downward Heat Flux over open ocean"                  unit="W/m2"     /> 
    192          <field id="qsb_oce"      long_name="Sensible Downward Heat Flux over open ocean"                  unit="W/m2"     /> 
    193          <field id="qla_oce"      long_name="Latent Downward Heat Flux over open ocean"                    unit="W/m2"     /> 
    194          <field id="qemp_oce"     long_name="Downward Heat Content of E-P over open ocean"                 unit="W/m2"     /> 
    195          <field id="taum_oce"     long_name="wind stress module over open ocean"                           unit="N/m2"     /> 
     201         <field id="qlw_oce"      long_name="Longwave Downward Heat Flux over open ocean"  standard_name="surface_net_downward_longwave_flux"   unit="W/m2"  /> 
     202         <field id="qsb_oce"      long_name="Sensible Downward Heat Flux over open ocean"  standard_name="surface_downward_sensible_heat_flux"  unit="W/m2"  /> 
     203         <field id="qla_oce"      long_name="Latent Downward Heat Flux over open ocean"    standard_name="surface_downward_latent_heat_flux"    unit="W/m2"  /> 
     204         <field id="qemp_oce"     long_name="Downward Heat Flux from E-P over open ocean"                                                       unit="W/m2"  /> 
     205         <field id="taum_oce"     long_name="wind stress module over open ocean"           standard_name="magnitude_of_surface_downward_stress" unit="N/m2"  /> 
    196206 
    197207         <!-- available key_oasis3 --> 
    198          <field id="snow_ao_cea"   long_name="Snow over ice-free ocean (cell average)"                     unit="kg/m2/s"  /> 
    199          <field id="snow_ai_cea"   long_name="Snow over sea-ice (cell average)"                            unit="kg/m2/s"  /> 
    200          <field id="subl_ai_cea"   long_name="Sublimation over sea-ice (cell average)"                     unit="kg/m2/s"  /> 
    201          <field id="icealb_cea"    long_name="Ice albedo (cell average)"                                   unit="1"        /> 
    202          <field id="calving"       long_name="Calving"                                                     unit="kg/m2/s"  /> 
     208         <field id="snow_ao_cea"  long_name="Snow over ice-free ocean (cell average)"   standard_name="snowfall_flux"                             unit="kg/m2/s"  /> 
     209         <field id="snow_ai_cea"  long_name="Snow over sea-ice (cell average)"          standard_name="snowfall_flux"                             unit="kg/m2/s"  /> 
     210         <field id="subl_ai_cea"  long_name="Sublimation over sea-ice (cell average)"   standard_name="surface_snow_and_ice_sublimation_flux"     unit="kg/m2/s"  /> 
     211         <field id="icealb_cea"   long_name="Ice albedo (cell average)"                 standard_name="sea_ice_albedo"                            unit="1"        /> 
     212         <field id="calving_cea"  long_name="Calving"                                   standard_name="water_flux_into_sea_water_from_icebergs"   unit="kg/m2/s"  /> 
     213 
    203214         <!-- available if key_oasis3 + conservative method --> 
    204          <field id="rain"          long_name="Liquid precipitation"                                        unit="Kg/m2/s"  /> 
    205          <field id="evap_ao_cea"   long_name="Evaporation over ice-free ocean (cell average)"              unit="kg/m2/s"  /> 
    206          <!-- variables available with key_diaar5 --> 
    207          <field id="isnwmlt_cea"   long_name="Snow over Ice melting (cell average)"                        unit="kg/m2/s"  /> 
    208          <field id="fsal_virt_cea" long_name="Virtual salt flux due to ice formation (cell average)"       unit="kg/m2/s"  /> 
    209          <field id="fsal_real_cea" long_name="Real salt flux due to ice formation (cell average)"          unit="kg/m2/s"  /> 
    210          <field id="hflx_rain_cea" long_name="heat flux due to rainfall"                                   unit="W/m2"     /> 
    211          <field id="hflx_evap_cea" long_name="heat flux due to evaporation"                                unit="W/m2"     /> 
    212          <field id="hflx_snow_cea" long_name="heat flux due to snow falling over ice-free ocean"           unit="W/m2"     /> 
    213          <field id="hflx_ice_cea"  long_name="heat flux due to ice thermodynamics"                         unit="W/m2"     /> 
    214          <field id="hflx_rnf_cea"  long_name="heat flux due to runoffs"                                    unit="W/m2"     /> 
    215          <field id="hflx_cal_cea"  long_name="heat flux due to calving"                                    unit="W/m2"     /> 
    216          <field id="bicemel_cea"   long_name="Rate of Melt at Sea Ice Base (cell average)"                 unit="kg/m2/s"  /> 
    217          <field id="licepro_cea"   long_name="Lateral Sea Ice Growth Rate (cell average)"                  unit="kg/m2/s"  /> 
    218          <field id="snowmel_cea"   long_name="Snow Melt Rate (cell average)"                               unit="kg/m2/s"  /> 
    219          <field id="sntoice_cea"   long_name="Snow-Ice Formation Rate (cell average)"                      unit="kg/m2/s"  /> 
    220          <field id="ticemel_cea"   long_name="Rate of Melt at Upper Surface of Sea Ice (cell average)"     unit="kg/m2/s"  /> 
    221  
    222     <!-- ice fields --> 
    223  
    224          <field id="ice_cover"    long_name="Ice fraction"                                                 unit="1"        /> 
    225  
    226          <field id="qsr_ai_cea"   long_name="Air-Ice downward solar heat flux (cell average)"              unit="W/m2"     /> 
    227          <field id="qns_ai_cea"   long_name="Air-Ice downward non-solar heat flux (cell average)"          unit="W/m2"     /> 
    228          <field id="qla_ai_cea"   long_name="Air-Ice downward Latent heat flux (cell average)"             unit="W/m2"     /> 
     215         <field id="rain"          long_name="Liquid precipitation"                                     standard_name="rainfall_flux"                                                                 unit="kg/m2/s"  /> 
     216         <field id="evap_ao_cea"   long_name="Evaporation over ice-free ocean (cell average)"           standard_name="water_evaporation_flux"                                                        unit="kg/m2/s"  /> 
     217         <field id="isnwmlt_cea"   long_name="Snow over Ice melting (cell average)"                     standard_name="surface_snow_melt_flux"                                                        unit="kg/m2/s"  /> 
     218         <field id="fsal_virt_cea" long_name="Virtual salt flux due to ice formation (cell average)"    standard_name="virtual_salt_flux_into_sea_water_due_to_sea_ice_thermodynamics"                unit="kg/m2/s"  /> 
     219         <field id="fsal_real_cea" long_name="Real salt flux due to ice formation (cell average)"       standard_name="downward_sea_ice_basal_salt_flux"                                              unit="kg/m2/s"  /> 
     220         <field id="hflx_rain_cea" long_name="heat flux due to rainfall"                                standard_name="temperature_flux_due_to_rainfall_expressed_as_heat_flux_into_sea_water"        unit="W/m2"     /> 
     221         <field id="hflx_evap_cea" long_name="heat flux due to evaporation"                             standard_name="temperature_flux_due_to_evaporation_expressed_as_heat_flux_out_of_sea_water"   unit="W/m2"     /> 
     222         <field id="hflx_snow_cea" long_name="heat flux due to snow falling over ice-free ocean"        standard_name="heat_flux_into_sea_water_due_to_snow_thermodynamics"                           unit="W/m2"     /> 
     223         <field id="hflx_ice_cea"  long_name="heat flux due to ice thermodynamics"                      standard_name="heat_flux_into_sea_water_due_to_sea_ice_thermodynamics"                        unit="W/m2"     /> 
     224         <field id="hflx_rnf_cea"  long_name="heat flux due to runoffs"                                 standard_name="temperature_flux_due_to_runoff_expressed_as_heat_flux_into_sea_water"          unit="W/m2"     /> 
     225         <field id="hflx_cal_cea"  long_name="heat flux due to calving"                                 standard_name="heat_flux_into_sea_water_due_to_iceberg_thermodynamics"                        unit="W/m2"     /> 
     226         <field id="bicemel_cea"   long_name="Rate of Melt at Sea Ice Base (cell average)"              standard_name="tendency_of_sea_ice_amount_due_to_basal_melting"                               unit="kg/m2/s"  /> 
     227         <field id="licepro_cea"   long_name="Lateral Sea Ice Growth Rate (cell average)"               standard_name="tendency_of_sea_ice_amount_due_to_lateral_growth_of_ice_floes"                 unit="kg/m2/s"  /> 
     228         <field id="snowmel_cea"   long_name="Snow Melt Rate (cell average)"                            standard_name="surface_snow_melt_flux"                                                        unit="kg/m2/s"  /> 
     229         <field id="sntoice_cea"   long_name="Snow-Ice Formation Rate (cell average)"                   standard_name="tendency_of_sea_ice_amount_due_to_snow_conversion"                             unit="kg/m2/s"  /> 
     230         <field id="ticemel_cea"   long_name="Rate of Melt at Upper Surface of Sea Ice (cell average)"  standard_name="tendency_of_sea_ice_amount_due_to_surface_melting"                             unit="kg/m2/s"  /> 
     231 
     232         <!-- ice fields --> 
     233         <field id="ice_cover"    long_name="Ice fraction"                                                 standard_name="sea_ice_area_fraction"                              unit="1"            /> 
     234 
     235         <field id="qsr_ai_cea"   long_name="Air-Ice downward solar heat flux (cell average)"              standard_name="surface_downwelling_shortwave_flux_in_air"          unit="W/m2"         /> 
     236         <field id="qns_ai_cea"   long_name="Air-Ice downward non-solar heat flux (cell average)"                                                                             unit="W/m2"         /> 
     237         <field id="qla_ai_cea"   long_name="Air-Ice downward Latent heat flux (cell average)"             standard_name="surface_downward_latent_heat_flux"                  unit="W/m2"         /> 
    229238          
    230          <field id="qsr_io_cea"   long_name="Ice-Oce downward solar heat flux (cell average)"              unit="W/m2"     /> 
    231          <field id="qns_io_cea"   long_name="Ice-Oce downward non-solar heat flux (cell average)"          unit="W/m2"     /> 
     239         <field id="qsr_io_cea"   long_name="Ice-Oce downward solar heat flux (cell average)"              standard_name="net_downward_shortwave_flux_at_sea_water_surface"   unit="W/m2"         /> 
     240         <field id="qns_io_cea"   long_name="Ice-Oce downward non-solar heat flux (cell average)"                                                                             unit="W/m2"         /> 
    232241          
    233          <field id="snowthic_cea" long_name="Snow thickness (cell average)"                                unit="m"        /> 
    234          <field id="icethic_cea"  long_name="Ice thickness (cell average)"                                 unit="m"        /> 
    235          <field id="iceprod_cea"  long_name="Ice production (cell average)"                                unit="m/s"      /> 
    236          <field id="iiceconc"     long_name="Ice concentration"                                            unit=""         /> 
     242         <field id="snowthic_cea" long_name="Snow thickness (cell average)"                                standard_name="surface_snow_thickness"                             unit="m"            /> 
     243         <field id="icethic_cea"  long_name="Ice thickness (cell average)"                                 standard_name="sea_ice_thickness"                                  unit="m"            /> 
     244         <field id="iceprod_cea"  long_name="Ice production (cell average)"                                                                                                   unit="m/s"          /> 
     245         <field id="iiceconc"     long_name="Ice concentration"                                            standard_name="sea_ice_area_fraction"                              unit="1"            /> 
    237246          
    238          <field id="ice_pres"     long_name="Ice presence"                                                 unit="-"        /> 
    239          <field id="ist_cea"      long_name="Ice surface temperature (cell average)"                       unit="degC"     /> 
    240          <field id="ist_ipa"      long_name="Ice surface temperature (ice presence average)"               unit="degC"     />       
    241          <field id="uice_ipa"     long_name="Ice velocity along i-axis at I-point (ice presence average)"  unit="m/s"      />       
    242          <field id="vice_ipa"     long_name="Ice velocity along j-axis at I-point (ice presence average)"  unit="m/s"      />       
    243  
    244          <field id="utau_ice"     long_name="Wind stress along i-axis over the ice at i-point"             unit="N/m2"     /> 
    245          <field id="vtau_ice"     long_name="Wind stress along j-axis over the ice at i-point"             unit="N/m2"     /> 
     247         <field id="ice_pres"     long_name="Ice presence"                                                                                                                    unit=""             /> 
     248         <field id="ist_cea"      long_name="Ice surface temperature (cell average)"                       standard_name="surface_temperature"                                unit="degC"         /> 
     249         <field id="ist_ipa"      long_name="Ice surface temperature (ice presence average)"               standard_name="surface_temperature"                                unit="degC"         />       
     250         <field id="uice_ipa"     long_name="Ice velocity along i-axis at I-point (ice presence average)"  standard_name="sea_ice_x_velocity"                                 unit="m/s"          />       
     251         <field id="vice_ipa"     long_name="Ice velocity along j-axis at I-point (ice presence average)"  standard_name="sea_ice_y_velocity"                                 unit="m/s"          />       
     252 
     253         <field id="utau_ice"     long_name="Wind stress along i-axis over the ice at i-point"             standard_name="surface_downward_x_stress"                          unit="N/m2"         /> 
     254         <field id="vtau_ice"     long_name="Wind stress along j-axis over the ice at i-point"             standard_name="surface_downward_y_stress"                          unit="N/m2"         /> 
    246255          
    247          <field id="u_imasstr"    long_name="Sea-ice mass transport along i-axis"                          unit="kg/s"     /> 
    248          <field id="v_imasstr"    long_name="Sea-ice mass transport along j-axis"                          unit="kg/s"     /> 
    249          <field id="emp_x_sst"    long_name="Concentration/Dilution term on SST"                           unit="kgC/m2/s" /> 
    250          <field id="emp_x_sss"    long_name="Concentration/Dilution term on SSS"                         unit="kgPSU/m2/s" />         
     256         <field id="u_imasstr"    long_name="Sea-ice mass transport along i-axis"                          standard_name="sea_ice_x_transport"                                unit="kg/s"         /> 
     257         <field id="v_imasstr"    long_name="Sea-ice mass transport along j-axis"                          standard_name="sea_ice_y_transport"                                unit="kg/s"         /> 
     258         <field id="emp_x_sst"    long_name="Concentration/Dilution term on SST"                                                                                              unit="kg*degC/m2/s" /> 
     259         <field id="emp_x_sss"    long_name="Concentration/Dilution term on SSS"                                                                                              unit="kg*1e-3/m2/s" />         
    251260        
    252          <field id="iceconc"      long_name="ice concentration"                                            unit="%"        /> 
    253           <field id="isst"         long_name="sea surface temperature"                                      unit="degC"     /> 
    254          <field id="isss"         long_name="sea surface salinity"                                         unit="psu"      />  
    255          <field id="qt_oce"       long_name="total flux at ocean surface"                                  unit="W/m2"     /> 
    256          <field id="qsr_oce"      long_name="solar heat flux at ocean surface"                             unit="W/m2"     /> 
    257          <field id="qns_oce"      long_name="non-solar heat flux at ocean surface"                         unit="W/m2"     /> 
    258          <field id="qt_ice"       long_name="total flux at ice surface"                                    unit="W/m2"     /> 
    259          <field id="qsr_ice"      long_name="solar heat flux at ice surface"                               unit="W/m2"     /> 
    260          <field id="qns_ice"      long_name="non-solar heat flux at ice surface"                           unit="W/m2"     /> 
    261          <field id="qtr_ice"      long_name="solar heat flux transmitted thru the ice"                     unit="W/m2"     /> 
    262          <field id="qemp_ice"     long_name="Downward Heat Content of E-P over ice"                        unit="W/m2"     /> 
    263          <field id="utau_ice"     long_name="Wind stress along i-axis over the ice at i-point"             unit="N/m2"     /> 
    264          <field id="vtau_ice"     long_name="Wind stress along j-axis over the ice at i-point"             unit="N/m2"     /> 
    265          <field id="micesalt"     long_name="Mean ice salinity"                                            unit="psu"      /> 
    266          <field id="miceage"      long_name="Mean ice age"                                                 unit="years"    /> 
     261         <field id="iceconc"      long_name="ice concentration"                                            standard_name="sea_ice_area_fraction"                              unit="%"            /> 
     262          <field id="isst"         long_name="sea surface temperature"                                      standard_name="sea_surface_temperature"                            unit="degC"         /> 
     263         <field id="isss"         long_name="sea surface salinity"                                         standard_name="sea_surface_salinity"                               unit="1e-3"         />  
     264         <field id="qt_oce"       long_name="total flux at ocean surface"                                  standard_name="surface_downward_heat_flux_in_sea_water"            unit="W/m2"         /> 
     265         <field id="qsr_oce"      long_name="solar heat flux at ocean surface"                             standard_name="net_downward_shortwave_flux_at_sea_water_surface"   unit="W/m2"         /> 
     266         <field id="qns_oce"      long_name="non-solar heat flux at ocean surface"                                                                                            unit="W/m2"         /> 
     267         <field id="qt_ice"       long_name="total heat flux at ice surface: sum over categories"          standard_name="surface_downward_heat_flux_in_air"                  unit="W/m2"         /> 
     268         <field id="qsr_ice"      long_name="solar heat flux at ice surface: sum over categories"          standard_name="surface_downwelling_shortwave_flux_in_air"          unit="W/m2"         /> 
     269         <field id="qns_ice"      long_name="non-solar heat flux at ice surface: sum over categories"                                                                         unit="W/m2"         /> 
     270         <field id="qtr_ice"      long_name="solar heat flux transmitted through ice: sum over categories"                                                                    unit="W/m2"         /> 
     271         <field id="qemp_ice"     long_name="Downward Heat Flux from E-P over ice"                                                                                            unit="W/m2"         /> 
     272         <field id="micesalt"     long_name="Mean ice salinity"                                                                                                               unit="1e-3"         /> 
     273         <field id="miceage"      long_name="Mean ice age"                                                                                                                    unit="years"        /> 
    267274 
    268275         <field id="iceage_cat"   long_name="Ice age for categories"                                       unit="days"   axis_ref="ncatice" /> 
     
    270277         <field id="icethic_cat"  long_name="Ice thickness for categories"                                 unit="m"      axis_ref="ncatice" /> 
    271278         <field id="snowthic_cat" long_name="Snow thicknessi for categories"                               unit="m"      axis_ref="ncatice" /> 
    272          <field id="salinity_cat" long_name="Sea-Ice Bulk salinity for categories"                         unit="ppt"    axis_ref="ncatice" /> 
     279         <field id="salinity_cat" long_name="Sea-Ice Bulk salinity for categories"                         unit="g/kg"   axis_ref="ncatice" /> 
    273280         <field id="brinevol_cat" long_name="Brine volume for categories"                                  unit="%"      axis_ref="ncatice" /> 
    274281 
     
    281288         <field id="icestr"       long_name="ice strength"                                                 unit="N/m"      /> 
    282289         <field id="icevel"       long_name="ice velocity"                                                 unit="m/s"      /> 
    283          <field id="idive"        long_name="divergence"                                                   unit="10-8s-1"  /> 
    284          <field id="ishear"       long_name="shear"                                                        unit="10-8s-1"  /> 
     290         <field id="idive"        long_name="divergence"                                                   unit="1e-8s-1"  /> 
     291         <field id="ishear"       long_name="shear"                                                        unit="1e-8s-1"  /> 
    285292         <field id="icevolu"      long_name="ice volume"                                                   unit="m"        /> 
    286293         <field id="snowvol"      long_name="snow volume"                                                  unit="m"        /> 
    287294 
    288          <field id="icetrp"       long_name="ice volume transport"                                         unit="m/day"   /> 
    289          <field id="snwtrp"       long_name="snw volume transport"                                         unit="m/day"   /> 
    290          <field id="saltrp"       long_name="salt content transport"                                       unit="psu*kg/m2/day" /> 
    291          <field id="deitrp"       long_name="advected ice enthalpy"                                         unit="W/m2"    /> 
    292          <field id="destrp"       long_name="advected snw enthalpy"                                         unit="W/m2"    /> 
    293  
    294          <field id="sfxbri"       long_name="brine salt flux"                                              unit="psu*kg/m2/day" /> 
    295          <field id="sfxdyn"       long_name="salt flux from ridging rafting"                               unit="psu*kg/m2/day" /> 
    296          <field id="sfxres"       long_name="salt flux from lipupdate (resultant)"                         unit="psu*kg/m2/day" /> 
    297          <field id="sfxbog"       long_name="salt flux from bot growth"                                    unit="psu*kg/m2/day" /> 
    298          <field id="sfxbom"       long_name="salt flux from bot melt"                                      unit="psu*kg/m2/day" /> 
    299          <field id="sfxsum"       long_name="salt flux from surf melt"                                     unit="psu*kg/m2/day" /> 
    300          <field id="sfxsni"       long_name="salt flux from snow-ice formation"                            unit="psu*kg/m2/day" /> 
    301          <field id="sfxopw"       long_name="salt flux from open water ice formation"                      unit="psu*kg/m2/day" /> 
    302          <field id="sfx"          long_name="salt flux total"                                              unit="psu*kg/m2/day" /> 
     295         <field id="icetrp"       long_name="ice volume transport"                                         unit="m/day"          /> 
     296         <field id="snwtrp"       long_name="snw volume transport"                                         unit="m/day"          /> 
     297         <field id="saltrp"       long_name="salt content transport"                                       unit="1e-3*kg/m2/day" /> 
     298         <field id="deitrp"       long_name="advected ice enthalpy"                                        unit="W/m2"           /> 
     299         <field id="destrp"       long_name="advected snw enthalpy"                                        unit="W/m2"           /> 
     300 
     301         <field id="sfxbri"       long_name="brine salt flux"                                              unit="1e-3*kg/m2/day" /> 
     302         <field id="sfxdyn"       long_name="salt flux from ridging rafting"                               unit="1e-3*kg/m2/day" /> 
     303         <field id="sfxres"       long_name="salt flux from lipupdate (resultant)"                         unit="1e-3*kg/m2/day" /> 
     304         <field id="sfxbog"       long_name="salt flux from bot growth"                                    unit="1e-3*kg/m2/day" /> 
     305         <field id="sfxbom"       long_name="salt flux from bot melt"                                      unit="1e-3*kg/m2/day" /> 
     306         <field id="sfxsum"       long_name="salt flux from surf melt"                                     unit="1e-3*kg/m2/day" /> 
     307         <field id="sfxsni"       long_name="salt flux from snow-ice formation"                            unit="1e-3*kg/m2/day" /> 
     308         <field id="sfxopw"       long_name="salt flux from open water ice formation"                      unit="1e-3*kg/m2/day" /> 
     309         <field id="sfx"          long_name="salt flux total"                                              unit="1e-3*kg/m2/day" /> 
    303310 
    304311         <field id="vfxbog"       long_name="daily bottom thermo ice prod."                                unit="m/day"   /> 
     
    318325         <field id="afxthd"       long_name="area tendency (thermo)"                                       unit="day-1"   /> 
    319326 
    320          <field id="hfxsum"   long_name="heat fluxes causing surface ice melt"            unit="W/m2"  /> 
    321          <field id="hfxbom"   long_name="heat fluxes causing bottom ice melt"             unit="W/m2"  /> 
    322          <field id="hfxbog"   long_name="heat fluxes causing bottom ice growth"           unit="W/m2"  /> 
    323          <field id="hfxdif"   long_name="heat fluxes causing ice temperature change"      unit="W/m2"  /> 
    324          <field id="hfxopw"   long_name="heat fluxes causing open water ice formation"    unit="W/m2"  /> 
    325          <field id="hfxsnw"   long_name="heat fluxes causing snow melt"                   unit="W/m2"  /> 
    326          <field id="hfxerr"   long_name="heat fluxes error after heat diffusion"          unit="W/m2"  /> 
    327          <field id="hfxerr_rem" long_name="heat fluxes error after remapping"             unit="W/m2"  /> 
    328          <field id="hfxout"   long_name="total heat fluxes received by the ocean"         unit="W/m2"  /> 
    329          <field id="hfxin"    long_name="total heat fluxes at the ice/ocean surface"      unit="W/m2"  /> 
    330  
    331     <!-- heat flux associated with mass exchange --> 
    332          <field id="hfxthd"   long_name="heat fluxes from ice-ocean mass exchange during thermo"              unit="W/m2"  /> 
    333          <field id="hfxdyn"   long_name="heat fluxes from ice-ocean mass exchange during dynamic"             unit="W/m2"  /> 
    334          <field id="hfxres"   long_name="heat fluxes from ice-ocean mass exchange during resultant"           unit="W/m2"  /> 
    335          <field id="hfxsub"   long_name="heat fluxes from ice-atm. mass exchange during sublimation"          unit="W/m2"  /> 
    336          <field id="hfxspr"   long_name="heat fluxes from ice-atm. mass exchange during snow precip"          unit="W/m2"  /> 
    337  
    338     <!-- diags --> 
    339          <field id="hfxdhc"    long_name="Heat content variation in snow and ice"   unit="W/m2" /> 
    340          <field id="hfxtur"    long_name="turbulent heat flux at the ice base"      unit="W/m2" /> 
    341  
     327         <field id="hfxsum"       long_name="heat fluxes causing surface ice melt"                         unit="W/m2"  /> 
     328         <field id="hfxbom"       long_name="heat fluxes causing bottom ice melt"                          unit="W/m2"  /> 
     329         <field id="hfxbog"       long_name="heat fluxes causing bottom ice growth"                        unit="W/m2"  /> 
     330         <field id="hfxdif"       long_name="heat fluxes causing ice temperature change"                   unit="W/m2"  /> 
     331         <field id="hfxopw"       long_name="heat fluxes causing open water ice formation"                 unit="W/m2"  /> 
     332         <field id="hfxsnw"       long_name="heat fluxes causing snow melt"                                unit="W/m2"  /> 
     333         <field id="hfxerr"       long_name="heat fluxes error after heat diffusion"                       unit="W/m2"  /> 
     334         <field id="hfxerr_rem"   long_name="heat fluxes error after remapping"                            unit="W/m2"  /> 
     335         <field id="hfxout"       long_name="total heat fluxes received by the ocean"                      unit="W/m2"  /> 
     336         <field id="hfxin"        long_name="total heat fluxes at the ice/ocean surface"                   unit="W/m2"  /> 
     337 
     338         <!-- heat flux associated with mass exchange --> 
     339         <field id="hfxthd"       long_name="heat fluxes from ice-ocean mass exchange during thermo"       unit="W/m2"  /> 
     340         <field id="hfxdyn"       long_name="heat fluxes from ice-ocean mass exchange during dynamic"      unit="W/m2"  /> 
     341         <field id="hfxres"       long_name="heat fluxes from ice-ocean mass exchange during resultant"    unit="W/m2"  /> 
     342         <field id="hfxsub"       long_name="heat fluxes from ice-atm. mass exchange during sublimation"   unit="W/m2"  /> 
     343         <field id="hfxspr"       long_name="heat fluxes from ice-atm. mass exchange during snow precip"   unit="W/m2"  /> 
     344 
     345         <!-- diags --> 
     346         <field id="hfxdhc"       long_name="Heat content variation in snow and ice"                       unit="W/m2" /> 
     347         <field id="hfxtur"       long_name="turbulent heat flux at the ice base"                          unit="W/m2" /> 
    342348    <!-- sbcssm variables --> 
    343349         <field id="sst_m"    unit="degC" /> 
     
    354360       
    355361      <field_group id="grid_U"   grid_ref="grid_U_2D"> 
    356          <field id="e3u"          long_name="U-cell thickness"                               unit="m"        grid_ref="grid_U_3D" /> 
    357          <field id="utau"         long_name="Wind Stress along i-axis"                       unit="N/m2"                          /> 
    358          <field id="uoce"         long_name="ocean current along i-axis"                     unit="m/s"      grid_ref="grid_U_3D" /> 
    359          <field id="uoce_e3u"     long_name="ocean current along i-axis * e3u"               unit="m2/s"     grid_ref="grid_U_3D"  > uoce * e3u </field> 
    360          <field id="ssu"          long_name="ocean surface current along i-axis"             unit="m/s"                           /> 
    361          <field id="sbu"          long_name="ocean bottom current along i-axis"              unit="m/s"                           /> 
    362          <field id="uocetr_eff"   long_name="Effective ocean transport along i-axis"         unit="m3/s"     grid_ref="grid_U_3D" /> 
    363          <field id="uocet"        long_name="ocean transport along i-axis times temperature" unit="degC.m/s" grid_ref="grid_U_3D" /> 
    364          <field id="uoces"        long_name="ocean transport along i-axis times salinity"    unit="psu.m/s"  grid_ref="grid_U_3D" /> 
     362         <field id="e3u"          long_name="U-cell thickness"                                       standard_name="cell_thickness"              unit="m"          grid_ref="grid_U_3D" /> 
     363         <field id="utau"         long_name="Wind Stress along i-axis"                               standard_name="surface_downward_x_stress"   unit="N/m2"                            /> 
     364         <field id="uoce"         long_name="ocean current along i-axis"                             standard_name="sea_water_x_velocity"        unit="m/s"        grid_ref="grid_U_3D" /> 
     365         <field id="uoce_e3u"     long_name="ocean current along i-axis * e3u"                                                                   unit="m2/s"       grid_ref="grid_U_3D"  > uoce * e3u </field> 
     366         <field id="ssu"          long_name="ocean surface current along i-axis"                                                                 unit="m/s"                             /> 
     367         <field id="sbu"          long_name="ocean bottom current along i-axis"                                                                  unit="m/s"                             /> 
     368         <field id="uocetr_eff"   long_name="Effective ocean transport along i-axis"                 standard_name="ocean_volume_x_transport"    unit="m3/s"       grid_ref="grid_U_3D" /> 
     369         <field id="uocet"        long_name="ocean transport along i-axis times temperature (CRS)"                                               unit="degC*m/s"   grid_ref="grid_U_3D" /> 
     370         <field id="uoces"        long_name="ocean transport along i-axis times salinity (CRS)"                                                  unit="1e-3*m/s"   grid_ref="grid_U_3D" /> 
     371 
    365372         <!-- variables available with MLE --> 
    366          <field id="psiu_mle"     long_name="MLE streamfunction along i-axis"                unit="m3/s"     grid_ref="grid_U_3D" /> 
     373         <field id="psiu_mle"     long_name="MLE streamfunction along i-axis"   unit="m3/s"   grid_ref="grid_U_3D" /> 
     374 
    367375         <!-- uoce_eiv: available with key_traldf_eiv and key_diaeiv --> 
    368          <field id="uoce_eiv"     long_name="EIV ocean current along i-axis"                 unit="m/s"      grid_ref="grid_U_3D" /> 
     376         <field id="uoce_eiv"     long_name="EIV ocean current along i-axis"   standard_name="bolus_sea_water_x_velocity"   unit="m/s"   grid_ref="grid_U_3D" /> 
     377 
    369378         <!-- uoce_eiv: available with key_trabbl --> 
    370          <field id="uoce_bbl"     long_name="BBL ocean current along i-axis"                 unit="m/s"      grid_ref="grid_U_3D" /> 
    371         <field id="ahu_bbl"      long_name="BBL diffusive flux along i-axis"                unit="m3/s"                          /> 
     379         <field id="uoce_bbl"     long_name="BBL ocean current along i-axis"    unit="m/s"  /> 
     380         <field id="ahu_bbl"      long_name="BBL diffusive flux along i-axis"   unit="m3/s" /> 
     381 
    372382         <!-- variable for ice shelves --> 
    373     <field id="utbl"         long_name="zonal current in the Losh tbl"                  unit="m/s"                           /> 
     383         <field id="utbl"         long_name="zonal current in the Losh tbl"     unit="m/s" /> 
     384 
    374385         <!-- variables available with key_diaar5 --> 
    375          <field id="u_masstr"     long_name="ocean eulerian mass transport along i-axis"     unit="kg/s"     grid_ref="grid_U_3D" /> 
    376          <field id="u_heattr"     long_name="ocean eulerian heat transport along i-axis"     unit="W"                             /> 
    377          <field id="u_salttr"     long_name="ocean eulerian salt transport along i-axis"     unit="PSU*kg/s"                      /> 
    378          <field id="ueiv_heattr"  long_name="ocean bolus heat transport along i-axis"        unit="W"                             /> 
    379          <field id="udiff_heattr" long_name="ocean diffusion heat transport along i-axis"    unit="W"                             /> 
    380      </field_group> 
     386         <field id="u_masstr"     long_name="ocean eulerian mass transport along i-axis"    standard_name="ocean_mass_x_transport"                          unit="kg/s"        grid_ref="grid_U_3D" /> 
     387         <field id="u_heattr"     long_name="ocean eulerian heat transport along i-axis"    standard_name="ocean_heat_x_transport"                          unit="W"                                /> 
     388         <field id="u_salttr"     long_name="ocean eulerian salt transport along i-axis"    standard_name="ocean_salt_x_transport"                          unit="1e-3*kg/s"                        /> 
     389         <field id="ueiv_heattr"  long_name="ocean bolus heat transport along i-axis"       standard_name="ocean_heat_x_transport_due_to_bolus_advection"   unit="W"                                /> 
     390         <field id="udiff_heattr" long_name="ocean diffusion heat transport along i-axis"   standard_name="ocean_heat_x_transport_due_to_diffusion"         unit="W"                                /> 
     391      </field_group> 
    381392       
    382393      <!-- V grid --> 
    383394       
    384395      <field_group id="grid_V"   grid_ref="grid_V_2D"> 
    385          <field id="e3v"          long_name="V-cell thickness"                               unit="m"        grid_ref="grid_V_3D" /> 
    386          <field id="vtau"         long_name="Wind Stress along j-axis"                       unit="N/m2"                          /> 
    387          <field id="voce"         long_name="ocean current along j-axis"                     unit="m/s"      grid_ref="grid_V_3D" /> 
    388          <field id="voce_e3v"     long_name="ocean current along j-axis * e3v"               unit="m2/s"     grid_ref="grid_V_3D"  > voce * e3v </field> 
    389          <field id="ssv"          long_name="ocean surface current along j-axis"             unit="m/s"                           /> 
    390          <field id="sbv"          long_name="ocean bottom current along j-axis"              unit="m/s"                           /> 
    391          <field id="vocetr_eff"   long_name="Effective ocean transport along j-axis"         unit="m3/s"     grid_ref="grid_V_3D" /> 
    392          <field id="vocet"        long_name="ocean transport along j-axis times temperature" unit="degC.m/s" grid_ref="grid_V_3D" /> 
    393          <field id="voces"        long_name="ocean transport along j-axis times salinity"    unit="psu.m/s"  grid_ref="grid_V_3D" /> 
     396         <field id="e3v"          long_name="V-cell thickness"                                       standard_name="cell_thickness"              unit="m"          grid_ref="grid_V_3D" /> 
     397         <field id="vtau"         long_name="Wind Stress along j-axis"                               standard_name="surface_downward_y_stress"   unit="N/m2"                            /> 
     398         <field id="voce"         long_name="ocean current along j-axis"                             standard_name="sea_water_y_velocity"        unit="m/s"        grid_ref="grid_V_3D" /> 
     399         <field id="voce_e3v"     long_name="ocean current along j-axis * e3v"                                                                   unit="m2/s"       grid_ref="grid_V_3D"  > voce * e3v </field> 
     400         <field id="ssv"          long_name="ocean surface current along j-axis"                                                                 unit="m/s"                             /> 
     401         <field id="sbv"          long_name="ocean bottom current along j-axis"                                                                  unit="m/s"                             /> 
     402         <field id="vocetr_eff"   long_name="Effective ocean transport along j-axis"                 standard_name="ocean_volume_y_transport"    unit="m3/s"       grid_ref="grid_V_3D" /> 
     403         <field id="vocet"        long_name="ocean transport along j-axis times temperature (CRS)"                                               unit="degC*m/s"   grid_ref="grid_V_3D" /> 
     404         <field id="voces"        long_name="ocean transport along j-axis times salinity (CRS)"                                                  unit="1e-3*m/s"   grid_ref="grid_V_3D" /> 
     405 
    394406         <!-- variables available with MLE --> 
    395          <field id="psiv_mle"     long_name="MLE streamfunction along j-axis"                unit="m3/s"     grid_ref="grid_V_3D" /> 
     407         <field id="psiv_mle"     long_name="MLE streamfunction along j-axis"   unit="m3/s"   grid_ref="grid_V_3D" /> 
     408 
    396409         <!-- voce_eiv: available with key_traldf_eiv and key_diaeiv --> 
    397          <field id="voce_eiv"     long_name="EIV ocean current along j-axis"                 unit="m/s"      grid_ref="grid_V_3D" /> 
     410         <field id="voce_eiv"     long_name="EIV ocean current along j-axis"   standard_name="bolus_sea_water_y_velocity"   unit="m/s"   grid_ref="grid_V_3D" /> 
     411 
    398412         <!-- voce_eiv: available with key_trabbl --> 
    399          <field id="voce_bbl"     long_name="BBL ocean current along j-axis"                 unit="m/s"      grid_ref="grid_V_3D" /> 
    400         <field id="ahv_bbl"      long_name="BBL diffusive flux along j-axis"                unit="m3/s"                          /> 
     413         <field id="voce_bbl"     long_name="BBL ocean current along j-axis"    unit="m/s"  /> 
     414         <field id="ahv_bbl"      long_name="BBL diffusive flux along j-axis"   unit="m3/s" /> 
     415 
    401416         <!-- variable for ice shelves --> 
    402         <field id="vtbl"         long_name="meridional current in the Losh tbl"             unit="m/s"                           /> 
     417         <field id="vtbl"         long_name="meridional current in the Losh tbl"   unit="m/s" /> 
     418 
    403419         <!-- variables available with key_diaar5 --> 
    404          <field id="v_masstr"     long_name="ocean eulerian mass transport along j-axis"     unit="kg/s"     grid_ref="grid_V_3D" /> 
    405          <field id="v_heattr"     long_name="ocean eulerian heat transport along j-axis"     unit="W"                             /> 
    406          <field id="v_salttr"     long_name="ocean eulerian salt transport along i-axis"     unit="PSU*kg/s"                      /> 
    407          <field id="veiv_heattr"  long_name="ocean bolus heat transport along j-axis"        unit="W"                             /> 
    408          <field id="vdiff_heattr" long_name="ocean diffusion heat transport along j-axis"    unit="W"                             /> 
     420         <field id="v_masstr"     long_name="ocean eulerian mass transport along j-axis"    standard_name="ocean_mass_y_transport"                          unit="kg/s"        grid_ref="grid_V_3D" /> 
     421         <field id="v_heattr"     long_name="ocean eulerian heat transport along j-axis"    standard_name="ocean_heat_y_transport"                          unit="W"                                /> 
     422         <field id="v_salttr"     long_name="ocean eulerian salt transport along i-axis"    standard_name="ocean_salt_y_transport"                          unit="1e-3*kg/s"                        /> 
     423         <field id="veiv_heattr"  long_name="ocean bolus heat transport along j-axis"       standard_name="ocean_heat_y_transport_due_to_bolus_advection"   unit="W"                                /> 
     424         <field id="vdiff_heattr" long_name="ocean diffusion heat transport along j-axis"   standard_name="ocean_heat_y_transport_due_to_diffusion"         unit="W"                                /> 
    409425      </field_group> 
    410426       
     
    412428       
    413429      <field_group id="grid_W" grid_ref="grid_W_3D"> 
    414         <field id="e3w"          long_name="W-cell thickness"                            unit="m"   /> 
    415         <field id="woce"         long_name="ocean vertical velocity"                  unit="m/s"    /> 
    416         <field id="woce_e3w"     long_name="ocean vertical velocity * e3v"            unit="m2/s"    > woce * e3w </field> 
    417         <field id="wocetr_eff"   long_name="effective ocean vertical transport"       unit="m3/s"   /> 
     430        <field id="e3w"          long_name="W-cell thickness"                     standard_name="cell_thickness"              unit="m"    /> 
     431        <field id="woce"         long_name="ocean vertical velocity"              standard_name="upward_sea_water_velocity"   unit="m/s"  /> 
     432        <field id="woce_e3w"     long_name="ocean vertical velocity * e3v"                                                    unit="m2/s"  > woce * e3w </field> 
     433        <field id="wocetr_eff"   long_name="effective ocean vertical transport"                                               unit="m3/s" /> 
     434 
    418435        <!-- woce_eiv: available with key_traldf_eiv and key_diaeiv --> 
    419         <field id="woce_eiv"     long_name="EIV ocean vertical velocity"              unit="m/s"    /> 
     436        <field id="woce_eiv"     long_name="EIV ocean vertical velocity"   standard_name="bolus_upward_sea_water_velocity"   unit="m/s" /> 
     437 
    420438        <!-- woce_eiv: available with key_trabbl_adv --> 
    421         <field id="avt"          long_name="vertical eddy diffusivity"                unit="m2/s"   /> 
    422         <field id="avm"          long_name="vertical eddy viscosity"                  unit="m2/s"   /> 
     439        <field id="avt"          long_name="vertical eddy diffusivity"   standard_name="ocean_vertical_heat_diffusivity"       unit="m2/s" /> 
     440        <field id="avm"          long_name="vertical eddy viscosity"     standard_name="ocean_vertical_momentum_diffusivity"   unit="m2/s" /> 
     441 
    423442        <!-- avs: available with key_zdfddm --> 
    424         <field id="avs"          long_name="salt vertical eddy diffusivity"           unit="m2/s"   /> 
     443        <field id="avs"          long_name="salt vertical eddy diffusivity"   standard_name="ocean_vertical_salt_diffusivity"   unit="m2/s" /> 
     444 
    425445        <!-- avt_evd and avm_evd: available with ln_zdfevd --> 
    426         <field id="avt_evd"      long_name="enhanced vertical diffusivity"            unit="m2/s"   /> 
    427         <field id="avm_evd"      long_name="enhanced vertical viscosity"              unit="m2/s"   /> 
     446        <field id="avt_evd"      long_name="convective enhancement to vertical diffusivity"   standard_name="ocean_vertical_tracer_diffusivity_due_to_convection"     unit="m2/s" /> 
     447        <field id="avm_evd"      long_name="convective enhancement to vertical viscosity"     standard_name="ocean_vertical_momentum_diffusivity_due_to_convection"   unit="m2/s" /> 
     448 
    428449        <!-- avt_tide: available with key_zdftmx --> 
    429         <field id="av_tide"      long_name="tidal vertical diffusivity"               unit="m2/s"   /> 
     450        <field id="av_tide"      long_name="tidal vertical diffusivity"   standard_name="ocean_vertical_tracer_diffusivity_due_to_tides"   unit="m2/s" /> 
     451 
    430452        <!-- variables available with key_diaar5 -->    
    431         <field id="w_masstr"     long_name="vertical mass trasport"                   unit="kg/s"   /> 
    432         <field id="w_masstr2"    long_name="square of vertical mass trasport"         unit="kg2/s2" /> 
    433          
     453        <field id="w_masstr"     long_name="vertical mass transport"             standard_name="upward_ocean_mass_transport"             unit="kg/s"   /> 
     454        <field id="w_masstr2"    long_name="square of vertical mass transport"   standard_name="square_of_upward_ocean_mass_transport"   unit="kg2/s2" /> 
     455 
    434456        <!-- aht2d and  aht2d_eiv: available with key_traldf_eiv and key_traldf_c2d --> 
    435         <field id="aht2d"        long_name="lateral eddy diffusivity"                    unit="m2/s"   grid_ref="grid_W_2D" /> 
    436         <field id="aht2d_eiv"    long_name="EIV lateral eddy diffusivity"                unit="m2/s"   grid_ref="grid_W_2D"/> 
     457        <field id="aht2d"        long_name="lateral eddy diffusivity"       standard_name="ocean_tracer_xy_laplacian_diffusivity"      unit="m2/s"   grid_ref="grid_W_2D" /> 
     458        <field id="aht2d_eiv"    long_name="EIV lateral eddy diffusivity"   standard_name="ocean_tracer_bolus_laplacian_diffusivity"   unit="m2/s"   grid_ref="grid_W_2D" /> 
    437459      </field_group> 
    438460           
     
    440462 
    441463      <field_group id="scalar"  domain_ref="1point" > 
    442          <field id="voltot"     long_name="global mean volume"                         unit="m3"   /> 
    443          <field id="sshtot"     long_name="global mean ssh"                            unit="m"    /> 
    444          <field id="sshsteric"  long_name="global mean ssh steric"                     unit="m"    /> 
    445          <field id="sshthster"  long_name="global mean ssh thermosteric"               unit="m"    /> 
    446          <field id="masstot"    long_name="global mean mass"                           unit="kg"   /> 
    447          <field id="temptot"    long_name="global mean temperature"                    unit="degC" /> 
    448          <field id="saltot"     long_name="global mean salinity"                       unit="psu"  /> 
    449          <field id="fram_trans" long_name="Sea Ice Mass Transport Through Fram Strait" unit="kg/s" /> 
    450  
    451        <!-- available with ln_diahsb --> 
    452        <field id="bgtemper"     long_name="global mean temperature"                  unit="degC"   /> 
    453        <field id="bgsaline"     long_name="global mean salinity"                     unit="psu"    /> 
    454        <field id="bgheatco"     long_name="global mean heat content"                 unit="10^9J"  /> 
    455        <field id="bgsaltco"     long_name="global mean salt content"                 unit="psu*m3" /> 
    456        <field id="bgvolssh"     long_name="global mean ssh volume"                   unit="km3"     /> 
    457         <field id="bgvole3t"     long_name="global mean volume variation (e3t)"           unit="km3"/> 
    458        <field id="bgvoltot"     long_name="global mean volume"                       unit="km3"     /> 
    459        <field id="bgsshtot"     long_name="global mean ssh"                          unit="m"      /> 
    460        <field id="bgfrcvol"     long_name="global mean volume from forcing"          unit="km3"     /> 
    461        <field id="bgfrctem"     long_name="global mean heat content from forcing"    unit="10^9J"  /> 
    462        <field id="bgfrcsal"     long_name="global mean salt content from forcing"    unit="psu*km3" /> 
    463        <field id="bgmistem"     long_name="global mean temperature error due to free surface" unit="degC" /> 
    464        <field id="bgmissal"     long_name="global mean salinity error due to free surface"    unit="psu"  /> 
    465       </field_group> 
     464         <field id="voltot"     long_name="global total volume"                          standard_name="sea_water_volume"                               unit="m3"   /> 
     465         <field id="sshtot"     long_name="global mean ssh"                              standard_name="global_average_sea_level_change"                unit="m"    /> 
     466         <field id="sshsteric"  long_name="global mean ssh steric"                       standard_name="global_average_steric_sea_level_change"         unit="m"    /> 
     467         <field id="sshthster"  long_name="global mean ssh thermosteric"                 standard_name="global_average_thermosteric_sea_level_change"   unit="m"    /> 
     468         <field id="masstot"    long_name="global total mass"                            standard_name="sea_water_mass"                                 unit="kg"   /> 
     469         <field id="temptot"    long_name="global mean temperature"                      standard_name="sea_water_potential_temperature"                unit="degC" /> 
     470         <field id="saltot"     long_name="global mean salinity"                         standard_name="sea_water_salinity"                             unit="1e-3" /> 
     471         <field id="fram_trans" long_name="Sea Ice Mass Transport Through Fram Strait"   standard_name="sea_ice_transport_across_line"                  unit="kg/s" /> 
     472 
     473          <!-- available with ln_diahsb --> 
     474       <field id="bgtemper"     long_name="drift in global mean temperature wrt timestep 1"                 standard_name="change_over_time_in_sea_water_potential_temperature"   unit="degC"     /> 
     475       <field id="bgsaline"     long_name="drift in global mean salinity wrt timestep 1"                    standard_name="change_over_time_in_sea_water_practical_salinity"      unit="1e-3"     /> 
     476       <field id="bgheatco"     long_name="drift in global mean heat content wrt timestep 1"                                                                                      unit="10^9J"    /> 
     477       <field id="bgsaltco"     long_name="drift in global mean salt content wrt timestep 1"                                                                                      unit="1e-3*m3"  /> 
     478       <field id="bgvolssh"     long_name="drift in global mean ssh volume wrt timestep 1"                                                                                        unit="km3"      /> 
     479         <field id="bgvole3t"     long_name="drift in global mean volume variation (e3t) wrt timestep 1"                                                                            unit="km3"      /> 
     480       <field id="bgvoltot"     long_name="drift in global mean volume wrt timestep 1"                                                                                            unit="km3"      /> 
     481         <!-- NOTE: No matching iom_put call --> 
     482       <field id="bgsshtot"     long_name="drift in global mean ssh wrt timestep 1"                         standard_name="global_average_sea_level_change"                       unit="m"        /> 
     483       <field id="bgfrcvol"     long_name="drift in global mean volume from forcing wrt timestep 1"                                                                               unit="km3"      /> 
     484       <field id="bgfrctem"     long_name="drift in global mean heat content from forcing wrt timestep 1"                                                                         unit="10^9J"    /> 
     485       <field id="bgfrcsal"     long_name="drift in global mean salt content from forcing wrt timestep 1"                                                                         unit="1e-3*km3" /> 
     486       <field id="bgmistem"     long_name="global mean temperature error due to free surface"                                                                                     unit="degC"     /> 
     487       <field id="bgmissal"     long_name="global mean salinity error due to free surface"                                                                                        unit="1e-3"     /> 
     488      </field_group> 
     489 
     490      <!-- LIM3 scalar variables --> 
    466491 
    467492      <field_group id="SBC_scalar"  domain_ref="1point" > 
    468493         <!-- available with ln_limdiaout --> 
    469     <field id="ibgvoltot"    long_name="global mean ice volume"                   unit="km3"      /> 
    470     <field id="sbgvoltot"    long_name="global mean snow volume"                  unit="km3"      /> 
    471     <field id="ibgarea"      long_name="global mean ice area"                     unit="km2"      /> 
    472     <field id="ibgsaline"    long_name="global mean ice salinity"                 unit="psu"      /> 
    473     <field id="ibgtemper"    long_name="global mean ice temperature"              unit="degC"     /> 
    474     <field id="ibgheatco"    long_name="global mean ice heat content"             unit="10^20J"   /> 
    475     <field id="sbgheatco"    long_name="global mean snow heat content"            unit="10^20J"   /> 
    476     <field id="ibgsaltco"    long_name="global mean ice salt content"             unit="psu*km3"  /> 
    477  
    478     <field id="ibgvfx"       long_name="global mean volume flux (emp)"               unit="m/day"   /> 
    479     <field id="ibgvfxbog"    long_name="global mean volume flux (bottom growth)"     unit="m/day"   /> 
    480     <field id="ibgvfxopw"    long_name="global mean volume flux (open water growth)" unit="m/day"   /> 
    481     <field id="ibgvfxsni"    long_name="global mean volume flux (snow-ice growth)"   unit="m/day"   /> 
    482     <field id="ibgvfxdyn"    long_name="global mean volume flux (dynamic growth)"    unit="m/day"   /> 
    483     <field id="ibgvfxbom"    long_name="global mean volume flux (bottom melt)"       unit="m/day"   /> 
    484     <field id="ibgvfxsum"    long_name="global mean volume flux (surface melt)"      unit="m/day"   /> 
    485     <field id="ibgvfxres"    long_name="global mean volume flux (resultant)"         unit="m/day"   /> 
    486     <field id="ibgvfxspr"    long_name="global mean volume flux (snow precip)"       unit="m/day"   /> 
    487     <field id="ibgvfxsnw"    long_name="global mean volume flux (snow melt)"         unit="m/day"   /> 
    488     <field id="ibgvfxsub"    long_name="global mean volume flux (snow sublimation)"  unit="m/day"   /> 
    489  
    490     <field id="ibgsfx"       long_name="global mean salt flux (total)"            unit="psu*m/day"   /> 
    491     <field id="ibgsfxbri"    long_name="global mean salt flux (brines)"           unit="psu*m/day"   /> 
    492     <field id="ibgsfxdyn"    long_name="global mean salt flux (dynamic)"          unit="psu*m/day"   /> 
    493     <field id="ibgsfxres"    long_name="global mean salt flux (resultant)"        unit="psu*m/day"   /> 
    494     <field id="ibgsfxbog"    long_name="global mean salt flux (thermo)"           unit="psu*m/day"   /> 
    495     <field id="ibgsfxopw"    long_name="global mean salt flux (thermo)"           unit="psu*m/day"   /> 
    496     <field id="ibgsfxsni"    long_name="global mean salt flux (thermo)"           unit="psu*m/day"   /> 
    497     <field id="ibgsfxbom"    long_name="global mean salt flux (thermo)"           unit="psu*m/day"   /> 
    498     <field id="ibgsfxsum"    long_name="global mean salt flux (thermo)"           unit="psu*m/day"   /> 
    499  
    500  
    501         <field id="ibghfxdhc"    long_name="Heat content variation in snow and ice"   unit="W" /> 
    502         <field id="ibghfxspr"    long_name="Heat content of snow precip"              unit="W" /> 
    503  
    504         <field id="ibghfxthd"   long_name="heat fluxes from ice-ocean exchange during thermo"              unit="W"  /> 
    505         <field id="ibghfxsum"   long_name="heat fluxes causing surface ice melt"                           unit="W"  /> 
    506         <field id="ibghfxbom"   long_name="heat fluxes causing bottom ice melt"                            unit="W"  /> 
    507         <field id="ibghfxbog"   long_name="heat fluxes causing bottom ice growth"                          unit="W"  /> 
    508         <field id="ibghfxdif"   long_name="heat fluxes causing ice temperature change"                     unit="W"  /> 
    509         <field id="ibghfxopw"   long_name="heat fluxes causing open water ice formation"                   unit="W"  /> 
    510         <field id="ibghfxdyn"   long_name="heat fluxes from ice-ocean exchange during dynamic"             unit="W"  /> 
    511         <field id="ibghfxres"   long_name="heat fluxes from ice-ocean exchange during resultant"           unit="W"  /> 
    512         <field id="ibghfxsub"   long_name="heat fluxes from sublimation"                                   unit="W"  /> 
    513         <field id="ibghfxsnw"   long_name="heat fluxes from snow-ocean exchange"                           unit="W"  /> 
    514         <field id="ibghfxout"   long_name="non solar heat fluxes received by the ocean"                    unit="W"  /> 
    515         <field id="ibghfxin"    long_name="total heat fluxes at the ice surface"                           unit="W"  /> 
    516  
    517     <field id="ibgfrcvol"    long_name="global mean forcing volume (emp)"         unit="km3"      /> 
    518     <field id="ibgfrcsfx"    long_name="global mean forcing salt   (sfx)"         unit="psu*km3"  /> 
    519     <field id="ibgvolgrm"    long_name="global mean ice growth+melt volume"       unit="km3"      /> 
     494         <field id="ibgvoltot"    long_name="global mean ice volume"                                 unit="km3"        /> 
     495         <field id="sbgvoltot"    long_name="global mean snow volume"                                unit="km3"        /> 
     496         <field id="ibgarea"      long_name="global mean ice area"                                   unit="km2"        /> 
     497         <field id="ibgsaline"    long_name="global mean ice salinity"                               unit="1e-3"       /> 
     498         <field id="ibgtemper"    long_name="global mean ice temperature"                            unit="degC"       /> 
     499         <field id="ibgheatco"    long_name="global mean ice heat content"                           unit="10^20J"     /> 
     500         <field id="sbgheatco"    long_name="global mean snow heat content"                          unit="10^20J"     /> 
     501         <field id="ibgsaltco"    long_name="global mean ice salt content"                           unit="1e-3*km3"   /> 
     502 
     503         <field id="ibgvfx"       long_name="global mean volume flux (emp)"                          unit="m/day"      /> 
     504         <field id="ibgvfxbog"    long_name="global mean volume flux (bottom growth)"                unit="m/day"      /> 
     505         <field id="ibgvfxopw"    long_name="global mean volume flux (open water growth)"            unit="m/day"      /> 
     506         <field id="ibgvfxsni"    long_name="global mean volume flux (snow-ice growth)"              unit="m/day"      /> 
     507         <field id="ibgvfxdyn"    long_name="global mean volume flux (dynamic growth)"               unit="m/day"      /> 
     508         <field id="ibgvfxbom"    long_name="global mean volume flux (bottom melt)"                  unit="m/day"      /> 
     509         <field id="ibgvfxsum"    long_name="global mean volume flux (surface melt)"                 unit="m/day"      /> 
     510         <field id="ibgvfxres"    long_name="global mean volume flux (resultant)"                    unit="m/day"      /> 
     511         <field id="ibgvfxspr"    long_name="global mean volume flux (snow precip)"                  unit="m/day"      /> 
     512         <field id="ibgvfxsnw"    long_name="global mean volume flux (snow melt)"                    unit="m/day"      /> 
     513         <field id="ibgvfxsub"    long_name="global mean volume flux (snow sublimation)"             unit="m/day"      /> 
     514 
     515         <field id="ibgsfx"       long_name="global mean salt flux (total)"                          unit="1e-3*m/day" /> 
     516         <field id="ibgsfxbri"    long_name="global mean salt flux (brines)"                         unit="1e-3*m/day" /> 
     517         <field id="ibgsfxdyn"    long_name="global mean salt flux (dynamic)"                        unit="1e-3*m/day" /> 
     518         <field id="ibgsfxres"    long_name="global mean salt flux (resultant)"                      unit="1e-3*m/day" /> 
     519         <field id="ibgsfxbog"    long_name="global mean salt flux (thermo)"                         unit="1e-3*m/day" /> 
     520         <field id="ibgsfxopw"    long_name="global mean salt flux (thermo)"                         unit="1e-3*m/day" /> 
     521         <field id="ibgsfxsni"    long_name="global mean salt flux (thermo)"                         unit="1e-3*m/day" /> 
     522         <field id="ibgsfxbom"    long_name="global mean salt flux (thermo)"                         unit="1e-3*m/day" /> 
     523         <field id="ibgsfxsum"    long_name="global mean salt flux (thermo)"                         unit="1e-3*m/day" /> 
     524 
     525         <field id="ibghfxdhc"    long_name="Heat content variation in snow and ice"                 unit="W"          /> 
     526         <field id="ibghfxspr"    long_name="Heat content of snow precip"                            unit="W"          /> 
     527 
     528         <field id="ibghfxthd"    long_name="heat fluxes from ice-ocean exchange during thermo"      unit="W"          /> 
     529         <field id="ibghfxsum"    long_name="heat fluxes causing surface ice melt"                   unit="W"          /> 
     530         <field id="ibghfxbom"    long_name="heat fluxes causing bottom ice melt"                    unit="W"          /> 
     531         <field id="ibghfxbog"    long_name="heat fluxes causing bottom ice growth"                  unit="W"          /> 
     532         <field id="ibghfxdif"    long_name="heat fluxes causing ice temperature change"             unit="W"          /> 
     533         <field id="ibghfxopw"    long_name="heat fluxes causing open water ice formation"           unit="W"          /> 
     534         <field id="ibghfxdyn"    long_name="heat fluxes from ice-ocean exchange during dynamic"     unit="W"          /> 
     535         <field id="ibghfxres"    long_name="heat fluxes from ice-ocean exchange during resultant"   unit="W"          /> 
     536         <field id="ibghfxsub"    long_name="heat fluxes from sublimation"                           unit="W"          /> 
     537         <field id="ibghfxsnw"    long_name="heat fluxes from snow-ocean exchange"                   unit="W"          /> 
     538         <field id="ibghfxout"    long_name="non solar heat fluxes received by the ocean"            unit="W"          /> 
     539         <field id="ibghfxin"     long_name="total heat fluxes at the ice surface"                   unit="W"          /> 
     540 
     541         <field id="ibgfrcvol"    long_name="global mean forcing volume (emp)"                       unit="km3"        /> 
     542         <field id="ibgfrcsfx"    long_name="global mean forcing salt   (sfx)"                       unit="1e-3*km3"   /> 
     543         <field id="ibgvolgrm"    long_name="global mean ice growth+melt volume"                     unit="km3"        /> 
    520544      </field_group> 
    521545   
    522546      <!-- variables available with key_float --> 
     547 
    523548      <field_group id="floatvar" domain_ref="1point" axis_ref="nfloat" operation="instant" > 
    524         <field id="traj_lon"   long_name="floats longitude"   unit="deg"   /> 
    525         <field id="traj_lat"   long_name="floats latitude"    unit="deg"  /> 
    526         <field id="traj_dep"   long_name="floats depth"       unit="m"     /> 
    527         <field id="traj_temp"  long_name="floats temperature" unit="degC"  /> 
    528         <field id="traj_salt"  long_name="floats salinity"    unit="psu"   /> 
    529         <field id="traj_dens"  long_name="floats density"     unit="kg/m3" /> 
    530         <field id="traj_group" long_name="floats group"       unit="none"  /> 
     549        <field id="traj_lon"      long_name="floats longitude"                                                           unit="degrees_east"  /> 
     550        <field id="traj_lat"      long_name="floats latitude"                                                            unit="degrees_north" /> 
     551        <field id="traj_dep"      long_name="floats depth"                                                               unit="m"             /> 
     552        <field id="traj_temp"     long_name="floats temperature"       standard_name="sea_water_potential_temperature"   unit="degC"          /> 
     553        <field id="traj_salt"     long_name="floats salinity"          standard_name="sea_water_practical_salinity"      unit="1e-3"          /> 
     554        <field id="traj_dens"     long_name="floats in-situ density"   standard_name="sea_water_density"                 unit="kg/m3"        /> 
     555        <field id="traj_group"    long_name="floats group"                                                               unit="1"             /> 
    531556      </field_group> 
    532557 
    533558      <!-- variables available with iceberg trajectories --> 
     559 
    534560      <field_group id="icbvar" domain_ref="grid_T"  >  
    535         <field id="berg_melt"          long_name="icb melt rate of icebergs"                     unit="kg/m2/s"   /> 
    536         <field id="berg_buoy_melt"     long_name="icb buoyancy component of iceberg melt rate"   unit="kg/m2/s"   /> 
    537         <field id="berg_eros_melt"     long_name="icb erosion component of iceberg melt rate"    unit="kg/m2/s"   /> 
    538         <field id="berg_conv_melt"     long_name="icb convective component of iceberg melt rate" unit="kg/m2/s"   /> 
    539         <field id="berg_virtual_area"  long_name="icb virtual coverage by icebergs"              unit="m2"        /> 
    540         <field id="bits_src"           long_name="icb mass source of bergy bits"                 unit="kg/m2/s"   /> 
    541         <field id="bits_melt"          long_name="icb melt rate of bergy bits"                   unit="kg/m2/s"   /> 
    542         <field id="bits_mass"          long_name="icb bergy bit density field"                   unit="kg/m2"     /> 
    543         <field id="berg_mass"          long_name="icb iceberg density field"                     unit="kg/m2"     /> 
    544         <field id="calving"            long_name="icb calving mass input"                        unit="kg/s"      /> 
    545         <field id="berg_floating_melt" long_name="icb melt rate of icebergs + bits"              unit="kg/m2/s"   /> 
    546         <field id="berg_real_calving"  long_name="icb calving into iceberg class"                unit="kg/s"     axis_ref="icbcla" /> 
    547         <field id="berg_stored_ice"    long_name="icb accumulated ice mass by class"             unit="kg"       axis_ref="icbcla" /> 
     561        <field id="berg_melt"          long_name="icb melt rate of icebergs"                       unit="kg/m2/s"                    /> 
     562        <field id="berg_buoy_melt"     long_name="icb buoyancy component of iceberg melt rate"     unit="kg/m2/s"                    /> 
     563        <field id="berg_eros_melt"     long_name="icb erosion component of iceberg melt rate"      unit="kg/m2/s"                    /> 
     564        <field id="berg_conv_melt"     long_name="icb convective component of iceberg melt rate"   unit="kg/m2/s"                    /> 
     565        <field id="berg_virtual_area"  long_name="icb virtual coverage by icebergs"                unit="m2"                         /> 
     566        <field id="bits_src"           long_name="icb mass source of bergy bits"                   unit="kg/m2/s"                    /> 
     567        <field id="bits_melt"          long_name="icb melt rate of bergy bits"                     unit="kg/m2/s"                    /> 
     568        <field id="bits_mass"          long_name="icb bergy bit density field"                     unit="kg/m2"                      /> 
     569        <field id="berg_mass"          long_name="icb iceberg density field"                       unit="kg/m2"                      /> 
     570        <field id="calving"            long_name="icb calving mass input"                          unit="kg/s"                       /> 
     571        <field id="berg_floating_melt" long_name="icb melt rate of icebergs + bits"                unit="kg/m2/s"                    /> 
     572        <field id="berg_real_calving"  long_name="icb calving into iceberg class"                  unit="kg/s"     axis_ref="icbcla" /> 
     573        <field id="berg_stored_ice"    long_name="icb accumulated ice mass by class"               unit="kg"       axis_ref="icbcla" /> 
    548574      </field_group> 
    549575 
     
    554580        <field id="zomsfpac"          long_name="Meridional Stream-Function: Pacific"          unit="Sv"       grid_ref="grid_W_3D"  /> 
    555581        <field id="zomsfind"          long_name="Meridional Stream-Function: Indian"           unit="Sv"       grid_ref="grid_W_3D"  /> 
    556         <field id="zomsfipc"          long_name="Meridional Stream-Function: Pacific+Indian"   unit="Sv"       grid_ref="grid_W_3D"   /> 
    557         <field id="zotemglo"          long_name="Zonal Mean Temperature : Global"              unit="C"        grid_ref="grid_T_3D" /> 
    558         <field id="zotematl"          long_name="Zonal Mean Temperature : Atlantic"            unit="C"        grid_ref="grid_T_3D" /> 
    559         <field id="zotempac"          long_name="Zonal Mean Temperature : Pacific"             unit="C"        grid_ref="grid_T_3D" /> 
    560         <field id="zotemind"          long_name="Zonal Mean Temperature : Indian"              unit="C"        grid_ref="grid_T_3D" /> 
    561         <field id="zotemipc"          long_name="Zonal Mean Temperature : Pacific+Indian"      unit="C"        grid_ref="grid_T_3D" /> 
    562         <field id="zosalglo"          long_name="Zonal Mean Salinity : Global"                 unit="PSU"      grid_ref="grid_T_3D"   /> 
    563         <field id="zosalatl"          long_name="Zonal Mean Salinity : Atlantic"               unit="PSU"      grid_ref="grid_T_3D"   /> 
    564         <field id="zosalpac"          long_name="Zonal Mean Salinity : Pacific"                unit="PSU"      grid_ref="grid_T_3D"   /> 
    565         <field id="zosalind"          long_name="Zonal Mean Salinity : Indian"                 unit="PSU"      grid_ref="grid_T_3D"   /> 
    566         <field id="zosalipc"          long_name="Zonal Mean Salinity : Pacific+Indian"         unit="PSU"      grid_ref="grid_T_3D"   /> 
     582        <field id="zomsfipc"          long_name="Meridional Stream-Function: Pacific+Indian"   unit="Sv"       grid_ref="grid_W_3D"  /> 
     583        <field id="zotemglo"          long_name="Zonal Mean Temperature : Global"              unit="degC"     grid_ref="grid_T_3D" /> 
     584        <field id="zotematl"          long_name="Zonal Mean Temperature : Atlantic"            unit="degC"     grid_ref="grid_T_3D" /> 
     585        <field id="zotempac"          long_name="Zonal Mean Temperature : Pacific"             unit="degC"     grid_ref="grid_T_3D" /> 
     586        <field id="zotemind"          long_name="Zonal Mean Temperature : Indian"              unit="degC"     grid_ref="grid_T_3D" /> 
     587        <field id="zotemipc"          long_name="Zonal Mean Temperature : Pacific+Indian"      unit="degC"     grid_ref="grid_T_3D" /> 
     588        <field id="zosalglo"          long_name="Zonal Mean Salinity : Global"                 unit="1e-3"     grid_ref="grid_T_3D"  /> 
     589        <field id="zosalatl"          long_name="Zonal Mean Salinity : Atlantic"               unit="1e-3"     grid_ref="grid_T_3D"  /> 
     590        <field id="zosalpac"          long_name="Zonal Mean Salinity : Pacific"                unit="1e-3"     grid_ref="grid_T_3D"  /> 
     591        <field id="zosalind"          long_name="Zonal Mean Salinity : Indian"                 unit="1e-3"     grid_ref="grid_T_3D"  /> 
     592        <field id="zosalipc"          long_name="Zonal Mean Salinity : Pacific+Indian"         unit="1e-3"     grid_ref="grid_T_3D"  /> 
    567593        <field id="zosrfglo"          long_name="Zonal Mean Surface"                           unit="m2"       grid_ref="grid_T_3D"  /> 
    568594        <field id="zosrfatl"          long_name="Zonal Mean Surface : Atlantic"                unit="m2"       grid_ref="grid_T_3D"  /> 
     
    570596        <field id="zosrfind"          long_name="Zonal Mean Surface : Indian"                  unit="m2"       grid_ref="grid_T_3D"  /> 
    571597        <field id="zosrfipc"          long_name="Zonal Mean Surface : Pacific+Indian"          unit="m2"       grid_ref="grid_T_3D"  /> 
    572         <field id="sophtadv"          long_name="Advective Heat Transport"                     unit="PW"       grid_ref="grid_T_2D" /> 
    573         <field id="sophtldf"          long_name="Diffusive Heat Transport"                     unit="PW"       grid_ref="grid_T_2D" /> 
    574         <field id="sopstadv"          long_name="Advective Salt Transport"                     unit="Giga g/s" grid_ref="grid_T_2D" /> 
    575         <field id="sopstldf"          long_name="Diffusive Salt Transport"                     unit="Giga g/s" grid_ref="grid_T_2D" /> 
    576       </field_group> 
    577  
     598        <field id="sophtadv"          long_name="Advective Heat Transport"                     unit="PW"       grid_ref="grid_T_2D"  /> 
     599        <field id="sophtldf"          long_name="Diffusive Heat Transport"                     unit="PW"       grid_ref="grid_T_2D"  /> 
     600        <field id="sopstadv"          long_name="Advective Salt Transport"                     unit="Giga g/s" grid_ref="grid_T_2D"  /> 
     601        <field id="sopstldf"          long_name="Diffusive Salt Transport"                     unit="Giga g/s" grid_ref="grid_T_2D"  /> 
     602      </field_group> 
     603 
     604    <!--  
     605============================================================================================================ 
     606                  Physical ocean model trend diagnostics : temperature, KE, PE, momentum 
     607============================================================================================================ 
     608    --> 
     609 
     610    <field_group id="trendT" grid_ref="grid_T_3D"> 
     611      <!-- variables available with ln_tra_trd --> 
     612      <field id="ttrd_xad"      long_name="temperature-trend: i-advection"                                                                                          unit="degC/s"                        /> 
     613      <field id="strd_xad"      long_name="salinity   -trend: i-advection"                                                                                          unit="1e-3/s"                        /> 
     614      <field id="ttrd_yad"      long_name="temperature-trend: j-advection"                                                                                          unit="degC/s"                        /> 
     615      <field id="strd_yad"      long_name="salinity   -trend: j-advection"                                                                                          unit="1e-3/s"                        /> 
     616      <field id="ttrd_zad"      long_name="temperature-trend: k-advection"                                                                                          unit="degC/s"                        /> 
     617      <field id="strd_zad"      long_name="salinity   -trend: k-advection"                                                                                          unit="1e-3/s"                        /> 
     618      <field id="ttrd_ad"       long_name="temperature-trend: advection"               standard_name="tendency_of_sea_water_temperature_due_to_advection"           unit="degC/s"                         > sqrt( ttrd_xad^2 + ttrd_yad^2 + ttrd_zad^2 ) </field> 
     619      <field id="strd_ad"       long_name="salinity   -trend: advection"               standard_name="tendency_of_sea_water_salinity_due_to_advection"              unit="1e-3/s"                         > sqrt( strd_xad^2 + strd_yad^2 + strd_zad^2 ) </field> 
     620      <field id="ttrd_sad"      long_name="temperature-trend: surface adv. (no-vvl)"                                                                                unit="degC/s"   grid_ref="grid_T_2D" /> 
     621      <field id="strd_sad"      long_name="salinity   -trend: surface adv. (no-vvl)"                                                                                unit="1e-3/s"   grid_ref="grid_T_2D" /> 
     622      <field id="ttrd_ldf"      long_name="temperature-trend: lateral  diffusion"      standard_name="tendency_of_sea_water_temperature_due_to_horizontal_mixing"   unit="degC/s"                        /> 
     623      <field id="strd_ldf"      long_name="salinity   -trend: lateral  diffusion"      standard_name="tendency_of_sea_water_salinity_due_to_horizontal_mixing"      unit="1e-3/s"                        /> 
     624      <field id="ttrd_zdf"      long_name="temperature-trend: vertical diffusion"      standard_name="tendency_of_sea_water_temperature_due_to_vertical_mixing"     unit="degC/s"                        /> 
     625      <field id="strd_zdf"      long_name="salinity   -trend: vertical diffusion"      standard_name="tendency_of_sea_water_salinity_due_to_vertical_mixing"        unit="1e-3/s"                        /> 
     626 
     627      <!-- ln_traldf_iso=T only (iso-neutral diffusion) --> 
     628      <field id="ttrd_zdfp"     long_name="temperature-trend: pure vert. diffusion"   unit="degC/s" /> 
     629      <field id="strd_zdfp"     long_name="salinity   -trend: pure vert. diffusion"   unit="1e-3/s" /> 
     630 
     631      <!-- --> 
     632      <field id="ttrd_dmp"      long_name="temperature-trend: interior restoring"        unit="degC/s" /> 
     633      <field id="strd_dmp"      long_name="salinity   -trend: interior restoring"        unit="1e-3/s" /> 
     634      <field id="ttrd_bbl"      long_name="temperature-trend: bottom boundary layer"     unit="degC/s" /> 
     635      <field id="strd_bbl"      long_name="salinity   -trend: bottom boundary layer"     unit="1e-3/s" /> 
     636      <field id="ttrd_npc"      long_name="temperature-trend: non-penetrative conv."     unit="degC/s" /> 
     637      <field id="strd_npc"      long_name="salinity   -trend: non-penetrative conv."     unit="1e-3/s" /> 
     638      <field id="ttrd_qns"      long_name="temperature-trend: non-solar flux + runoff"   unit="degC/s" /> 
     639      <field id="strd_cdt"      long_name="salinity   -trend: C/D term       + runoff"   unit="degC/s" /> 
     640      <field id="ttrd_qsr"      long_name="temperature-trend: solar penetr. heating"     unit="degC/s" /> 
     641      <field id="ttrd_bbc"      long_name="temperature-trend: geothermal heating"        unit="degC/s" /> 
     642      <field id="ttrd_atf"      long_name="temperature-trend: asselin time filter"       unit="degC/s" /> 
     643      <field id="strd_atf"      long_name="salinity   -trend: asselin time filter"       unit="1e-3/s" /> 
     644 
     645      <!-- variables available with ln_KE_trd --> 
     646      <field id="ketrd_hpg"     long_name="ke-trend: hydrostatic pressure gradient"          unit="W/s^3"                        /> 
     647      <field id="ketrd_spg"     long_name="ke-trend: surface     pressure gradient"          unit="W/s^3"                        /> 
     648      <field id="ketrd_spgexp"  long_name="ke-trend: surface pressure gradient (explicit)"   unit="W/s^3"                        /> 
     649      <field id="ketrd_spgflt"  long_name="ke-trend: surface pressure gradient (filter)"     unit="W/s^3"                        /> 
     650      <field id="ssh_flt"       long_name="filtered contribution to ssh (dynspg_flt)"        unit="m"       grid_ref="grid_T_2D" /> 
     651      <field id="w0"            long_name="surface vertical velocity"                        unit="m/s"     grid_ref="grid_T_2D" /> 
     652      <field id="pw0_exp"       long_name="surface pressure flux due to ssh"                 unit="W/s^2"   grid_ref="grid_T_2D" /> 
     653      <field id="pw0_flt"       long_name="surface pressure flux due to filtered ssh"        unit="W/s^2"   grid_ref="grid_T_2D" /> 
     654      <field id="ketrd_keg"     long_name="ke-trend: KE gradient         or hor. adv."       unit="W/s^3"                        /> 
     655      <field id="ketrd_rvo"     long_name="ke-trend: relative  vorticity or metric term"     unit="W/s^3"                        /> 
     656      <field id="ketrd_pvo"     long_name="ke-trend: planetary vorticity"                    unit="W/s^3"                        /> 
     657      <field id="ketrd_zad"     long_name="ke-trend: vertical  advection"                    unit="W/s^3"                        /> 
     658      <field id="ketrd_udx"     long_name="ke-trend: U.dx[U]"                                unit="W/s^3"                        /> 
     659      <field id="ketrd_ldf"     long_name="ke-trend: lateral   diffusion"                    unit="W/s^3"                        /> 
     660      <field id="ketrd_zdf"     long_name="ke-trend: vertical  diffusion"                    unit="W/s^3"                        /> 
     661      <field id="ketrd_tau"     long_name="ke-trend: wind stress "                           unit="W/s^3"   grid_ref="grid_T_2D" /> 
     662      <field id="ketrd_bfr"     long_name="ke-trend: bottom friction (explicit)"             unit="W/s^3"                        />    
     663      <field id="ketrd_bfri"    long_name="ke-trend: bottom friction (implicit)"             unit="W/s^3"                        />    
     664      <field id="ketrd_atf"     long_name="ke-trend: asselin time filter trend"              unit="W/s^3"                        />   
     665      <field id="ketrd_convP2K" long_name="ke-trend: conversion (potential to kinetic)"      unit="W/s^3"                        /> 
     666      <field id="KE"            long_name="kinetic energy: u(n)*u(n+1)/2"                    unit="W/s^2"                        />    
     667 
     668      <!-- variables available with ln_PE_trd --> 
     669      <field id="petrd_xad"     long_name="pe-trend: i-advection"                unit="W/m^3"                        /> 
     670      <field id="petrd_yad"     long_name="pe-trend: j-advection"                unit="W/m^3"                        /> 
     671      <field id="petrd_zad"     long_name="pe-trend: k-advection"                unit="W/m^3"                        /> 
     672      <field id="petrd_sad"     long_name="pe-trend: surface adv. (no-vvl)"      unit="W/m^3"   grid_ref="grid_T_2D" /> 
     673      <field id="petrd_ldf"     long_name="pe-trend: lateral  diffusion"         unit="W/m^3"                        /> 
     674      <field id="petrd_zdf"     long_name="pe-trend: vertical diffusion"         unit="W/m^3"                        /> 
     675      <field id="petrd_zdfp"    long_name="pe-trend: pure vert. diffusion"       unit="W/m^3"                        /> 
     676      <field id="petrd_dmp"     long_name="pe-trend: interior restoring"         unit="W/m^3"                        /> 
     677      <field id="petrd_bbl"     long_name="pe-trend: bottom boundary layer"      unit="W/m^3"                        /> 
     678      <field id="petrd_npc"     long_name="pe-trend: non-penetrative conv."      unit="W/m^3"                        /> 
     679      <field id="petrd_nsr"     long_name="pe-trend: surface forcing + runoff"   unit="W/m^3"                        /> 
     680      <field id="petrd_qsr"     long_name="pe-trend: solar penetr. heating"      unit="W/m^3"                        /> 
     681      <field id="petrd_bbc"     long_name="pe-trend: geothermal heating"         unit="W/m^3"                        /> 
     682      <field id="petrd_atf"     long_name="pe-trend: asselin time filter"        unit="W/m^3"                        /> 
     683      <field id="PEanom"        long_name="potential energy anomaly"             unit="1"                            />    
     684      <field id="alphaPE"       long_name="partial deriv. of PEanom wrt T"       unit="degC-1"                       />    
     685      <field id="betaPE"        long_name="partial deriv. of PEanom wrt S"       unit="1e3"                          />    
     686    </field_group> 
     687 
     688    <field_group id="trendU" grid_ref="grid_U_3D"> 
     689     <!-- variables available with ln_dyn_trd --> 
     690     <field id="utrd_hpg"       long_name="i-trend: hydrostatic pressure gradient"          unit="m/s^2"                        /> 
     691     <field id="utrd_spg"       long_name="i-trend: surface     pressure gradient"          unit="m/s^2"                        /> 
     692     <field id="utrd_spgexp"    long_name="i-trend: surface pressure gradient (explicit)"   unit="m/s^2"                        /> 
     693     <field id="utrd_spgflt"    long_name="i-trend: surface pressure gradient (filtered)"   unit="m/s^2"                        /> 
     694     <field id="utrd_keg"       long_name="i-trend: KE gradient         or hor. adv."       unit="m/s^2"                        /> 
     695     <field id="utrd_rvo"       long_name="i-trend: relative  vorticity or metric term"     unit="m/s^2"                        /> 
     696     <field id="utrd_pvo"       long_name="i-trend: planetary vorticity"                    unit="m/s^2"                        /> 
     697     <field id="utrd_zad"       long_name="i-trend: vertical  advection"                    unit="m/s^2"                        /> 
     698     <field id="utrd_udx"       long_name="i-trend: U.dx[U]"                                unit="m/s^2"                        /> 
     699     <field id="utrd_ldf"       long_name="i-trend: lateral   diffusion"                    unit="m/s^2"                        /> 
     700     <field id="utrd_zdf"       long_name="i-trend: vertical  diffusion"                    unit="m/s^2"                        /> 
     701     <field id="utrd_tau"       long_name="i-trend: wind stress "                           unit="m/s^2"   grid_ref="grid_U_2D" /> 
     702     <field id="utrd_bfr"       long_name="i-trend: bottom friction (explicit)"             unit="m/s^2"                        />    
     703     <field id="utrd_bfri"      long_name="i-trend: bottom friction (implicit)"             unit="m/s^2"                        />    
     704     <field id="utrd_tot"       long_name="i-trend: total momentum trend before atf"        unit="m/s^2"                        />    
     705     <field id="utrd_atf"       long_name="i-trend: asselin time filter trend"              unit="m/s^2"                        />    
     706    </field_group> 
     707 
     708    <field_group id="trendV" grid_ref="grid_V_3D"> 
     709     <!-- variables available with ln_dyn_trd --> 
     710     <field id="vtrd_hpg"       long_name="j-trend: hydrostatic pressure gradient"          unit="m/s^2"                        /> 
     711     <field id="vtrd_spg"       long_name="j-trend: surface     pressure gradient"          unit="m/s^2"                        /> 
     712     <field id="vtrd_spgexp"    long_name="j-trend: surface pressure gradient (explicit)"   unit="m/s^2"                        /> 
     713     <field id="vtrd_spgflt"    long_name="j-trend: surface pressure gradient (filtered)"   unit="m/s^2"                        /> 
     714     <field id="vtrd_keg"       long_name="j-trend: KE gradient         or hor. adv."       unit="m/s^2"                        /> 
     715     <field id="vtrd_rvo"       long_name="j-trend: relative  vorticity or metric term"     unit="m/s^2"                        /> 
     716     <field id="vtrd_pvo"       long_name="j-trend: planetary vorticity"                    unit="m/s^2"                        /> 
     717     <field id="vtrd_zad"       long_name="j-trend: vertical  advection"                    unit="m/s^2"                        /> 
     718     <field id="vtrd_vdy"       long_name="i-trend: V.dx[V]"                                unit="m/s^2"                        /> 
     719     <field id="vtrd_ldf"       long_name="j-trend: lateral   diffusion"                    unit="m/s^2"                        /> 
     720     <field id="vtrd_zdf"       long_name="j-trend: vertical  diffusion"                    unit="m/s^2"                        /> 
     721     <field id="vtrd_tau"       long_name="j-trend: wind stress "                           unit="m/s^2"   grid_ref="grid_V_2D" /> 
     722     <field id="vtrd_bfr"       long_name="j-trend: bottom friction (explicit)"             unit="m/s^2"                        />    
     723     <field id="vtrd_bfri"      long_name="j-trend: bottom friction (implicit)"             unit="m/s^2"                        />    
     724     <field id="vtrd_tot"       long_name="j-trend: total momentum trend before atf"        unit="m/s^2"                        />    
     725     <field id="vtrd_atf"       long_name="j-trend: asselin time filter trend"              unit="m/s^2"                        />    
     726    </field_group> 
     727 
     728    <!--  
     729============================================================================================================ 
     730                                     Biogeochemistry model variables 
     731============================================================================================================ 
     732    --> 
    578733 
    579734      <!-- ptrc on T grid --> 
     
    606761 
    607762       <!-- PISCES with Kriest parametisation : variables available with key_kriest --> 
    608        <field id="Num"      long_name="Number of organic particles"              unit="nbr" /> 
     763       <field id="Num"      long_name="Number of organic particles"              unit="1"      /> 
    609764 
    610765       <!-- PISCES light : variables available with key_pisces_reduced --> 
     
    613768 
    614769       <!-- CFC11 : variables available with key_cfc --> 
    615        <field id="CFC11"    long_name="CFC-11 Concentration"                     unit="umol/L" /> 
     770       <field id="CFC11"    long_name="CFC-11 Concentration"                     unit="umol/m3"  /> 
    616771       <!-- Bomb C14 : variables available with key_c14b --> 
    617        <field id="C14B"     long_name="Bomb C14 Concentration"                   unit="ration" /> 
     772       <field id="C14B"     long_name="Bomb C14 Concentration"                   unit="1"        /> 
    618773     </field_group> 
    619774 
    620       <!-- PISCES additional diagnostics on T grid  --> 
     775     <!-- PISCES additional diagnostics on T grid  --> 
     776 
    621777     <field_group id="diad_T" grid_ref="grid_T_2D"> 
    622        <field id="PH"          long_name="PH"                                      unit="-"          grid_ref="grid_T_3D" /> 
     778       <field id="PH"          long_name="PH"                                      unit="1"          grid_ref="grid_T_3D" /> 
    623779       <field id="CO3"         long_name="Bicarbonates"                            unit="mol/m3"     grid_ref="grid_T_3D" /> 
    624780       <field id="CO3sat"      long_name="CO3 saturation"                          unit="mol/m3"     grid_ref="grid_T_3D" /> 
    625781       <field id="PAR"         long_name="Photosynthetically Available Radiation"  unit="W/m2"       grid_ref="grid_T_3D" /> 
    626        <field id="PPPHY"       long_name="Primary production of nanophyto"         unit="molC/m3/s"  grid_ref="grid_T_3D" /> 
    627        <field id="PPPHY2"      long_name="Primary production of diatoms"           unit="molC/m3/s"  grid_ref="grid_T_3D" /> 
    628        <field id="PPNEWN"      long_name="New Primary production of nanophyto"     unit="molC/m3/s"  grid_ref="grid_T_3D" /> 
    629        <field id="PPNEWD"      long_name="New Primary production of diatoms"       unit="molC/m3/s"  grid_ref="grid_T_3D" /> 
    630        <field id="PBSi"        long_name="Primary production of Si diatoms"        unit="molSi/m3/s" grid_ref="grid_T_3D" /> 
    631        <field id="PFeN"        long_name="Primary production of nano iron"         unit="molFe/m3/s" grid_ref="grid_T_3D" /> 
    632        <field id="PFeD"        long_name="Primary production of diatoms iron"      unit="molFe/m3/s" grid_ref="grid_T_3D" /> 
    633        <field id="xfracal"     long_name="Calcifying fraction"                     unit="-"          grid_ref="grid_T_3D" /> 
    634        <field id="PCAL"        long_name="Calcite production"                      unit="molC/m3/s"  grid_ref="grid_T_3D" /> 
    635        <field id="DCAL"        long_name="Calcite dissolution"                     unit="molC/m3/s"  grid_ref="grid_T_3D" /> 
    636        <field id="GRAZ1"       long_name="Grazing by microzooplankton"             unit="molC/m3/s"  grid_ref="grid_T_3D" /> 
    637        <field id="GRAZ2"       long_name="Grazing by mesozooplankton"              unit="molC/m3/s"  grid_ref="grid_T_3D" /> 
    638        <field id="REMIN"       long_name="Oxic remineralization of OM"             unit="molC/m3/s"  grid_ref="grid_T_3D" /> 
    639        <field id="DENIT"       long_name="Anoxic remineralization of OM"           unit="molC/m3/s"  grid_ref="grid_T_3D" /> 
    640        <field id="Nfix"        long_name="Nitrogen fixation"                       unit="molN/m3/s"  grid_ref="grid_T_3D" /> 
     782       <field id="PPPHY"       long_name="Primary production of nanophyto"         unit="mol/m3/s"   grid_ref="grid_T_3D" /> 
     783       <field id="PPPHY2"      long_name="Primary production of diatoms"           unit="mol/m3/s"   grid_ref="grid_T_3D" /> 
     784       <field id="PPNEWN"      long_name="New Primary production of nanophyto"     unit="mol/m3/s"   grid_ref="grid_T_3D" /> 
     785       <field id="PPNEWD"      long_name="New Primary production of diatoms"       unit="mol/m3/s"   grid_ref="grid_T_3D" /> 
     786       <field id="PBSi"        long_name="Primary production of Si diatoms"        unit="mol/m3/s"  grid_ref="grid_T_3D" /> 
     787       <field id="PFeN"        long_name="Primary production of nano iron"         unit="mol/m3/s"  grid_ref="grid_T_3D" /> 
     788       <field id="PFeD"        long_name="Primary production of diatoms iron"      unit="mol/m3/s"  grid_ref="grid_T_3D" /> 
     789       <field id="xfracal"     long_name="Calcifying fraction"                     unit="1"          grid_ref="grid_T_3D" /> 
     790       <field id="PCAL"        long_name="Calcite production"                      unit="mol/m3/s"   grid_ref="grid_T_3D" /> 
     791       <field id="DCAL"        long_name="Calcite dissolution"                     unit="mol/m3/s"   grid_ref="grid_T_3D" /> 
     792       <field id="GRAZ1"       long_name="Grazing by microzooplankton"             unit="mol/m3/s"   grid_ref="grid_T_3D" /> 
     793       <field id="GRAZ2"       long_name="Grazing by mesozooplankton"              unit="mol/m3/s"   grid_ref="grid_T_3D" /> 
     794       <field id="REMIN"       long_name="Oxic remineralization of OM"             unit="mol/m3/s"   grid_ref="grid_T_3D" /> 
     795       <field id="DENIT"       long_name="Anoxic remineralization of OM"           unit="mol/m3/s"   grid_ref="grid_T_3D" /> 
     796       <field id="Nfix"        long_name="Nitrogen fixation"                       unit="mol/m3/s"   grid_ref="grid_T_3D" /> 
    641797       <field id="Mumax"       long_name="Maximum growth rate"                     unit="s-1"        grid_ref="grid_T_3D" /> 
    642798       <field id="MuN"         long_name="Realized growth rate for nanophyto"      unit="s-1"        grid_ref="grid_T_3D" /> 
    643799       <field id="MuD"         long_name="Realized growth rate for diatomes"       unit="s-1"        grid_ref="grid_T_3D" /> 
    644        <field id="LNnut"       long_name="Nutrient limitation term in Nanophyto"   unit="-"          grid_ref="grid_T_3D" /> 
    645        <field id="LDnut"       long_name="Nutrient limitation term in Diatoms"     unit="-"          grid_ref="grid_T_3D" /> 
    646        <field id="LNFe"        long_name="Iron limitation term in Nanophyto"       unit="-"          grid_ref="grid_T_3D" /> 
    647        <field id="LDFe"        long_name="Iron limitation term in Diatoms"         unit="-"          grid_ref="grid_T_3D" /> 
    648        <field id="LNlight"     long_name="Light limitation term in Nanophyto"      unit="-"          grid_ref="grid_T_3D" /> 
    649        <field id="LDlight"     long_name="Light limitation term in Diatoms"        unit="-"          grid_ref="grid_T_3D" /> 
    650        <field id="Fe2"         long_name="Iron II concentration"                   unit="nmol/L"     grid_ref="grid_T_3D" /> 
    651        <field id="Fe3"         long_name="Iron III concentration"                  unit="nmol/L"     grid_ref="grid_T_3D" /> 
    652        <field id="FeL1"        long_name="Complexed Iron concentration with L1"    unit="nmol/L"     grid_ref="grid_T_3D" /> 
    653        <field id="FeL2"        long_name="Complexed Iron concentration with L2"    unit="nmol/L"     grid_ref="grid_T_3D" /> 
    654        <field id="FeP"         long_name="Precipitated Iron III"                   unit="nmol/L"     grid_ref="grid_T_3D" /> 
    655        <field id="TL1"         long_name="Total L1 concentration"                  unit="nmol/L"     grid_ref="grid_T_3D" /> 
    656        <field id="TL2"         long_name="Total L2 concentration"                  unit="nmol/L"     grid_ref="grid_T_3D" /> 
    657        <field id="pdust"       long_name="dust concentration"                      unit="g/L"                          /> 
    658        <field id="Totlig"      long_name="Total ligand concentation"               unit="nmol/L"     grid_ref="grid_T_3D" /> 
    659        <field id="Biron"       long_name="Bioavailable iron"                       unit="nmol/L"     grid_ref="grid_T_3D" /> 
    660        <field id="Sdenit"      long_name="Nitrate reduction in the sediments"      unit="molN/m2/s"                    /> 
    661        <field id="Ironice"     long_name="Iron input/uptake due to sea ice"        unit="molFe/m2/s"                   /> 
    662        <field id="HYDR"        long_name="Iron input from hydrothemal vents"       unit="molFe/m2/s" grid_ref="grid_T_3D" /> 
    663        <field id="EPC100"      long_name="Export of carbon particles at 100 m"     unit="mol/m2/s"                     /> 
    664        <field id="EPFE100"     long_name="Export of biogenic iron at 100 m"        unit="mol/m2/s"                     /> 
    665        <field id="EPSI100"     long_name="Export of Silicate at 100 m"             unit="mol/m2/s"                     /> 
    666        <field id="EPCAL100"    long_name="Export of Calcite at 100 m"              unit="mol/m2/s"                     /> 
    667        <field id="EXPC"        long_name="Export of carbon"                        unit="molC/m2/s"  grid_ref="grid_T_3D" /> 
    668        <field id="EXPFE"       long_name="Export of biogenic iron"                 unit="molFe/m2/s" grid_ref="grid_T_3D" /> 
    669        <field id="EXPSI"       long_name="Export of Silicate"                      unit="molSi/m2/s" grid_ref="grid_T_3D" /> 
    670        <field id="EXPCAL"      long_name="Export of Calcite"                       unit="molC/m2/s"  grid_ref="grid_T_3D" /> 
    671        <field id="Cflx"        long_name="DIC flux"                                unit="mol/m2/s"                     /> 
    672        <field id="Oflx"        long_name="Oxygen flux"                             unit="mol/m2/s"                     /> 
    673        <field id="Kg"          long_name="Gas transfer"                            unit="mol/m2/s/uatm"                /> 
    674        <field id="Dpco2"       long_name="Delta CO2"                               unit="uatm"                         /> 
    675        <field id="Dpo2"        long_name="Delta O2"                                unit="uatm"                         /> 
    676        <field id="Heup"        long_name="Euphotic layer depth"                    unit="m"                            /> 
    677        <field id="Irondep"     long_name="Iron deposition from dust"               unit="mol/m2/s"                     /> 
    678        <field id="Ironsed"     long_name="Iron deposition from sediment"           unit="mol/m2/s"  grid_ref="grid_T_3D"/> 
     800       <field id="LNnut"       long_name="Nutrient limitation term in Nanophyto"   unit=""           grid_ref="grid_T_3D" /> 
     801       <field id="LDnut"       long_name="Nutrient limitation term in Diatoms"     unit=""           grid_ref="grid_T_3D" /> 
     802       <field id="LNFe"        long_name="Iron limitation term in Nanophyto"       unit=""           grid_ref="grid_T_3D" /> 
     803       <field id="LDFe"        long_name="Iron limitation term in Diatoms"         unit=""           grid_ref="grid_T_3D" /> 
     804       <field id="LNlight"     long_name="Light limitation term in Nanophyto"      unit=""           grid_ref="grid_T_3D" /> 
     805       <field id="LDlight"     long_name="Light limitation term in Diatoms"        unit=""           grid_ref="grid_T_3D" /> 
     806       <field id="Fe2"         long_name="Iron II concentration"                   unit="nmol/m3"    grid_ref="grid_T_3D" /> 
     807       <field id="Fe3"         long_name="Iron III concentration"                  unit="nmol/m3"    grid_ref="grid_T_3D" /> 
     808       <field id="FeL1"        long_name="Complexed Iron concentration with L1"    unit="nmol/m3"    grid_ref="grid_T_3D" /> 
     809       <field id="FeL2"        long_name="Complexed Iron concentration with L2"    unit="nmol/m3"    grid_ref="grid_T_3D" /> 
     810       <field id="FeP"         long_name="Precipitated Iron III"                   unit="nmol/m3"    grid_ref="grid_T_3D" /> 
     811       <field id="TL1"         long_name="Total L1 concentration"                  unit="nmol/m3"    grid_ref="grid_T_3D" /> 
     812       <field id="TL2"         long_name="Total L2 concentration"                  unit="nmol/m3"    grid_ref="grid_T_3D" /> 
     813       <field id="pdust"       long_name="dust concentration"                      unit="g/m3"                            /> 
     814       <field id="Totlig"      long_name="Total ligand concentation"               unit="nmol/m3"    grid_ref="grid_T_3D" /> 
     815       <field id="Biron"       long_name="Bioavailable iron"                       unit="nmol/m3"    grid_ref="grid_T_3D" /> 
     816       <field id="Sdenit"      long_name="Nitrate reduction in the sediments"      unit="mol/m2/s"                        /> 
     817       <field id="Ironice"     long_name="Iron input/uptake due to sea ice"        unit="mol/m2/s"                        /> 
     818       <field id="HYDR"        long_name="Iron input from hydrothemal vents"       unit="mol/m2/s"  grid_ref="grid_T_3D" /> 
     819       <field id="EPC100"      long_name="Export of carbon particles at 100 m"     unit="mol/m2/s"                        /> 
     820       <field id="EPFE100"     long_name="Export of biogenic iron at 100 m"        unit="mol/m2/s"                        /> 
     821       <field id="EPSI100"     long_name="Export of Silicate at 100 m"             unit="mol/m2/s"                        /> 
     822       <field id="EPCAL100"    long_name="Export of Calcite at 100 m"              unit="mol/m2/s"                        /> 
     823       <field id="EXPC"        long_name="Export of carbon"                        unit="mol/m2/s"   grid_ref="grid_T_3D" /> 
     824       <field id="EXPFE"       long_name="Export of biogenic iron"                 unit="mol/m2/s"  grid_ref="grid_T_3D" /> 
     825       <field id="EXPSI"       long_name="Export of Silicate"                      unit="mol/m2/s"  grid_ref="grid_T_3D" /> 
     826       <field id="EXPCAL"      long_name="Export of Calcite"                       unit="mol/m2/s"   grid_ref="grid_T_3D" /> 
     827       <field id="Cflx"        long_name="DIC flux"                                unit="mol/m2/s"                        /> 
     828       <field id="Oflx"        long_name="Oxygen flux"                             unit="mol/m2/s"                        /> 
     829       <field id="Kg"          long_name="Gas transfer"                            unit="mol/m2/s/uatm"                   /> 
     830       <field id="Dpco2"       long_name="Delta CO2"                               unit="uatm"                            /> 
     831       <field id="Dpo2"        long_name="Delta O2"                                unit="uatm"                            /> 
     832       <field id="Heup"        long_name="Euphotic layer depth"                    unit="m"                               /> 
     833       <field id="Irondep"     long_name="Iron deposition from dust"               unit="mol/m2/s"                        /> 
     834       <field id="Ironsed"     long_name="Iron deposition from sediment"           unit="mol/m2/s"   grid_ref="grid_T_3D" /> 
    679835 
    680836 
    681837       <!-- PISCES with Kriest parametisation : variables available with key_kriest --> 
    682        <field id="EPN100"      long_name="Particulate number flux at 100 m"        unit="mol/m2/s"                     /> 
     838       <field id="EPN100"      long_name="Particulate number flux at 100 m"        unit="mol/m2/s"                        /> 
    683839       <field id="EXPN"        long_name="Particulate number flux"                 unit="mol/m2/s"   grid_ref="grid_T_3D" /> 
    684        <field id="XNUM"        long_name="Number of particles in aggregats"        unit="-"          grid_ref="grid_T_3D" /> 
     840       <field id="XNUM"        long_name="Number of particles in aggregats"        unit="1"          grid_ref="grid_T_3D" /> 
    685841       <field id="WSC"         long_name="sinking speed of mass flux"              unit="m2/s"       grid_ref="grid_T_3D" /> 
    686842       <field id="WSN"         long_name="sinking speed of number flux"            unit="m2/s"       grid_ref="grid_T_3D" /> 
    687843 
    688       <!-- dbio_T on T grid : variables available with key_diaar5 --> 
    689        <field id="TPP"         long_name="Total Primary production of phyto"                   unit="molC/m3/s"  grid_ref="grid_T_3D" /> 
    690        <field id="TPNEW"       long_name="New Primary production of phyto"                     unit="molC/m3/s"  grid_ref="grid_T_3D" /> 
    691        <field id="TPBFE"       long_name="Total biogenic iron production"                      unit="molFe/m3/s" grid_ref="grid_T_3D" /> 
    692        <field id="INTDIC"      long_name="DIC content"                                         unit="kg/m2"   /> 
    693        <field id="O2MIN"       long_name="Oxygen minimum concentration"                        unit="molC/L" /> 
    694        <field id="ZO2MIN"      long_name="Depth of oxygen minimum concentration"               unit="m"       /> 
    695        <field id="INTNFIX"     long_name="Nitrogen fixation rate : vert. integrated"           unit="molN/m2/s"  /> 
    696        <field id="INTPPPHY"    long_name="Vertically integrated primary production by nanophy" unit="molC/m2/s"  /> 
    697        <field id="INTPPPHY2"   long_name="Vertically integrated primary production by diatom"  unit="molC/m2/s"  /> 
    698        <field id="INTPP"       long_name="Vertically integrated primary production by phyto"   unit="molC/m2/s"  /> 
    699        <field id="INTPNEW"     long_name="Vertically integrated new primary production"        unit="molC/m2/s"  /> 
    700        <field id="INTPBFE"     long_name="Vertically integrated of biogenic iron production"   unit="molFe/m2/s" /> 
    701        <field id="INTPBSI"     long_name="Vertically integrated of biogenic Si production"     unit="molSi/m2/s" /> 
    702        <field id="INTPCAL"     long_name="Vertically integrated of calcite production"         unit="molC/m2/s" /> 
     844       <!-- dbio_T on T grid : variables available with key_diaar5 --> 
     845       <field id="TPP"         long_name="Total Primary production of phyto"                   unit="mol/m3/s"  grid_ref="grid_T_3D" /> 
     846       <field id="TPNEW"       long_name="New Primary production of phyto"                     unit="mol/m3/s"  grid_ref="grid_T_3D" /> 
     847       <field id="TPBFE"       long_name="Total biogenic iron production"                      unit="mol/m3/s" grid_ref="grid_T_3D" /> 
     848       <field id="INTDIC"      long_name="DIC content"                                         unit="kg/m2"                          /> 
     849       <field id="O2MIN"       long_name="Oxygen minimum concentration"                        unit="mol/m3"                          /> 
     850       <field id="ZO2MIN"      long_name="Depth of oxygen minimum concentration"               unit="m"                              /> 
     851       <field id="INTNFIX"     long_name="Nitrogen fixation rate : vert. integrated"           unit="mol/m2/s"                       /> 
     852       <field id="INTPPPHY"    long_name="Vertically integrated primary production by nanophy" unit="mol/m2/s"                       /> 
     853       <field id="INTPPPHY2"   long_name="Vertically integrated primary production by diatom"  unit="mol/m2/s"                       /> 
     854       <field id="INTPP"       long_name="Vertically integrated primary production by phyto"   unit="mol/m2/s"                       /> 
     855       <field id="INTPNEW"     long_name="Vertically integrated new primary production"        unit="mol/m2/s"                       /> 
     856       <field id="INTPBFE"     long_name="Vertically integrated of biogenic iron production"   unit="mol/m2/s"                      /> 
     857       <field id="INTPBSI"     long_name="Vertically integrated of biogenic Si production"     unit="mol/m2/s"                      /> 
     858       <field id="INTPCAL"     long_name="Vertically integrated of calcite production"         unit="mol/m2/s"                      /> 
    703859 
    704860       <!-- PISCES light : variables available with key_pisces_reduced --> 
    705        <field id="FNO3PHY"     long_name="FNO3PHY"                                 unit="-"          grid_ref="grid_T_3D" />  
    706        <field id="FNH4PHY"     long_name="FNH4PHY"                                 unit="-"          grid_ref="grid_T_3D" />  
    707        <field id="FNH4NO3"     long_name="FNH4NO3"                                 unit="-"          grid_ref="grid_T_3D" />  
    708        <field id="TNO3PHY"     long_name="TNO3PHY"                                 unit="-"  />  
    709        <field id="TNH4PHY"     long_name="TNH4PHY"                                 unit="-"  />  
    710        <field id="TPHYDOM"     long_name="TPHYDOM"                                 unit="-"  />  
    711        <field id="TPHYNH4"     long_name="TPHYNH4"                                 unit="-"  />  
    712        <field id="TPHYZOO"     long_name="TPHYZOO"                                 unit="-"  />  
    713        <field id="TPHYDET"     long_name="TPHYDET"                                 unit="-"  />  
    714        <field id="TDETZOO"     long_name="TDETZOO"                                 unit="-"  />  
    715        <field id="TZOODET"     long_name="TZOODET"                                 unit="-"  />  
    716        <field id="TZOOBOD"     long_name="TZOOBOD"                                 unit="-"  />  
    717        <field id="TZOONH4"     long_name="TZOONH4"                                 unit="-"  />  
    718        <field id="TZOODOM"     long_name="TZOODOM"                                 unit="-"  />  
    719        <field id="TNH4NO3"     long_name="TNH4NO3"                                 unit="-"  />  
    720        <field id="TDOMNH4"     long_name="TDOMNH4"                                 unit="-"  />  
    721        <field id="TDETNH4"     long_name="TDETNH4"                                 unit="-"  />  
    722        <field id="TPHYTOT"     long_name="TPHYTOT"                                 unit="-"  />  
    723        <field id="TZOOTOT"     long_name="TZOOTOT"                                 unit="-"  />  
    724        <field id="SEDPOC"      long_name="SEDPOC"                                  unit="-"  />  
    725        <field id="TDETSED"     long_name="TDETSED"                                 unit="-"  />  
     861       <field id="FNO3PHY"     long_name="FNO3PHY"                                 unit=""          grid_ref="grid_T_3D" />  
     862       <field id="FNH4PHY"     long_name="FNH4PHY"                                 unit=""          grid_ref="grid_T_3D" />  
     863       <field id="FNH4NO3"     long_name="FNH4NO3"                                 unit=""          grid_ref="grid_T_3D" />  
     864       <field id="TNO3PHY"     long_name="TNO3PHY"                                 unit=""  />  
     865       <field id="TNH4PHY"     long_name="TNH4PHY"                                 unit=""  />  
     866       <field id="TPHYDOM"     long_name="TPHYDOM"                                 unit=""  />  
     867       <field id="TPHYNH4"     long_name="TPHYNH4"                                 unit=""  />  
     868       <field id="TPHYZOO"     long_name="TPHYZOO"                                 unit=""  />  
     869       <field id="TPHYDET"     long_name="TPHYDET"                                 unit=""  />  
     870       <field id="TDETZOO"     long_name="TDETZOO"                                 unit=""  />  
     871       <field id="TZOODET"     long_name="TZOODET"                                 unit=""  />  
     872       <field id="TZOOBOD"     long_name="TZOOBOD"                                 unit=""  />  
     873       <field id="TZOONH4"     long_name="TZOONH4"                                 unit=""  />  
     874       <field id="TZOODOM"     long_name="TZOODOM"                                 unit=""  />  
     875       <field id="TNH4NO3"     long_name="TNH4NO3"                                 unit=""  />  
     876       <field id="TDOMNH4"     long_name="TDOMNH4"                                 unit=""  />  
     877       <field id="TDETNH4"     long_name="TDETNH4"                                 unit=""  />  
     878       <field id="TPHYTOT"     long_name="TPHYTOT"                                 unit=""  />  
     879       <field id="TZOOTOT"     long_name="TZOOTOT"                                 unit=""  />  
     880       <field id="SEDPOC"      long_name="SEDPOC"                                  unit=""  />  
     881       <field id="TDETSED"     long_name="TDETSED"                                 unit=""  />  
    726882 
    727883       <!-- CFC11 : variables available with key_cfc --> 
    728        <field id="qtrCFC11"    long_name="Air-sea flux of CFC-11"                   unit="mol/m2/s"   /> 
    729        <field id="qintCFC11"   long_name="Cumulative air-sea flux of CFC-11"        unit="mol/m2"     /> 
     884       <field id="qtrCFC11"    long_name="Air-sea flux of CFC-11"                  unit="mol/m2/s"   /> 
     885       <field id="qintCFC11"   long_name="Cumulative air-sea flux of CFC-11"       unit="mol/m2"     /> 
     886 
    730887       <!-- Bomb C14 : variables available with key_c14b --> 
    731        <field id="qtrC14b"     long_name="Air-sea flux of Bomb C14"                 unit="mol/m2/s"   /> 
    732        <field id="qintC14b"    long_name="Cumulative air-sea flux of Bomb C14"      unit="mol/m2"     /> 
    733        <field id="fdecay"      long_name="Radiactive decay of Bomb C14"             unit="mol/m3"  grid_ref="grid_T_3D"  /> 
     888       <field id="qtrC14b"     long_name="Air-sea flux of Bomb C14"                unit="mol/m2/s"   /> 
     889       <field id="qintC14b"    long_name="Cumulative air-sea flux of Bomb C14"     unit="mol/m2"     /> 
     890       <field id="fdecay"      long_name="Radiactive decay of Bomb C14"            unit="mol/m3"  grid_ref="grid_T_3D"  /> 
    734891     </field_group> 
    735892 
    736     <field_group id="PISCES_scalar"  domain_ref="1point" > 
    737        <field id="pno3tot"         long_name="global mean nitrate concentration"                  unit="mol/l"   /> 
    738        <field id="psiltot"         long_name="global mean silicate concentration"                 unit="mol/l"   /> 
    739        <field id="palktot"         long_name="global mean alkalinity concentration"               unit="mol/l"   /> 
    740        <field id="pfertot"         long_name="global mean iron concentration"                     unit="mol/l"   /> 
    741        <field id="tcflx"           long_name="total Flux of Carbon out of the ocean"              unit="molC/s" /> 
    742        <field id="tcflxcum"        long_name="cumulative total Flux of Carbon out of the ocean"   unit="molC/s" /> 
    743        <field id="tcexp"           long_name="total Carbon export at 100m"                        unit="molC/s" /> 
    744        <field id="tintpp"          long_name="global total integrated primary production"         unit="molC/s" /> 
    745        <field id="tnfix"           long_name="global total nitrogen fixation"                     unit="molN/s" /> 
    746        <field id="tdenit"          long_name="Total denitrification"                              unit="molN/s" /> 
     893     <field_group id="PISCES_scalar"  domain_ref="1point" > 
     894       <field id="pno3tot"         long_name="global mean nitrate concentration"                  unit="mol/m3"   /> 
     895       <field id="psiltot"         long_name="global mean silicate concentration"                 unit="mol/m3"   /> 
     896       <field id="palktot"         long_name="global mean alkalinity concentration"               unit="mol/m3"   /> 
     897       <field id="pfertot"         long_name="global mean iron concentration"                     unit="mol/m3"   /> 
     898       <field id="tcflx"           long_name="total Flux of Carbon out of the ocean"              unit="mol/s"  /> 
     899       <field id="tcflxcum"        long_name="cumulative total Flux of Carbon out of the ocean"   unit="mol/s"  /> 
     900       <field id="tcexp"           long_name="total Carbon export at 100m"                        unit="mol/s"  /> 
     901       <field id="tintpp"          long_name="global total integrated primary production"         unit="mol/s"  /> 
     902       <field id="tnfix"           long_name="global total nitrogen fixation"                     unit="mol/s"  /> 
     903       <field id="tdenit"          long_name="Total denitrification"                              unit="mol/s"  /> 
    747904     </field_group> 
    748905 
    749906    <!--  
     907============================================================================================================ 
     908                                        Definitions for iodef_demo.xml 
    750909============================================================================================================ 
    751910    --> 
     
    768927      <field field_ref="qsr"          name="rsntds"   long_name="surface_net_downward_shortwave_flux"           /> 
    769928      <field field_ref="qt"           name="tohfls"   long_name="surface_net_downward_total_heat_flux"          /> 
    770       <field field_ref="taum"          /> 
    771       <field field_ref="20d"           /> 
    772       <field field_ref="mldkz5"        /> 
    773       <field field_ref="mldr10_1"      /> 
    774       <field field_ref="mldr10_3"      /> 
    775       <field field_ref="mldr0_1"       /> 
    776       <field field_ref="mldr0_3"       /> 
    777       <field field_ref="mld_dt02"      /> 
    778       <field field_ref="topthdep"      /> 
    779       <field field_ref="pycndep"       /> 
    780       <field field_ref="tinv"          /> 
    781       <field field_ref="depti"         /> 
    782       <field field_ref="BLT"          name="blt"      long_name="barrier_layer_thickness"               /> 
    783       <field field_ref="utau"         name="tauuo"    long_name="surface_downward_x_stress"             /> 
    784       <field field_ref="vtau"         name="tauvo"    long_name="surface_downward_y_stress"             /> 
     929      <field field_ref="taum"                                                                                   /> 
     930      <field field_ref="20d"                                                                                    /> 
     931      <field field_ref="mldkz5"                                                                                 /> 
     932      <field field_ref="mldr10_1"                                                                               /> 
     933      <field field_ref="mldr10_3"                                                                               /> 
     934      <field field_ref="mldr0_1"                                                                                /> 
     935      <field field_ref="mldr0_3"                                                                                /> 
     936      <field field_ref="mld_dt02"                                                                               /> 
     937      <field field_ref="topthdep"                                                                               /> 
     938      <field field_ref="pycndep"                                                                                /> 
     939      <field field_ref="tinv"                                                                                   /> 
     940      <field field_ref="depti"                                                                                  /> 
     941      <field field_ref="BLT"          name="blt"      long_name="barrier_layer_thickness"                       /> 
     942      <field field_ref="utau"         name="tauuo"    long_name="surface_downward_x_stress"                     /> 
     943      <field field_ref="vtau"         name="tauvo"    long_name="surface_downward_y_stress"                     /> 
    785944    </field_group> 
    786945 
    787      
    788946    <field_group id="groupT" > 
    789947      <field field_ref="toce"         name="thetao"   long_name="sea_water_potential_temperature"               /> 
     
    796954      <field field_ref="qsr"          name="rsntds"   long_name="surface_net_downward_shortwave_flux"           /> 
    797955      <field field_ref="qt"           name="tohfls"   long_name="surface_net_downward_total_heat_flux"          /> 
    798       <field field_ref="taum"         /> 
    799       <field field_ref="20d"          /> 
    800       <field field_ref="mldkz5"       /> 
    801       <field field_ref="mldr10_1"     /> 
    802       <field field_ref="mldr10_3"     /> 
    803       <field field_ref="mld_dt02"     /> 
    804       <field field_ref="topthdep"     /> 
    805       <field field_ref="pycndep"      /> 
    806       <field field_ref="tinv"         /> 
    807       <field field_ref="depti"        /> 
    808       <field field_ref="BLT"          name="blt"      long_name="Barrier Layer Thickness"  /> 
     956      <field field_ref="taum"                                                                                   /> 
     957      <field field_ref="20d"                                                                                    /> 
     958      <field field_ref="mldkz5"                                                                                 /> 
     959      <field field_ref="mldr10_1"                                                                               /> 
     960      <field field_ref="mldr10_3"                                                                               /> 
     961      <field field_ref="mld_dt02"                                                                               /> 
     962      <field field_ref="topthdep"                                                                               /> 
     963      <field field_ref="pycndep"                                                                                /> 
     964      <field field_ref="tinv"                                                                                   /> 
     965      <field field_ref="depti"                                                                                  /> 
     966      <field field_ref="BLT"          name="blt"      long_name="Barrier Layer Thickness"                       /> 
    809967    </field_group> 
    810968     
     
    825983    </field_group> 
    826984     
    827     <!--  
    828 ============================================================================================================ 
    829                      Trend diagnostics : temperature, KE, PE, momentum 
    830 ============================================================================================================ 
    831     --> 
    832  
    833     <field_group id="trendT" grid_ref="grid_T_3D"> 
    834       <!-- variables available with ln_tra_trd --> 
    835       <field id="ttrd_xad"      long_name="temperature-trend: i-advection"                 unit="degC/s" /> 
    836       <field id="strd_xad"      long_name="salinity   -trend: i-advection"                 unit="psu/s"  /> 
    837       <field id="ttrd_yad"      long_name="temperature-trend: j-advection"                 unit="degC/s" /> 
    838       <field id="strd_yad"      long_name="salinity   -trend: j-advection"                 unit="psu/s"  /> 
    839       <field id="ttrd_zad"      long_name="temperature-trend: k-advection"                 unit="degC/s" /> 
    840       <field id="strd_zad"      long_name="salinity   -trend: k-advection"                 unit="psu/s"  /> 
    841       <field id="ttrd_sad"      long_name="temperature-trend: surface adv. (no-vvl)"       unit="degC/s" grid_ref="grid_T_2D" /> 
    842       <field id="strd_sad"      long_name="salinity   -trend: surface adv. (no-vvl)"       unit="psu/s"  grid_ref="grid_T_2D" /> 
    843       <field id="ttrd_ldf"      long_name="temperature-trend: lateral  diffusion"          unit="degC/s" /> 
    844       <field id="strd_ldf"      long_name="salinity   -trend: lateral  diffusion"          unit="psu/s"  /> 
    845       <field id="ttrd_zdf"      long_name="temperature-trend: vertical diffusion"          unit="degC/s" /> 
    846       <field id="strd_zdf"      long_name="salinity   -trend: vertical diffusion"          unit="psu/s"  /> 
    847       <!-- ln_traldf_iso=T only (iso-neutral diffusion) --> 
    848       <field id="ttrd_zdfp"     long_name="temperature-trend: pure vert. diffusion"        unit="degC/s" /> 
    849       <field id="strd_zdfp"     long_name="salinity   -trend: pure vert. diffusion"        unit="psu/s"  /> 
    850       <!-- --> 
    851       <field id="ttrd_dmp"      long_name="temperature-trend: interior restoring"          unit="degC/s" /> 
    852       <field id="strd_dmp"      long_name="salinity   -trend: interior restoring"          unit="psu/s"  /> 
    853       <field id="ttrd_bbl"      long_name="temperature-trend: bottom boundary layer"       unit="degC/s" /> 
    854       <field id="strd_bbl"      long_name="salinity   -trend: bottom boundary layer"       unit="psu/s"  /> 
    855       <field id="ttrd_npc"      long_name="temperature-trend: non-penetrative conv."       unit="degC/s" /> 
    856       <field id="strd_npc"      long_name="salinity   -trend: non-penetrative conv."       unit="psu/s"  /> 
    857       <field id="ttrd_qns"      long_name="temperature-trend: non-solar flux + runoff"     unit="degC/s" /> 
    858       <field id="strd_cdt"      long_name="salinity   -trend: C/D term       + runoff"     unit="degC/s" /> 
    859       <field id="ttrd_qsr"      long_name="temperature-trend: solar penetr. heating"       unit="degC/s" /> 
    860       <field id="ttrd_bbc"      long_name="temperature-trend: geothermal heating"          unit="degC/s" /> 
    861       <field id="ttrd_atf"      long_name="temperature-trend: asselin time filter"         unit="degC/s" /> 
    862       <field id="strd_atf"      long_name="salinity   -trend: asselin time filter"         unit="psu/s"  /> 
    863       <!-- variables available with ln_KE_trd --> 
    864       <field id="ketrd_hpg"     long_name="ke-trend: hydrostatic pressure gradient"        unit="W/s^3"  /> 
    865       <field id="ketrd_spg"     long_name="ke-trend: surface     pressure gradient"        unit="W/s^3"  /> 
    866       <field id="ketrd_spgexp"  long_name="ke-trend: surface pressure gradient (explicit)" unit="W/s^3"  /> 
    867       <field id="ketrd_spgflt"  long_name="ke-trend: surface pressure gradient (filter)"   unit="W/s^3"  /> 
    868       <field id="ssh_flt"       long_name="filtered contribution to ssh (dynspg_flt)"      unit="m"     grid_ref="grid_T_2D"   /> 
    869       <field id="w0"            long_name="surface vertical velocity"                      unit="m/s"   grid_ref="grid_T_2D"   /> 
    870       <field id="pw0_exp"       long_name="surface pressure flux due to ssh"               unit="W/s^2" grid_ref="grid_T_2D"   /> 
    871       <field id="pw0_flt"       long_name="surface pressure flux due to filtered ssh"      unit="W/s^2" grid_ref="grid_T_2D"   /> 
    872       <field id="ketrd_keg"     long_name="ke-trend: KE gradient         or hor. adv."     unit="W/s^3"  /> 
    873       <field id="ketrd_rvo"     long_name="ke-trend: relative  vorticity or metric term"   unit="W/s^3"  /> 
    874       <field id="ketrd_pvo"     long_name="ke-trend: planetary vorticity"                  unit="W/s^3"  /> 
    875       <field id="ketrd_zad"     long_name="ke-trend: vertical  advection"                  unit="W/s^3"  /> 
    876       <field id="ketrd_udx"     long_name="ke-trend: U.dx[U]"                              unit="W/s^3"  /> 
    877       <field id="ketrd_ldf"     long_name="ke-trend: lateral   diffusion"                  unit="W/s^3"  /> 
    878       <field id="ketrd_zdf"     long_name="ke-trend: vertical  diffusion"                  unit="W/s^3"  /> 
    879       <field id="ketrd_tau"     long_name="ke-trend: wind stress "                         unit="W/s^3" grid_ref="grid_T_2D"   /> 
    880       <field id="ketrd_bfr"     long_name="ke-trend: bottom friction (explicit)"           unit="W/s^3"  />    
    881       <field id="ketrd_bfri"    long_name="ke-trend: bottom friction (implicit)"           unit="W/s^3"  />    
    882       <field id="ketrd_atf"     long_name="ke-trend: asselin time filter trend"            unit="W/s^3"  />   
    883       <field id="ketrd_convP2K" long_name="ke-trend: conversion (potential to kinetic)"    unit="W/s^3"  /> 
    884       <field id="KE"            long_name="kinetic energy: u(n)*u(n+1)/2"                  unit="W/s^2"  />    
    885       <!-- variables available with ln_PE_trd --> 
    886       <field id="petrd_xad"     long_name="pe-trend: i-advection"                          unit="W/m^3"  /> 
    887       <field id="petrd_yad"     long_name="pe-trend: j-advection"                          unit="W/m^3"  /> 
    888       <field id="petrd_zad"     long_name="pe-trend: k-advection"                          unit="W/m^3"  /> 
    889       <field id="petrd_sad"     long_name="pe-trend: surface adv. (no-vvl)"                unit="W/m^3"  grid_ref="grid_T_2D" /> 
    890       <field id="petrd_ldf"     long_name="pe-trend: lateral  diffusion"                   unit="W/m^3"  /> 
    891       <field id="petrd_zdf"     long_name="pe-trend: vertical diffusion"                   unit="W/m^3"  /> 
    892       <field id="petrd_zdfp"    long_name="pe-trend: pure vert. diffusion"                 unit="W/m^3"  /> 
    893       <field id="petrd_dmp"     long_name="pe-trend: interior restoring"                   unit="W/m^3"  /> 
    894       <field id="petrd_bbl"     long_name="pe-trend: bottom boundary layer"                unit="W/m^3"  /> 
    895       <field id="petrd_npc"     long_name="pe-trend: non-penetrative conv."                unit="W/m^3"  /> 
    896       <field id="petrd_nsr"     long_name="pe-trend: surface forcing + runoff"             unit="W/m^3"  /> 
    897       <field id="petrd_qsr"     long_name="pe-trend: solar penetr. heating"                unit="W/m^3"  /> 
    898       <field id="petrd_bbc"     long_name="pe-trend: geothermal heating"                   unit="W/m^3"  /> 
    899       <field id="petrd_atf"     long_name="pe-trend: asselin time filter"                  unit="W/m^3"  /> 
    900       <field id="PEanom"        long_name="potential energy anomaly"                       unit="SI"     />    
    901       <field id="alphaPE"       long_name="- partial deriv. of PEanom wrt T"               unit="/degC"  />    
    902       <field id="betaPE"        long_name="partial deriv. of PEanom wrt S"                 unit="/psu"   />    
    903     </field_group> 
    904  
    905     <field_group id="trendU" grid_ref="grid_U_3D"> 
    906      <!-- variables available with ln_dyn_trd --> 
    907      <field id="utrd_hpg"       long_name="i-trend: hydrostatic pressure gradient"         unit="m/s^2"                      /> 
    908      <field id="utrd_spg"       long_name="i-trend: surface     pressure gradient"         unit="m/s^2"                      /> 
    909      <field id="utrd_spgexp"    long_name="i-trend: surface pressure gradient (explicit)"  unit="m/s^2"                      /> 
    910      <field id="utrd_spgflt"    long_name="i-trend: surface pressure gradient (filtered)"  unit="m/s^2"                      /> 
    911      <field id="utrd_keg"       long_name="i-trend: KE gradient         or hor. adv."      unit="m/s^2"                      /> 
    912      <field id="utrd_rvo"       long_name="i-trend: relative  vorticity or metric term"    unit="m/s^2"                      /> 
    913      <field id="utrd_pvo"       long_name="i-trend: planetary vorticity"                   unit="m/s^2"                      /> 
    914      <field id="utrd_zad"       long_name="i-trend: vertical  advection"                   unit="m/s^2"                      /> 
    915      <field id="utrd_udx"       long_name="i-trend: U.dx[U]"                               unit="m/s^2"                      /> 
    916      <field id="utrd_ldf"       long_name="i-trend: lateral   diffusion"                   unit="m/s^2"                      /> 
    917      <field id="utrd_zdf"       long_name="i-trend: vertical  diffusion"                   unit="m/s^2"                      /> 
    918      <field id="utrd_tau"       long_name="i-trend: wind stress "                          unit="m/s^2" grid_ref="grid_U_2D" /> 
    919      <field id="utrd_bfr"       long_name="i-trend: bottom friction (explicit)"            unit="m/s^2"                      />    
    920      <field id="utrd_bfri"      long_name="i-trend: bottom friction (implicit)"            unit="m/s^2"                      />    
    921      <field id="utrd_tot"       long_name="i-trend: total momentum trend before atf"       unit="m/s^2"                      />    
    922      <field id="utrd_atf"       long_name="i-trend: asselin time filter trend"             unit="m/s^2"                      />    
    923     </field_group> 
    924  
    925     <field_group id="trendV" grid_ref="grid_V_3D"> 
    926      <!-- variables available with ln_dyn_trd --> 
    927      <field id="vtrd_hpg"       long_name="j-trend: hydrostatic pressure gradient"         unit="m/s^2"                      /> 
    928      <field id="vtrd_spg"       long_name="j-trend: surface     pressure gradient"         unit="m/s^2"                      /> 
    929      <field id="vtrd_spgexp"    long_name="j-trend: surface pressure gradient (explicit)"  unit="m/s^2"                      /> 
    930      <field id="vtrd_spgflt"    long_name="j-trend: surface pressure gradient (filtered)"  unit="m/s^2"                      /> 
    931      <field id="vtrd_keg"       long_name="j-trend: KE gradient         or hor. adv."      unit="m/s^2"                      /> 
    932      <field id="vtrd_rvo"       long_name="j-trend: relative  vorticity or metric term"    unit="m/s^2"                      /> 
    933      <field id="vtrd_pvo"       long_name="j-trend: planetary vorticity"                   unit="m/s^2"                      /> 
    934      <field id="vtrd_zad"       long_name="j-trend: vertical  advection"                   unit="m/s^2"                      /> 
    935      <field id="vtrd_vdy"       long_name="i-trend: V.dx[V]"                               unit="m/s^2"                      /> 
    936      <field id="vtrd_ldf"       long_name="j-trend: lateral   diffusion"                   unit="m/s^2"                      /> 
    937      <field id="vtrd_zdf"       long_name="j-trend: vertical  diffusion"                   unit="m/s^2"                      /> 
    938      <field id="vtrd_tau"       long_name="j-trend: wind stress "                          unit="m/s^2" grid_ref="grid_V_2D" /> 
    939      <field id="vtrd_bfr"       long_name="j-trend: bottom friction (explicit)"            unit="m/s^2"                      />    
    940      <field id="vtrd_bfri"      long_name="j-trend: bottom friction (implicit)"            unit="m/s^2"                      />    
    941      <field id="vtrd_tot"       long_name="j-trend: total momentum trend before atf"       unit="m/s^2"                      />    
    942      <field id="vtrd_atf"       long_name="j-trend: asselin time filter trend"            unit="m/s^2"                       />    
    943     </field_group> 
    944  
    945     </field_definition> 
     985 
     986   </field_definition> 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/CONFIG/SHARED/namelist_ice_lim2_ref

    r5124 r5382  
    1414!----------------------------------------------------------------------- 
    1515   cn_icerst_in  = "restart_ice_in"   !  suffix of ice restart name (input) 
     16   cn_icerst_indir = "."              !  directory from which to read input ice restarts 
    1617   cn_icerst_out = "restart_ice"      !  suffix of ice restart name (output) 
     18   cn_icerst_outdir = "."             !  directory in which to write output ice restarts 
    1719   ln_limdyn     = .true.             !  ice dynamics (T) or thermodynamics only (F) 
    1820   ln_limdmp     = .false.            !  restoring ice thickness and fraction leads   (T => fill  namice_dmp) 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/CONFIG/SHARED/namelist_ice_lim3_ref

    r5186 r5382  
    1717   nlay_s         =    1           !  number of snow layers (only 1 is working) 
    1818   cn_icerst_in  = "restart_ice"   !  suffix of ice restart name (input) 
     19   cn_icerst_indir = "."           !  directory from which to read input ice restarts 
    1920   cn_icerst_out = "restart_ice"   !  suffix of ice restart name (output) 
     21   cn_icerst_outdir = "."          !  directory in which to write output ice restarts 
    2022   ln_limdyn     = .true.          !  ice dynamics (T) or thermodynamics only (F) 
    2123   rn_amax       = 0.999           !  maximum tolerated ice concentration  
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/CONFIG/SHARED/namelist_ref

    r5352 r5382  
    1010!!              7 - dynamics         (namdyn_adv, namdyn_vor, namdyn_hpg, namdyn_spg, namdyn_ldf) 
    1111!!              8 - Verical physics  (namzdf, namzdf_ric, namzdf_tke, namzdf_kpp, namzdf_ddm, namzdf_tmx) 
    12 !!              9 - diagnostics      (namnc4, namtrd, namspr, namflo, namhsb) 
     12!!              9 - diagnostics      (namnc4, namtrd, namspr, namflo, namhsb, namsto) 
    1313!!             10 - miscellaneous    (namsol, nammpp, namctl) 
    1414!!             11 - Obs & Assim      (namobs, nam_asminc) 
     
    3737                           !    = 2 nn_date0 read in restart  ; nn_it000 : check consistancy between namelist and restart 
    3838   cn_ocerst_in  = "restart"   !  suffix of ocean restart name (input) 
     39   cn_ocerst_indir = "."       !  directory from which to read input ocean restarts 
    3940   cn_ocerst_out = "restart"   !  suffix of ocean restart name (output) 
     41   cn_ocerst_outdir = "."      !  directory in which to write output ocean restarts 
    4042   nn_istate   =       0   !  output the initial state (1) or not (0) 
     43   ln_rst_list = .false.   !  output restarts at list of times using nn_stocklist (T) or at set frequency with nn_stock (F) 
    4144   nn_stock    =    5475   !  frequency of creation of a restart file (modulo referenced to 1) 
     45   nn_stocklist = 0,0,0,0,0,0,0,0,0,0 ! List of timesteps when a restart file is to be written 
    4246   nn_write    =    5475   !  frequency of write in the output file   (modulo referenced to nn_it000) 
    4347   ln_dimgnnn  = .false.   !  DIMG file format: 1 file for all processors (F) or by processor (T) 
    4448   ln_mskland  = .false.   !  mask land points in NetCDF outputs (costly: + ~15%) 
     49   ln_cfmeta   = .false.   !  output additional data to netCDF files required for compliance with the CF metadata standard 
    4550   ln_clobber  = .false.   !  clobber (overwrite) an existing file 
    4651   nn_chunksz  =       0   !  chunksize (bytes) for NetCDF file (works only with iom_nf90 routines) 
     
    5055!!                      ***  Domain namelists  *** 
    5156!!====================================================================== 
    52 !!   namcfg       parameters of the configuration       
     57!!   namcfg       parameters of the configuration 
    5358!!   namzgr       vertical coordinate 
    5459!!   namzgr_sco   s-coordinate or hybrid z-s-coordinate 
     
    5863! 
    5964!----------------------------------------------------------------------- 
    60 &namcfg     !   parameters of the configuration       
     65&namcfg     !   parameters of the configuration 
    6166!----------------------------------------------------------------------- 
    6267   cp_cfg      =  "default"            !  name of the configuration 
     
    7277   jperio      =       0               !  lateral cond. type (between 0 and 6) 
    7378                                       !  = 0 closed                 ;   = 1 cyclic East-West 
    74                                        !  = 2 equatorial symmetric   ;   = 3 North fold T-point pivot  
     79                                       !  = 2 equatorial symmetric   ;   = 3 North fold T-point pivot 
    7580                                       !  = 4 cyclic East-West AND North fold T-point pivot 
    7681                                       !  = 5 North fold F-point pivot 
    7782                                       !  = 6 cyclic East-West AND North fold F-point pivot 
    78    ln_use_jattr = .false.              !  use (T) the file attribute: open_ocean_jstart, if present  
     83   ln_use_jattr = .false.              !  use (T) the file attribute: open_ocean_jstart, if present 
    7984                                       !  in netcdf input files, as the start j-row for reading 
    8085/ 
     
    101106                        !!!!!!!  SH94 stretching coefficients  (ln_s_sh94 = .true.) 
    102107   rn_theta    =    6.0    !  surface control parameter (0<=theta<=20) 
    103    rn_bb       =    0.8    !  stretching with SH94 s-sigma    
     108   rn_bb       =    0.8    !  stretching with SH94 s-sigma 
    104109                        !!!!!!!  SF12 stretching coefficient  (ln_s_sf12 = .true.) 
    105110   rn_alpha    =    4.4    !  stretching with SF12 s-sigma 
     
    110115   rn_zb_b     =   -0.2    !  offset for calculating Zb 
    111116                        !!!!!!!! Other stretching (not SH94 or SF12) [also uses rn_theta above] 
    112    rn_thetb    =    1.0    !  bottom control parameter  (0<=thetb<= 1)  
     117   rn_thetb    =    1.0    !  bottom control parameter  (0<=thetb<= 1) 
    113118/ 
    114119!----------------------------------------------------------------------- 
     
    118123   rn_bathy    =    0.     !  value of the bathymetry. if (=0) bottom flat at jpkm1 
    119124   nn_closea   =    0      !  remove (=0) or keep (=1) closed seas and lakes (ORCA) 
    120    nn_msh      =    0      !  create (=1) a mesh file or not (=0) 
     125   nn_msh      =    1      !  create (=1) a mesh file or not (=0) 
    121126   rn_hmin     =   -3.     !  min depth of the ocean (>0) or min number of ocean level (<0) 
    122127   rn_e3zps_min=   20.     !  partial step thickness is set larger than the minimum of 
     
    164169   nn_baro       =    30               !  Number of iterations of barotropic mode 
    165170                                       !  during rn_rdt seconds. Only used if ln_bt_nn_auto=F 
    166    rn_bt_cmax    =    0.8              !  Maximum courant number allowed if ln_bt_nn_auto=T  
     171   rn_bt_cmax    =    0.8              !  Maximum courant number allowed if ln_bt_nn_auto=T 
    167172   nn_bt_flt     =    1                !  Time filter choice 
    168173                                       !  = 0 None 
    169174                                       !  = 1 Boxcar over   nn_baro barotropic steps 
    170                                        !  = 2 Boxcar over 2*nn_baro     "        "   
     175                                       !  = 2 Boxcar over 2*nn_baro     "        " 
    171176/ 
    172177!----------------------------------------------------------------------- 
     
    251256   ln_rnf      = .true.    !  runoffs                                   (T   => fill namsbc_rnf) 
    252257   nn_isf      = 0         !  ice shelf melting/freezing                (/=0 => fill namsbc_isf) 
    253                            !  0 =no isf                  1 = presence of ISF  
    254                            !  2 = bg03 parametrisation   3 = rnf file for isf    
     258                           !  0 =no isf                  1 = presence of ISF 
     259                           !  2 = bg03 parametrisation   3 = rnf file for isf 
    255260                           !  4 = ISF fwf specified 
    256261                           !  option 1 and 4 need ln_isfcav = .true. (domzgr) 
     
    283288&namsbc_flx    !   surface boundary condition : flux formulation 
    284289!----------------------------------------------------------------------- 
    285 !              !  file name  ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask !  
     290!              !  file name  ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    286291!              !             !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
    287292   sn_utau     = 'utau'      ,        24         , 'utau'    , .false.      , .false., 'yearly'  , ''       , ''       , '' 
     
    326331   ln_taudif   = .false.   !  HF tau contribution: use "mean of stress module - module of the mean stress" data 
    327332   rn_zqt      = 10.        !  Air temperature and humidity reference height (m) 
    328    rn_zu       = 10.        !  Wind vector reference height (m)                  
     333   rn_zu       = 10.        !  Wind vector reference height (m) 
    329334   rn_pfac     = 1.        !  multiplicative factor for precipitation (total & snow) 
    330335   rn_efac     = 1.        !  multiplicative factor for evaporation (0. or 1.) 
    331    rn_vfac     = 0.        !  multiplicative factor for ocean/ice velocity  
     336   rn_vfac     = 0.        !  multiplicative factor for ocean/ice velocity 
    332337                           !  in the calculation of the wind stress (0.=absolute winds or 1.=relative winds) 
    333338/ 
     
    379384!              !  file name  ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    380385!              !             !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
    381    sn_usp      = 'sas_grid_U' ,    120           , 'vozocrtx' ,  .true.    , .true. ,   'yearly'  , ''       , ''             , ''       
     386   sn_usp      = 'sas_grid_U' ,    120           , 'vozocrtx' ,  .true.    , .true. ,   'yearly'  , ''       , ''             , '' 
    382387   sn_vsp      = 'sas_grid_V' ,    120           , 'vomecrty' ,  .true.    , .true. ,   'yearly'  , ''       , ''             , '' 
    383388   sn_tem      = 'sas_grid_T' ,    120           , 'sosstsst' ,  .true.    , .true. ,   'yearly'  , ''       , ''             , '' 
     
    431436/ 
    432437!----------------------------------------------------------------------- 
    433 &namsbc_isf    !  Top boundary layer (ISF)  
     438&namsbc_isf    !  Top boundary layer (ISF) 
    434439!----------------------------------------------------------------------- 
    435440!              ! file name ! frequency (hours) ! variable ! time interpol. !  clim   ! 'yearly'/ ! weights  ! rotation ! 
     
    508513                                                      ! Initial mass required for an iceberg of each class 
    509514      rn_initial_mass          = 8.8e7, 4.1e8, 3.3e9, 1.8e10, 3.8e10, 7.5e10, 1.2e11, 2.2e11, 3.9e11, 7.4e11 
    510                                                       ! Proportion of calving mass to apportion to each class   
     515                                                      ! Proportion of calving mass to apportion to each class 
    511516      rn_distribution          = 0.24, 0.12, 0.15, 0.18, 0.12, 0.07, 0.03, 0.03, 0.03, 0.02 
    512517                                                      ! Ratio between effective and real iceberg mass (non-dim) 
    513                                                       ! i.e. number of icebergs represented at a point          
     518                                                      ! i.e. number of icebergs represented at a point 
    514519      rn_mass_scaling          = 2000, 200, 50, 20, 10, 5, 2, 1, 1, 1 
    515520                                                      ! thickness of newly calved bergs (m) 
     
    520525      rn_bits_erosion_fraction = 0.                   ! Fraction of erosion melt flux to divert to bergy bits 
    521526      rn_sicn_shift            = 0.                   ! Shift of sea-ice concn in erosion flux (0<sicn_shift<1) 
    522       ln_passive_mode          = .false.              ! iceberg - ocean decoupling    
     527      ln_passive_mode          = .false.              ! iceberg - ocean decoupling 
    523528      nn_test_icebergs         =  10                  ! Create test icebergs of this class (-1 = no) 
    524529                                                      ! Put a test iceberg at each gridpoint in box (lon1,lon2,lat1,lat2) 
    525530      rn_test_box              = 108.0,  116.0, -66.0, -58.0 
    526       rn_speed_limit           = 0.                   ! CFL speed limit for a berg    
     531      rn_speed_limit           = 0.                   ! CFL speed limit for a berg 
    527532 
    528533!              ! file name ! frequency (hours) !   variable   ! time interp.   !  clim   ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    529534!              !           !  (if <0  months)  !     name     !   (logical)    !  (T/F ) ! 'monthly' ! filename ! pairing  ! filename      ! 
    530535      sn_icb =  'calving' ,       -1           , 'calvingmask',  .true.        , .true.  , 'yearly'  , ''       , ''       , '' 
    531     
    532       cn_dir = './'  
     536 
     537      cn_dir = './' 
    533538/ 
    534539 
     
    606611                                          !  = 2, use tidal harmonic forcing data from files 
    607612                                          !  = 3, use external data AND tidal harmonic forcing 
    608     cn_dyn3d      =  'none'               !   
     613    cn_dyn3d      =  'none'               ! 
    609614    nn_dyn3d_dta  =  0                    !  = 0, bdy data are equal to the initial state 
    610615                                          !  = 1, bdy data are read in 'bdydata   .nc' files 
    611     cn_tra        =  'none'               !  
     616    cn_tra        =  'none'               ! 
    612617    nn_tra_dta    =  0                    !  = 0, bdy data are equal to the initial state 
    613618                                          !  = 1, bdy data are read in 'bdydata   .nc' files 
    614     cn_ice_lim      =  'none'             !   
     619    cn_ice_lim      =  'none'             ! 
    615620    nn_ice_lim_dta  =  0                  !  = 0, bdy data are equal to the initial state 
    616621                                          !  = 1, bdy data are read in 'bdydata   .nc' files 
     
    621626    ln_tra_dmp    =.false.                !  open boudaries conditions for tracers 
    622627    ln_dyn3d_dmp  =.false.                !  open boundary condition for baroclinic velocities 
    623     rn_time_dmp   =  1.                   ! Damping time scale in days  
     628    rn_time_dmp   =  1.                   ! Damping time scale in days 
    624629    rn_time_dmp_out =  1.                 ! Outflow damping time scale 
    625630    nn_rimwidth   = 10                    !  width of the relaxation zone 
     
    674679   rn_bfri2_max =   1.e-1  !  max. bottom drag coefficient (non linear case and ln_loglayer=T) 
    675680   rn_bfeb2    =    2.5e-3 !  bottom turbulent kinetic energy background  (m2/s2) 
    676    rn_bfrz0    =    3.e-3  !  bottom roughness [m] if ln_loglayer=T  
     681   rn_bfrz0    =    3.e-3  !  bottom roughness [m] if ln_loglayer=T 
    677682   ln_bfr2d    = .false.   !  horizontal variation of the bottom friction coef (read a 2D mask file ) 
    678683   rn_bfrien   =    50.    !  local multiplying factor of bfr (ln_bfr2d=T) 
     
    720725!----------------------------------------------------------------------- 
    721726   nn_eos      =  -1     !  type of equation of state and Brunt-Vaisala frequency 
    722                                  !  =-1, TEOS-10  
    723                                  !  = 0, EOS-80  
     727                                 !  =-1, TEOS-10 
     728                                 !  = 0, EOS-80 
    724729                                 !  = 1, S-EOS   (simplified eos) 
    725730   ln_useCT    = .true.  ! use of Conservative Temp. ==> surface CT converted in Pot. Temp. in sbcssm 
     
    812817!----------------------------------------------------------------------- 
    813818   ln_dynadv_vec = .true.  !  vector form (T) or flux form (F) 
     819   nn_dynkeg     = 0       ! scheme for grad(KE): =0   C2  ;  =1   Hollingsworth correction 
    814820   ln_dynadv_cen2= .false. !  flux form - 2nd order centered scheme 
    815821   ln_dynadv_ubs = .false. !  flux form - 3rd order UBS      scheme 
     
    819825&nam_vvl    !   vertical coordinate options 
    820826!----------------------------------------------------------------------- 
    821    ln_vvl_zstar  = .true.           !  zstar vertical coordinate                    
     827   ln_vvl_zstar  = .true.           !  zstar vertical coordinate 
    822828   ln_vvl_ztilde = .false.          !  ztilde vertical coordinate: only high frequency variations 
    823829   ln_vvl_layer  = .false.          !  full layer vertical coordinate 
     
    10041010!!   namc1d_uvd        data: U & V currents                             ("key_c1d") 
    10051011!!   namc1d_dyndmp     U & V newtonian damping                          ("key_c1d") 
     1012!!   namsto            Stochastic parametrization of EOS 
    10061013!!====================================================================== 
    10071014! 
     
    10621069   ln_dyndmp   =  .false.  !  add a damping term (T) or not (F) 
    10631070/ 
     1071!----------------------------------------------------------------------- 
     1072&namsto       ! Stochastic parametrization of EOS 
     1073!----------------------------------------------------------------------- 
     1074   ln_rststo = .false.           ! start from mean parameter (F) or from restart file (T) 
     1075   ln_rstseed = .true.           ! read seed of RNG from restart file 
     1076   cn_storst_in  = "restart_sto" !  suffix of stochastic parameter restart file (input) 
     1077   cn_storst_out = "restart_sto" !  suffix of stochastic parameter restart file (output) 
     1078 
     1079   ln_sto_eos = .false.          ! stochastic equation of state 
     1080   nn_sto_eos = 1                ! number of independent random walks 
     1081   rn_eos_stdxy = 1.4            ! random walk horz. standard deviation (in grid points) 
     1082   rn_eos_stdz  = 0.7            ! random walk vert. standard deviation (in grid points) 
     1083   rn_eos_tcor  = 1440.0         ! random walk time correlation (in timesteps) 
     1084   nn_eos_ord  = 1               ! order of autoregressive processes 
     1085   nn_eos_flt  = 0               ! passes of Laplacian filter 
     1086   rn_eos_lim  = 2.0             ! limitation factor (default = 3.0) 
     1087/ 
    10641088 
    10651089!!====================================================================== 
     
    11731197   ln_sst     = .false.     ! Logical switch for SST observations 
    11741198   ln_reysst  = .false.     !     ln_reysst               Logical switch for Reynolds observations 
    1175    ln_ghrsst  = .false.    !     ln_ghrsst               Logical switch for GHRSST observations       
     1199   ln_ghrsst  = .false.    !     ln_ghrsst               Logical switch for GHRSST observations 
    11761200 
    11771201   ln_sstfb   = .false.    ! Logical switch for feedback SST data 
     
    12001224   sstfbfiles = 'sst_01.nc' 
    12011225                           !     seaicefiles             Sea Ice input observation file names 
    1202    seaicefiles = 'seaice_01.nc'   
     1226   seaicefiles = 'seaice_01.nc' 
    12031227                           !     velavcurfiles           Vel. cur. daily av. input file name 
    12041228                           !     velhvcurfiles           Vel. cur. high freq. input file name 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/CONFIG/SHARED/namelist_top_ref

    r5102 r5382  
    2121                           !                  = 2 calendar parameters read in the restart file 
    2222   cn_trcrst_in  = "restart_trc"   !  suffix of pass. sn_tracer restart name (input) 
     23   cn_trcrst_indir = "."           !  directory from which to read input passive tracer restarts 
    2324   cn_trcrst_out = "restart_trc"   !  suffix of pass. sn_tracer restart name (output) 
     25   cn_trcrst_outdir = "."          !  directory to which to write output passive tracer restarts 
    2426/ 
    2527!----------------------------------------------------------------------- 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/CONFIG/cfg.txt

    r5353 r5382  
    88ORCA2_LIM_PISCES OPA_SRC LIM_SRC_2 NST_SRC TOP_SRC 
    99ORCA2_OFF_PISCES OPA_SRC OFF_SRC TOP_SRC 
    10 ISOMIP OPA_SRC 
    1110GYRE OPA_SRC 
    1211ORCA2_LIM3 OPA_SRC LIM_SRC_3 NST_SRC 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/CONFIG/uspcfg.txt

    r4990 r5382  
    11ORCA1_CICE # ORCA2_LIM # OPA_SRC TOP_SRC  # http://gws-access.ceda.ac.uk/public/nemo/uspconfigs/ORCA1_CICE/v3.6.0/ORCA1_CICE_ctl.txt 
     2ISOMIP     # GYRE      # OPA_SRC          # http://gws-access.ceda.ac.uk/public/nemo/uspconfigs/ISOMIP/v3.6.0/ISOMIP_ctl.txt 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/LIM_SRC_2/ice_2.F90

    r5123 r5382  
    2424   !                                                   !!* namicerun read in iceini  * 
    2525   CHARACTER(len=32)     , PUBLIC ::   cn_icerst_in     !: suffix of ice restart name (input) 
     26   CHARACTER(len=256)    , PUBLIC ::   cn_icerst_indir  !: ice restart in directory 
    2627   CHARACTER(len=32)     , PUBLIC ::   cn_icerst_out    !: suffix of ice restart name (output) 
     28   CHARACTER(len=256)    , PUBLIC ::   cn_icerst_outdir !: ice restart out directory 
    2729   LOGICAL               , PUBLIC ::   ln_limdyn        !: flag for ice dynamics (T) or not (F) 
    2830   LOGICAL               , PUBLIC ::   ln_limdmp        !: Ice damping 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/LIM_SRC_2/iceini_2.F90

    r4624 r5382  
    4040   !!---------------------------------------------------------------------- 
    4141   !! NEMO/LIM2 4.0 , UCL - NEMO Consortium (2011) 
    42    !! $Id$  
     42   !! $Id$ 
    4343   !! Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt) 
    4444   !!---------------------------------------------------------------------- 
     
    123123      !! ** input   :   Namelist namicerun 
    124124      !!------------------------------------------------------------------- 
    125       NAMELIST/namicerun/ cn_icerst_in, cn_icerst_out, ln_limdyn, ln_limdmp, acrit, hsndif, hicdif 
     125      NAMELIST/namicerun/ cn_icerst_in, cn_icerst_indir, cn_icerst_out, cn_icerst_outdir, & 
     126                          ln_limdyn, ln_limdmp, acrit, hsndif, hicdif 
    126127      INTEGER  ::   ios                 ! Local integer output status for namelist read 
    127128      !!------------------------------------------------------------------- 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/LIM_SRC_2/limrst_2.F90

    r2528 r5382  
    5050      CHARACTER(LEN=20)   ::   clkt     ! ocean time-step deine as a character 
    5151      CHARACTER(LEN=50)   ::   clname   ! ice output restart file name 
     52      CHARACTER(len=150)  ::   clpath   ! full path to ice output restart file 
    5253      !!---------------------------------------------------------------------- 
    5354      ! 
     
    5859      ! except if we write ice restart files every ice time step or if an ice restart file was writen at nitend - 2*nn_fsbc + 1 
    5960      IF( kt == nitrst - 2*nn_fsbc + 1 .OR. nstock == nn_fsbc .OR. ( kt == nitend - nn_fsbc + 1 .AND. .NOT. lrst_ice ) ) THEN 
    60          ! beware of the format used to write kt (default is i8.8, that should be large enough...) 
    61          IF( nitrst > 99999999 ) THEN   ;   WRITE(clkt, *       ) nitrst 
    62          ELSE                           ;   WRITE(clkt, '(i8.8)') nitrst 
     61         IF( nitrst <= nitend .AND. nitrst > 0 ) THEN 
     62            ! beware of the format used to write kt (default is i8.8, that should be large enough...) 
     63            IF( nitrst > 99999999 ) THEN   ;   WRITE(clkt, *       ) nitrst 
     64            ELSE                           ;   WRITE(clkt, '(i8.8)') nitrst 
     65            ENDIF 
     66            ! create the file 
     67            clname = TRIM(cexper)//"_"//TRIM(ADJUSTL(clkt))//"_"//TRIM(cn_icerst_out) 
     68            clpath = TRIM(cn_icerst_outdir)  
     69            IF( clpath(LEN_TRIM(clpath):) /= '/' ) clpath = TRIM(clpath)//'/'  
     70            IF(lwp) THEN 
     71               WRITE(numout,*) 
     72               SELECT CASE ( jprstlib ) 
     73               CASE ( jprstdimg ) 
     74                  WRITE(numout,*) '             open ice restart binary file: ',TRIM(clpath)//clname 
     75               CASE DEFAULT 
     76                  WRITE(numout,*) '             open ice restart NetCDF file: ',TRIM(clpath)//clname 
     77               END SELECT 
     78               IF( kt == nitrst - 2*nn_fsbc + 1 ) THEN    
     79                  WRITE(numout,*)         '             kt = nitrst - 2*nn_fsbc + 1 = ', kt,' date= ', ndastp 
     80               ELSE   ;   WRITE(numout,*) '             kt = '                         , kt,' date= ', ndastp 
     81               ENDIF 
     82            ENDIF 
     83 
     84            CALL iom_open( TRIM(clpath)//TRIM(clname), numriw, ldwrt = .TRUE., kiolib = jprstlib ) 
     85            lrst_ice = .TRUE. 
    6386         ENDIF 
    64          ! create the file 
    65          clname = TRIM(cexper)//"_"//TRIM(ADJUSTL(clkt))//"_"//TRIM(cn_icerst_out) 
    66          IF(lwp) THEN 
    67             WRITE(numout,*) 
    68             SELECT CASE ( jprstlib ) 
    69             CASE ( jprstdimg )   ;   WRITE(numout,*) '             open ice restart binary file: '//clname 
    70             CASE DEFAULT         ;   WRITE(numout,*) '             open ice restart NetCDF file: '//clname 
    71             END SELECT 
    72             IF( kt == nitrst - 2*nn_fsbc + 1 ) THEN    
    73                WRITE(numout,*)         '             kt = nitrst - 2*nn_fsbc + 1 = ', kt,' date= ', ndastp 
    74             ELSE   ;   WRITE(numout,*) '             kt = '                         , kt,' date= ', ndastp 
    75             ENDIF 
    76          ENDIF 
    77  
    78          CALL iom_open( clname, numriw, ldwrt = .TRUE., kiolib = jprstlib ) 
    79          lrst_ice = .TRUE. 
    8087      ENDIF 
    8188      ! 
     
    188195        ! eventually read netcdf file (monobloc)  for restarting on different number of processors 
    189196        ! if {cn_icerst_in}.nc exists, then set jlibalt to jpnf90 
    190         INQUIRE( FILE = TRIM(cn_icerst_in)//'.nc', EXIST = llok ) 
     197        INQUIRE( FILE = TRIM(cn_icerst_indir)//'/'//TRIM(cn_icerst_in)//'.nc', EXIST = llok ) 
    191198        IF ( llok ) THEN ; jlibalt = jpnf90  ; ELSE ; jlibalt = jprstlib ; ENDIF 
    192199      ENDIF 
    193200 
    194       CALL iom_open ( cn_icerst_in, numrir, kiolib = jlibalt ) 
     201      CALL iom_open ( TRIM(cn_icerst_indir)//'/'//TRIM(cn_icerst_in), numrir, kiolib = jlibalt ) 
    195202 
    196203      CALL iom_get( numrir, 'kt_ice' , ziter ) 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/LIM_SRC_3/ice.F90

    r5167 r5382  
    373373   INTEGER          , PUBLIC ::   nlay_s          !: number of snow layers  
    374374   CHARACTER(len=32), PUBLIC ::   cn_icerst_in    !: suffix of ice restart name (input) 
     375   CHARACTER(len=256), PUBLIC ::   cn_icerst_indir !: ice restart input directory 
    375376   CHARACTER(len=32), PUBLIC ::   cn_icerst_out   !: suffix of ice restart name (output) 
     377   CHARACTER(len=256), PUBLIC ::   cn_icerst_outdir!: ice restart output directory 
    376378   LOGICAL          , PUBLIC ::   ln_limdyn       !: flag for ice dynamics (T) or not (F) 
    377379   LOGICAL          , PUBLIC ::   ln_icectl       !: flag for sea-ice points output (T) or not (F) 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/LIM_SRC_3/limrst.F90

    r5128 r5382  
    5555      CHARACTER(LEN=20)   ::   clkt     ! ocean time-step define as a character 
    5656      CHARACTER(LEN=50)   ::   clname   ! ice output restart file name 
     57      CHARACTER(len=256)  ::   clpath   ! full path to ice output restart file  
    5758      !!---------------------------------------------------------------------- 
    5859      ! 
     
    6465      IF( kt == nitrst - 2*nn_fsbc + 1 .OR. nstock == nn_fsbc    & 
    6566         &                             .OR. ( kt == nitend - nn_fsbc + 1 .AND. .NOT. lrst_ice ) ) THEN 
    66          ! beware of the format used to write kt (default is i8.8, that should be large enough...) 
    67          IF( nitrst > 99999999 ) THEN   ;   WRITE(clkt, *       ) nitrst 
    68          ELSE                           ;   WRITE(clkt, '(i8.8)') nitrst 
     67         IF( nitrst <= nitend .AND. nitrst > 0 ) THEN 
     68            ! beware of the format used to write kt (default is i8.8, that should be large enough...) 
     69            IF( nitrst > 99999999 ) THEN   ;   WRITE(clkt, *       ) nitrst 
     70            ELSE                           ;   WRITE(clkt, '(i8.8)') nitrst 
     71            ENDIF 
     72            ! create the file 
     73            clname = TRIM(cexper)//"_"//TRIM(ADJUSTL(clkt))//"_"//TRIM(cn_icerst_out) 
     74            clpath = TRIM(cn_icerst_outdir)  
     75            IF( clpath(LEN_TRIM(clpath):) /= '/' ) clpath = TRIM(clpath)//'/' 
     76            IF(lwp) THEN 
     77               WRITE(numout,*) 
     78               SELECT CASE ( jprstlib ) 
     79               CASE ( jprstdimg ) 
     80                  WRITE(numout,*) '             open ice restart binary file: ',TRIM(clpath)//clname 
     81               CASE DEFAULT 
     82                  WRITE(numout,*) '             open ice restart NetCDF file: ',TRIM(clpath)//clname 
     83               END SELECT 
     84               IF( kt == nitrst - 2*nn_fsbc + 1 ) THEN    
     85                  WRITE(numout,*)         '             kt = nitrst - 2*nn_fsbc + 1 = ', kt,' date= ', ndastp 
     86               ELSE   ;   WRITE(numout,*) '             kt = '                         , kt,' date= ', ndastp 
     87               ENDIF 
     88            ENDIF 
     89            ! 
     90            CALL iom_open( TRIM(clpath)//TRIM(clname), numriw, ldwrt = .TRUE., kiolib = jprstlib ) 
     91            lrst_ice = .TRUE. 
    6992         ENDIF 
    70          ! create the file 
    71          clname = TRIM(cexper)//"_"//TRIM(ADJUSTL(clkt))//"_"//TRIM(cn_icerst_out) 
    72          IF(lwp) THEN 
    73             WRITE(numout,*) 
    74             SELECT CASE ( jprstlib ) 
    75             CASE ( jprstdimg )   ;   WRITE(numout,*) '             open ice restart binary file: '//clname 
    76             CASE DEFAULT         ;   WRITE(numout,*) '             open ice restart NetCDF file: '//clname 
    77             END SELECT 
    78             IF( kt == nitrst - 2*nn_fsbc + 1 ) THEN    
    79                WRITE(numout,*)         '             kt = nitrst - 2*nn_fsbc + 1 = ', kt,' date= ', ndastp 
    80             ELSE   ;   WRITE(numout,*) '             kt = '                         , kt,' date= ', ndastp 
    81             ENDIF 
    82          ENDIF 
    83          ! 
    84          CALL iom_open( clname, numriw, ldwrt = .TRUE., kiolib = jprstlib ) 
    85          lrst_ice = .TRUE. 
    8693      ENDIF 
    8794      ! 
     
    143150         CALL iom_rstput( iter, nitrst, numriw, znam , z2d ) 
    144151      END DO 
    145        
     152 
    146153      DO jl = 1, jpl  
    147154         WRITE(zchar,'(I1)') jl 
     
    327334        ! eventually read netcdf file (monobloc)  for restarting on different number of processors 
    328335        ! if {cn_icerst_in}.nc exists, then set jlibalt to jpnf90 
    329         INQUIRE( FILE = TRIM(cn_icerst_in)//'.nc', EXIST = llok ) 
     336        INQUIRE( FILE = TRIM(cn_icerst_indir)//'/'//TRIM(cn_icerst_in)//'.nc', EXIST = llok ) 
    330337        IF ( llok ) THEN ; jlibalt = jpnf90  ; ELSE ; jlibalt = jprstlib ; ENDIF 
    331338      ENDIF 
    332339 
    333       CALL iom_open ( cn_icerst_in, numrir, kiolib = jprstlib ) 
     340      CALL iom_open ( TRIM(cn_icerst_indir)//'/'//cn_icerst_in, numrir, kiolib = jprstlib ) 
    334341 
    335342      CALL iom_get( numrir, 'nn_fsbc', zfice ) 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/OFF_SRC/domain.F90

    r4990 r5382  
    116116      USE ioipsl 
    117117      INTEGER  ::   ios                 ! Local integer output status for namelist read 
    118       NAMELIST/namrun/ nn_no   , cn_exp    , cn_ocerst_in, cn_ocerst_out, ln_rstart , nn_rstctl,   & 
     118      NAMELIST/namrun/ cn_ocerst_indir, cn_ocerst_outdir, nn_stocklist, ln_rst_list,               & 
     119         &             nn_no   , cn_exp    , cn_ocerst_in, cn_ocerst_out, ln_rstart , nn_rstctl,   & 
    119120         &             nn_it000, nn_itend  , nn_date0    , nn_leapy     , nn_istate , nn_stock ,   & 
    120          &             nn_write, ln_dimgnnn, ln_mskland  , ln_clobber   , nn_chunksz, nn_euler 
     121         &             nn_write, ln_dimgnnn, ln_mskland  , ln_cfmeta    , ln_clobber, nn_chunksz, nn_euler 
    121122      NAMELIST/namdom/ nn_bathy , rn_bathy, rn_e3zps_min, rn_e3zps_rat, nn_msh    , rn_hmin,   & 
    122123         &             nn_acc   , rn_atfp     , rn_rdt      , rn_rdtmin ,            & 
     
    159160         WRITE(numout,*) '      multi file dimgout              ln_dimgnnn = ', ln_dimgnnn 
    160161         WRITE(numout,*) '      mask land points                ln_mskland = ', ln_mskland 
     162         WRITE(numout,*) '      additional CF standard metadata ln_cfmeta  = ', ln_cfmeta 
    161163         WRITE(numout,*) '      overwrite an existing file      ln_clobber = ', ln_clobber 
    162164         WRITE(numout,*) '      NetCDF chunksize (bytes)        nn_chunksz = ', nn_chunksz 
     
    171173      ninist = nn_istate 
    172174      nstock = nn_stock 
     175      nstocklist = nn_stocklist 
    173176      nwrite = nn_write 
    174177 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/OPA_SRC/CRS/crsdom.F90

    r5215 r5382  
    18831883      CALL crs_lbc_lnk( p_surf_crs_msk, cd_type, 1.0, pval=1.0 ) 
    18841884 
    1885       CALL wrk_dealloc( jpi, jpj, jpk, zsurf, zsurfmsk ) 
     1885      CALL wrk_dealloc( jpi, jpj, jpk, zsurfmsk, zsurf ) 
    18861886 
    18871887   END SUBROUTINE crs_dom_sfc 
     
    22752275      ENDDO 
    22762276      
    2277       CALL wrk_alloc( jpi_crs, jpj_crs, zmbk ) 
    2278  
    22792277      zmbk(:,:) = 0.0 
    22802278      zmbk(:,:) = REAL( mbathy_crs(:,:), wp ) ;   CALL crs_lbc_lnk(zmbk,'T',1.0)   ;   mbathy_crs(:,:) = INT( zmbk(:,:) ) 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/OPA_SRC/DIA/diahth.F90

    r4292 r5382  
    245245      CALL iom_put( "mldr10_3", zrho10_3     )   ! MLD delta rho(10m) = 0.03 
    246246      CALL iom_put( "pycndep" , zpycn        )   ! MLD delta rho equi. delta T(10m) = 0.2 
    247       CALL iom_put( "BLT"     , ztm2 - zpycn )   ! Barrier Layer Thickness 
    248247      CALL iom_put( "tinv"    , ztinv        )   ! max. temp. inv. (t10 ref)  
    249248      CALL iom_put( "depti"   , zdepinv      )   ! depth of max. temp. inv. (t10 ref)  
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/OPA_SRC/DOM/domain.F90

    r4990 r5382  
    135135      !!---------------------------------------------------------------------- 
    136136      USE ioipsl 
    137       NAMELIST/namrun/ nn_no   , cn_exp    , cn_ocerst_in, cn_ocerst_out, ln_rstart , nn_rstctl,   & 
     137      NAMELIST/namrun/ cn_ocerst_indir, cn_ocerst_outdir, nn_stocklist, ln_rst_list,               & 
     138         &             nn_no   , cn_exp    , cn_ocerst_in, cn_ocerst_out, ln_rstart , nn_rstctl,   & 
    138139         &             nn_it000, nn_itend  , nn_date0    , nn_leapy     , nn_istate , nn_stock ,   & 
    139          &             nn_write, ln_dimgnnn, ln_mskland  , ln_clobber   , nn_chunksz, nn_euler 
     140         &             nn_write, ln_dimgnnn, ln_mskland  , ln_cfmeta    , ln_clobber, nn_chunksz, nn_euler 
    140141      NAMELIST/namdom/ nn_bathy, rn_bathy , rn_e3zps_min, rn_e3zps_rat, nn_msh, rn_hmin,   & 
    141142         &             nn_acc   , rn_atfp     , rn_rdt      , rn_rdtmin ,                  & 
     
    169170         WRITE(numout,*) '      experiment name for output      cn_exp     = ', cn_exp 
    170171         WRITE(numout,*) '      file prefix restart input       cn_ocerst_in= ', cn_ocerst_in 
     172         WRITE(numout,*) '      restart input directory         cn_ocerst_indir= ', cn_ocerst_indir 
    171173         WRITE(numout,*) '      file prefix restart output      cn_ocerst_out= ', cn_ocerst_out 
     174         WRITE(numout,*) '      restart output directory        cn_ocerst_outdir= ', cn_ocerst_outdir 
    172175         WRITE(numout,*) '      restart logical                 ln_rstart  = ', ln_rstart 
    173176         WRITE(numout,*) '      start with forward time step    nn_euler   = ', nn_euler 
     
    178181         WRITE(numout,*) '      leap year calendar (0/1)        nn_leapy   = ', nn_leapy 
    179182         WRITE(numout,*) '      initial state output            nn_istate  = ', nn_istate 
    180          WRITE(numout,*) '      frequency of restart file       nn_stock   = ', nn_stock 
     183         IF( ln_rst_list ) THEN 
     184            WRITE(numout,*) '      list of restart dump times      nn_stocklist   =', nn_stocklist 
     185         ELSE 
     186            WRITE(numout,*) '      frequency of restart file       nn_stock   = ', nn_stock 
     187         ENDIF 
    181188         WRITE(numout,*) '      frequency of output file        nn_write   = ', nn_write 
    182189         WRITE(numout,*) '      multi file dimgout              ln_dimgnnn = ', ln_dimgnnn 
    183190         WRITE(numout,*) '      mask land points                ln_mskland = ', ln_mskland 
     191         WRITE(numout,*) '      additional CF standard metadata ln_cfmeta  = ', ln_cfmeta 
    184192         WRITE(numout,*) '      overwrite an existing file      ln_clobber = ', ln_clobber 
    185193         WRITE(numout,*) '      NetCDF chunksize (bytes)        nn_chunksz = ', nn_chunksz 
     
    195203      ninist = nn_istate 
    196204      nstock = nn_stock 
     205      nstocklist = nn_stocklist 
    197206      nwrite = nn_write 
    198207      neuler = nn_euler 
    199       IF ( neuler == 1 .AND. .NOT.ln_rstart ) THEN 
     208      IF ( neuler == 1 .AND. .NOT. ln_rstart ) THEN 
    200209         WRITE(ctmp1,*) 'ln_rstart =.FALSE., nn_euler is forced to 0 ' 
    201210         CALL ctl_warn( ctmp1 ) 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/OPA_SRC/DOM/domzgr.F90

    r5120 r5382  
    472472         risfdep(:,:)=0.e0 
    473473         misfdep(:,:)=1 
    474          ! 
    475          ! (ISF) TODO build ice draft netcdf file for isomip and build the corresponding part of code 
    476          IF( cp_cfg == "isomip" .AND. ln_isfcav ) THEN  
    477             risfdep(:,:)=200.e0  
    478             misfdep(:,:)=1  
    479             ij0 = 1 ; ij1 = 40  
    480             DO jj = mj0(ij0), mj1(ij1)  
    481                risfdep(:,jj)=700.0_wp-(gphit(:,jj)+80.0_wp)*125.0_wp  
    482             END DO  
    483             WHERE( bathy(:,:) <= 0._wp )  risfdep(:,:) = 0._wp  
    484          !  
    485          ELSEIF ( cp_cfg == "isomip2" .AND. ln_isfcav ) THEN 
    486          !  
    487             risfdep(:,:)=0.e0 
    488             misfdep(:,:)=1 
    489             ij0 = 1 ; ij1 = 40 
    490             DO jj = mj0(ij0), mj1(ij1) 
    491                risfdep(:,jj)=700.0_wp-(gphit(:,jj)+80.0_wp)*125.0_wp 
    492             END DO 
    493             WHERE( bathy(:,:) <= 0._wp )  risfdep(:,:) = 0._wp 
    494          END IF 
    495474         ! 
    496475         DEALLOCATE( idta, zdta ) 
     
    969948      !! 
    970949      INTEGER  ::   ji, jj, jk       ! dummy loop indices 
    971       INTEGER  ::   ik, it          ! temporary integers 
     950      INTEGER  ::   ik, it, ikb, ikt ! temporary integers 
    972951      LOGICAL  ::   ll_print         ! Allow  control print for debugging 
    973952      REAL(wp) ::   ze3tp , ze3wp    ! Last ocean level thickness at T- and W-points 
     
    11521131      IF ( ln_isfcav ) THEN 
    11531132      ! (ISF) define e3uw (adapted for 2 cells in the water column) 
    1154       ! Need to test if the modification of only mikt and mbkt levels is enough 
    1155          DO jk = 2,jpk                           
    1156             DO jj = 1, jpjm1  
    1157                DO ji = 1, fs_jpim1   ! vector opt.  
    1158                   e3uw_0(ji,jj,jk) = MIN( gdept_0(ji,jj,jk), gdept_0(ji+1,jj  ,jk) ) & 
    1159                     &   - MAX( gdept_0(ji,jj,jk-1), gdept_0(ji+1,jj  ,jk-1) ) 
    1160                   e3vw_0(ji,jj,jk) = MIN( gdept_0(ji,jj,jk), gdept_0(ji  ,jj+1,jk) ) & 
    1161                     &   - MAX( gdept_0(ji,jj,jk-1), gdept_0(ji  ,jj+1,jk-1) ) 
    1162                END DO  
    1163             END DO  
     1133         DO jj = 2, jpjm1  
     1134            DO ji = 2, fs_jpim1   ! vector opt.  
     1135               ikb = MAX(mbathy (ji,jj),mbathy (ji+1,jj)) 
     1136               ikt = MAX(misfdep(ji,jj),misfdep(ji+1,jj)) 
     1137               IF (ikb == ikt+1) e3uw_0(ji,jj,ikb) =  MIN( gdept_0(ji,jj,ikb  ), gdept_0(ji+1,jj  ,ikb  ) ) & 
     1138                                       &            - MAX( gdept_0(ji,jj,ikb-1), gdept_0(ji+1,jj  ,ikb-1) ) 
     1139               ikb = MAX(mbathy (ji,jj),mbathy (ji,jj+1)) 
     1140               ikt = MAX(misfdep(ji,jj),misfdep(ji,jj+1)) 
     1141               IF (ikb == ikt+1) e3vw_0(ji,jj,ikb) =  MIN( gdept_0(ji,jj,ikb  ), gdept_0(ji  ,jj+1,ikb  ) ) & 
     1142                                       &            - MAX( gdept_0(ji,jj,ikb-1), gdept_0(ji  ,jj+1,ikb-1) ) 
     1143            END DO 
    11641144         END DO 
    11651145      END IF 
    1166        
     1146 
    11671147      CALL lbc_lnk( e3u_0 , 'U', 1._wp )   ;   CALL lbc_lnk( e3uw_0, 'U', 1._wp )   ! lateral boundary conditions 
    11681148      CALL lbc_lnk( e3v_0 , 'V', 1._wp )   ;   CALL lbc_lnk( e3vw_0, 'V', 1._wp ) 
     
    15381518  
    15391519 ! remove single point "bay" on isf coast line in the ice shelf draft' 
    1540          DO jk = 1, jpk 
     1520         DO jk = 2, jpk 
    15411521            WHERE (misfdep==0) misfdep=jpk 
    15421522            zmask=0 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/OPA_SRC/DOM/istate.F90

    r5163 r5382  
    110110         ELSEIF( cp_cfg == 'gyre' ) THEN          
    111111            CALL istate_gyre                     ! GYRE  configuration : start from pre-defined T-S fields 
    112         ELSEIF( cp_cfg == 'isomip' .OR. cp_cfg == 'isomip2') THEN 
    113             IF(lwp) WRITE(numout,*) 'Initialization of T+S for ISOMIP domain'  
    114             tsn(:,:,:,jp_tem)=-1.9*tmask(:,:,:)          ! ISOMIP configuration : start from constant T+S fields  
    115             tsn(:,:,:,jp_sal)=34.4*tmask(:,:,:) 
    116             tsb(:,:,:,:)=tsn(:,:,:,:)   
    117112         ELSE                                    ! Initial T-S, U-V fields read in files 
    118113            IF ( ln_tsd_init ) THEN              ! read 3D T and S data at nit000 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/OPA_SRC/DYN/dynadv.F90

    r5120 r5382  
    55   !!============================================================================== 
    66   !! History :  1.0  !  2006-11  (G. Madec)  Original code 
    7    !!            3.3  !  2010-10  (C. Ethe, G. Madec) reorganisation of initialisation phase 
     7   !!            3.3  !  2010-10  (C. Ethe, G. Madec)  reorganisation of initialisation phase 
     8   !!            3.6  !  2015-05  (N. Ducousso, G. Madec)  add Hollingsworth scheme as an option  
    89   !!---------------------------------------------------------------------- 
    910 
     
    1718   USE dynkeg          ! kinetic energy gradient          (dyn_keg      routine) 
    1819   USE dynzad          ! vertical advection               (dyn_zad      routine) 
     20   ! 
    1921   USE in_out_manager  ! I/O manager 
    2022   USE lib_mpp         ! MPP library 
     
    2527 
    2628   PUBLIC dyn_adv       ! routine called by step module 
    27    PUBLIC dyn_adv_init  ! routine called by opa module 
     29   PUBLIC dyn_adv_init  ! routine called by opa  module 
    2830  
     31   !                                    !* namdyn_adv namelist * 
    2932   LOGICAL, PUBLIC ::   ln_dynadv_vec   !: vector form flag 
     33   INTEGER, PUBLIC ::   nn_dynkeg       !: scheme of kinetic energy gradient: =0 C2 ; =1 Hollingsworth 
    3034   LOGICAL, PUBLIC ::   ln_dynadv_cen2  !: flux form - 2nd order centered scheme flag 
    3135   LOGICAL, PUBLIC ::   ln_dynadv_ubs   !: flux form - 3rd order UBS scheme flag 
     
    3842#  include "vectopt_loop_substitute.h90" 
    3943   !!---------------------------------------------------------------------- 
    40    !! NEMO/OPA 3.3 , NEMO Consortium (2010) 
     44   !! NEMO/OPA 3.6 , NEMO Consortium (2015) 
    4145   !! $Id$ 
    4246   !! Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt) 
     
    6367      SELECT CASE ( nadv )                  ! compute advection trend and add it to general trend 
    6468      CASE ( 0 )      
    65                       CALL dyn_keg     ( kt )    ! vector form : horizontal gradient of kinetic energy 
    66                       CALL dyn_zad     ( kt )    ! vector form : vertical advection 
     69                      CALL dyn_keg     ( kt, nn_dynkeg )    ! vector form : horizontal gradient of kinetic energy 
     70                      CALL dyn_zad     ( kt )               ! vector form : vertical advection 
    6771      CASE ( 1 )      
    68                       CALL dyn_keg     ( kt )    ! vector form : horizontal gradient of kinetic energy 
    69                       CALL dyn_zad_zts ( kt )    ! vector form : vertical advection with sub-timestepping 
     72                      CALL dyn_keg     ( kt, nn_dynkeg )    ! vector form : horizontal gradient of kinetic energy 
     73                      CALL dyn_zad_zts ( kt )               ! vector form : vertical advection with sub-timestepping 
    7074      CASE ( 2 )  
    71                       CALL dyn_adv_cen2( kt )    ! 2nd order centered scheme 
     75                      CALL dyn_adv_cen2( kt )               ! 2nd order centered scheme 
    7276      CASE ( 3 )    
    73                       CALL dyn_adv_ubs ( kt )    ! 3rd order UBS      scheme 
     77                      CALL dyn_adv_ubs ( kt )               ! 3rd order UBS      scheme 
    7478      ! 
    75       CASE (-1 )                                 ! esopa: test all possibility with control print 
    76                       CALL dyn_keg     ( kt ) 
     79      CASE (-1 )                                            ! esopa: test all possibility with control print 
     80                      CALL dyn_keg     ( kt, nn_dynkeg ) 
    7781                      CALL dyn_zad     ( kt ) 
    7882                      CALL dyn_adv_cen2( kt ) 
     
    9296      !!              momentum advection formulation & scheme and set nadv 
    9397      !!---------------------------------------------------------------------- 
    94       INTEGER ::   ioptio 
    95       INTEGER  ::   ios                 ! Local integer output status for namelist read 
    96       !! 
    97       NAMELIST/namdyn_adv/ ln_dynadv_vec, ln_dynadv_cen2 , ln_dynadv_ubs, ln_dynzad_zts 
     98      INTEGER ::   ioptio, ios   ! Local integer 
     99      ! 
     100      NAMELIST/namdyn_adv/ ln_dynadv_vec, nn_dynkeg, ln_dynadv_cen2 , ln_dynadv_ubs, ln_dynzad_zts 
    98101      !!---------------------------------------------------------------------- 
    99  
     102      ! 
    100103      REWIND( numnam_ref )              ! Namelist namdyn_adv in reference namelist : Momentum advection scheme 
    101104      READ  ( numnam_ref, namdyn_adv, IOSTAT = ios, ERR = 901) 
     
    112115         WRITE(numout,*) '~~~~~~~~~~~' 
    113116         WRITE(numout,*) '       Namelist namdyn_adv : chose a advection formulation & scheme for momentum' 
    114          WRITE(numout,*) '          Vector/flux form (T/F)             ln_dynadv_vec  = ', ln_dynadv_vec 
    115          WRITE(numout,*) '          2nd order centred advection scheme ln_dynadv_cen2 = ', ln_dynadv_cen2 
    116          WRITE(numout,*) '          3rd order UBS advection scheme     ln_dynadv_ubs  = ', ln_dynadv_ubs 
    117          WRITE(numout,*) '      Sub timestepping of vertical advection ln_dynzad_zts  = ', ln_dynzad_zts 
     117         WRITE(numout,*) '          Vector/flux form (T/F)                           ln_dynadv_vec  = ', ln_dynadv_vec 
     118         WRITE(numout,*) '          = 0 standard scheme  ; =1 Hollingsworth scheme   nn_dynkeg      = ', nn_dynkeg 
     119         WRITE(numout,*) '          2nd order centred advection scheme               ln_dynadv_cen2 = ', ln_dynadv_cen2 
     120         WRITE(numout,*) '          3rd order UBS advection scheme                   ln_dynadv_ubs  = ', ln_dynadv_ubs 
     121         WRITE(numout,*) '          Sub timestepping of vertical advection           ln_dynzad_zts  = ', ln_dynzad_zts 
    118122      ENDIF 
    119123 
     
    126130      IF( ioptio /= 1 )   CALL ctl_stop( 'Choose ONE advection scheme in namelist namdyn_adv' ) 
    127131      IF( ln_dynzad_zts .AND. .NOT. ln_dynadv_vec )   & 
    128           CALL ctl_stop( 'Sub timestepping of vertical advection requires vector form; set ln_dynadv_vec = .TRUE.' ) 
    129       IF( ln_dynzad_zts .AND. ln_isfcav )   & 
    130           CALL ctl_stop( 'Sub timestepping of vertical advection does not work with ln_isfcav = .TRUE.' ) 
     132         CALL ctl_stop( 'Sub timestepping of vertical advection requires vector form; set ln_dynadv_vec = .TRUE.' ) 
     133      IF( nn_dynkeg /= nkeg_C2 .AND. nn_dynkeg /= nkeg_HW )   &   
     134         CALL ctl_stop( 'KEG scheme wrong value of nn_dynkeg' ) 
    131135 
    132136      !                               ! Set nadv 
     
    139143      IF(lwp) THEN                    ! Print the choice 
    140144         WRITE(numout,*) 
    141          IF( nadv ==  0 )   WRITE(numout,*) '         vector form : keg + zad + vor is used' 
     145         IF( nadv ==  0 )   WRITE(numout,*) '         vector form : keg + zad + vor is used'  
    142146         IF( nadv ==  1 )   WRITE(numout,*) '         vector form : keg + zad_zts + vor is used' 
     147         IF( nadv ==  0 .OR. nadv ==  1 ) THEN 
     148            IF( nn_dynkeg == nkeg_C2  )   WRITE(numout,*) 'with Centered standard keg scheme' 
     149            IF( nn_dynkeg == nkeg_HW  )   WRITE(numout,*) 'with Hollingsworth keg scheme' 
     150         ENDIF 
    143151         IF( nadv ==  2 )   WRITE(numout,*) '         flux form   : 2nd order scheme is used' 
    144152         IF( nadv ==  3 )   WRITE(numout,*) '         flux form   : UBS       scheme is used' 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/OPA_SRC/DYN/dynkeg.F90

    r4990 r5382  
    44   !! Ocean dynamics:  kinetic energy gradient trend 
    55   !!====================================================================== 
    6    !! History :  1.0  !  87-09  (P. Andrich, m.-a. Foujols)  Original code 
    7    !!            7.0  !  97-05  (G. Madec)  Split dynber into dynkeg and dynhpg 
    8    !!            9.0  !  02-07  (G. Madec)  F90: Free form and module 
     6   !! History :  1.0  !  1987-09  (P. Andrich, M.-A. Foujols)  Original code 
     7   !!            7.0  !  1997-05  (G. Madec)  Split dynber into dynkeg and dynhpg 
     8   !!  NEMO      1.0  !  2002-07  (G. Madec)  F90: Free form and module 
     9   !!            3.6  !  2015-05  (N. Ducousso, G. Madec)  add Hollingsworth scheme as an option  
    910   !!---------------------------------------------------------------------- 
    1011    
     
    1819   ! 
    1920   USE in_out_manager  ! I/O manager 
     21   USE lbclnk          ! ocean lateral boundary conditions (or mpp link) 
    2022   USE lib_mpp         ! MPP library 
    2123   USE prtctl          ! Print control 
     
    2830   PUBLIC   dyn_keg    ! routine called by step module 
    2931    
     32   INTEGER, PARAMETER, PUBLIC  ::   nkeg_C2  = 0   !: 2nd order centered scheme (standard scheme) 
     33   INTEGER, PARAMETER, PUBLIC  ::   nkeg_HW  = 1   !: Hollingsworth et al., QJRMS, 1983 
     34   ! 
     35   REAL(wp) ::   r1_48 = 1._wp / 48._wp   !: =1/(4*2*6) 
     36    
    3037   !! * Substitutions 
    3138#  include "vectopt_loop_substitute.h90" 
    3239   !!---------------------------------------------------------------------- 
    33    !! NEMO/OPA 3.3 , NEMO Consortium (2010) 
     40   !! NEMO/OPA 3.6 , NEMO Consortium (2015) 
    3441   !! $Id$  
    3542   !! Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt) 
     
    3744CONTAINS 
    3845 
    39    SUBROUTINE dyn_keg( kt ) 
     46   SUBROUTINE dyn_keg( kt, kscheme ) 
    4047      !!---------------------------------------------------------------------- 
    4148      !!                  ***  ROUTINE dyn_keg  *** 
     
    4552      !!      general momentum trend. 
    4653      !! 
    47       !! ** Method  :   Compute the now horizontal kinetic energy  
     54      !! ** Method  : * kscheme = nkeg_C2 : 2nd order centered scheme that  
     55      !!      conserve kinetic energy. Compute the now horizontal kinetic energy  
    4856      !!         zhke = 1/2 [ mi-1( un^2 ) + mj-1( vn^2 ) ] 
     57      !!              * kscheme = nkeg_HW : Hollingsworth correction following 
     58      !!      Arakawa (2001). The now horizontal kinetic energy is given by: 
     59      !!         zhke = 1/6 [ mi-1(  2 * un^2 + ((un(j+1)+un(j-1))/2)^2  ) 
     60      !!                    + mj-1(  2 * vn^2 + ((vn(i+1)+vn(i-1))/2)^2  ) ] 
     61      !!       
    4962      !!      Take its horizontal gradient and add it to the general momentum 
    5063      !!      trend (ua,va). 
     
    5467      !! ** Action : - Update the (ua, va) with the hor. ke gradient trend 
    5568      !!             - send this trends to trd_dyn (l_trddyn=T) for post-processing 
     69      !! 
     70      !! ** References : Arakawa, A., International Geophysics 2001. 
     71      !!                 Hollingsworth et al., Quart. J. Roy. Meteor. Soc., 1983. 
    5672      !!---------------------------------------------------------------------- 
    57       INTEGER, INTENT( in ) ::   kt   ! ocean time-step index 
     73      INTEGER, INTENT( in ) ::   kt        ! ocean time-step index 
     74      INTEGER, INTENT( in ) ::   kscheme   ! =0/1   type of KEG scheme  
    5875      ! 
    5976      INTEGER  ::   ji, jj, jk   ! dummy loop indices 
     
    6380      !!---------------------------------------------------------------------- 
    6481      ! 
    65       IF( nn_timing == 1 )  CALL timing_start('dyn_keg') 
     82      IF( nn_timing == 1 )   CALL timing_start('dyn_keg') 
    6683      ! 
    67       CALL wrk_alloc( jpi, jpj, jpk, zhke ) 
     84      CALL wrk_alloc( jpi,jpj,jpk,  zhke ) 
    6885      ! 
    6986      IF( kt == nit000 ) THEN 
    7087         IF(lwp) WRITE(numout,*) 
    71          IF(lwp) WRITE(numout,*) 'dyn_keg : kinetic energy gradient trend' 
     88         IF(lwp) WRITE(numout,*) 'dyn_keg : kinetic energy gradient trend, scheme number=', kscheme 
    7289         IF(lwp) WRITE(numout,*) '~~~~~~~' 
    7390      ENDIF 
    7491 
    7592      IF( l_trddyn ) THEN           ! Save ua and va trends 
    76          CALL wrk_alloc( jpi,jpj,jpk, ztrdu, ztrdv ) 
     93         CALL wrk_alloc( jpi,jpj,jpk,   ztrdu, ztrdv ) 
    7794         ztrdu(:,:,:) = ua(:,:,:)  
    7895         ztrdv(:,:,:) = va(:,:,:)  
    7996      ENDIF 
    8097       
    81       !                                                ! =============== 
    82       DO jk = 1, jpkm1                                 ! Horizontal slab 
    83          !                                             ! =============== 
    84          DO jj = 2, jpj         ! Horizontal kinetic energy at T-point 
    85             DO ji = fs_2, jpi   ! vector opt. 
    86                zu = 0.25 * (  un(ji-1,jj  ,jk) * un(ji-1,jj  ,jk)   & 
    87                   &         + un(ji  ,jj  ,jk) * un(ji  ,jj  ,jk)  ) 
    88                zv = 0.25 * (  vn(ji  ,jj-1,jk) * vn(ji  ,jj-1,jk)   & 
    89                   &         + vn(ji  ,jj  ,jk) * vn(ji  ,jj  ,jk)  ) 
    90                zhke(ji,jj,jk) = zv + zu 
    91 !!gm simplier coding  ==>>   ~ faster 
    92 !    don't forget to suppress local zu zv scalars 
    93 !               zhke(ji,jj,jk) = 0.25 * (   un(ji-1,jj  ,jk) * un(ji-1,jj  ,jk)   & 
    94 !                  &                      + un(ji  ,jj  ,jk) * un(ji  ,jj  ,jk)   & 
    95 !                  &                      + vn(ji  ,jj-1,jk) * vn(ji  ,jj-1,jk)   & 
    96 !                  &                      + vn(ji  ,jj  ,jk) * vn(ji  ,jj  ,jk)   ) 
    97 !!gm end <<== 
    98             END DO   
    99          END DO   
    100          DO jj = 2, jpjm1       ! add the gradient of kinetic energy to the general momentum trends 
     98      zhke(:,:,jpk) = 0._wp 
     99       
     100      SELECT CASE ( kscheme )             !== Horizontal kinetic energy at T-point  ==! 
     101      ! 
     102      CASE ( nkeg_C2 )                          !--  Standard scheme  --! 
     103         DO jk = 1, jpkm1 
     104            DO jj = 2, jpj 
     105               DO ji = fs_2, jpi   ! vector opt. 
     106                  zu =    un(ji-1,jj  ,jk) * un(ji-1,jj  ,jk)   & 
     107                     &  + un(ji  ,jj  ,jk) * un(ji  ,jj  ,jk) 
     108                  zv =    vn(ji  ,jj-1,jk) * vn(ji  ,jj-1,jk)   & 
     109                     &  + vn(ji  ,jj  ,jk) * vn(ji  ,jj  ,jk) 
     110                  zhke(ji,jj,jk) = 0.25_wp * ( zv + zu ) 
     111               END DO   
     112            END DO 
     113         END DO 
     114         ! 
     115      CASE ( nkeg_HW )                          !--  Hollingsworth scheme  --! 
     116         DO jk = 1, jpkm1 
     117            DO jj = 2, jpjm1        
     118               DO ji = fs_2, jpim1   ! vector opt. 
     119                  zu = 8._wp * ( un(ji-1,jj  ,jk) * un(ji-1,jj  ,jk)    & 
     120                     &         + un(ji  ,jj  ,jk) * un(ji  ,jj  ,jk) )  & 
     121                     &   +     ( un(ji-1,jj-1,jk) + un(ji-1,jj+1,jk) ) * ( un(ji-1,jj-1,jk) + un(ji-1,jj+1,jk) )   & 
     122                     &   +     ( un(ji  ,jj-1,jk) + un(ji  ,jj+1,jk) ) * ( un(ji  ,jj-1,jk) + un(ji  ,jj+1,jk) ) 
     123                     ! 
     124                  zv = 8._wp * ( vn(ji  ,jj-1,jk) * vn(ji  ,jj-1,jk)    & 
     125                     &         + vn(ji  ,jj  ,jk) * vn(ji  ,jj  ,jk) )  & 
     126                     &  +      ( vn(ji-1,jj-1,jk) + vn(ji+1,jj-1,jk) ) * ( vn(ji-1,jj-1,jk) + vn(ji+1,jj-1,jk) )   & 
     127                     &  +      ( vn(ji-1,jj  ,jk) + vn(ji+1,jj  ,jk) ) * ( vn(ji-1,jj  ,jk) + vn(ji+1,jj  ,jk) ) 
     128                  zhke(ji,jj,jk) = r1_48 * ( zv + zu ) 
     129               END DO   
     130            END DO 
     131         END DO 
     132         CALL lbc_lnk( zhke, 'T', 1. ) 
     133         ! 
     134      END SELECT 
     135      ! 
     136      DO jk = 1, jpkm1                    !==  grad( KE ) added to the general momentum trends  ==! 
     137         DO jj = 2, jpjm1 
    101138            DO ji = fs_2, fs_jpim1   ! vector opt. 
    102139               ua(ji,jj,jk) = ua(ji,jj,jk) - ( zhke(ji+1,jj  ,jk) - zhke(ji,jj,jk) ) / e1u(ji,jj) 
     
    104141            END DO  
    105142         END DO 
    106 !!gm idea to be tested  ==>>   is it faster on scalar computers ? 
    107 !         DO jj = 2, jpjm1       ! add the gradient of kinetic energy to the general momentum trends 
    108 !            DO ji = fs_2, fs_jpim1   ! vector opt. 
    109 !               ua(ji,jj,jk) = ua(ji,jj,jk) - 0.25 * ( + un(ji+1,jj  ,jk) * un(ji+1,jj  ,jk)   & 
    110 !                  &                                   + vn(ji+1,jj-1,jk) * vn(ji+1,jj-1,jk)   & 
    111 !                  &                                   + vn(ji+1,jj  ,jk) * vn(ji+1,jj  ,jk)   & 
    112 !                  ! 
    113 !                  &                                   - un(ji-1,jj  ,jk) * un(ji-1,jj  ,jk)   & 
    114 !                  &                                   - vn(ji  ,jj-1,jk) * vn(ji  ,jj-1,jk)   & 
    115 !                  &                                   - vn(ji  ,jj  ,jk) * vn(ji  ,jj  ,jk)   ) / e1u(ji,jj) 
    116 !                  ! 
    117 !               va(ji,jj,jk) = va(ji,jj,jk) - 0.25 * (   un(ji-1,jj+1,jk) * un(ji-1,jj+1,jk)   & 
    118 !                  &                                   + un(ji  ,jj+1,jk) * un(ji  ,jj+1,jk)   & 
    119 !                  &                                   + vn(ji  ,jj+1,jk) * vn(ji  ,jj+1,jk)   & 
    120 !                  ! 
    121 !                  &                                   - un(ji-1,jj  ,jk) * un(ji-1,jj  ,jk)   & 
    122 !                  &                                   - un(ji  ,jj  ,jk) * un(ji  ,jj  ,jk)   & 
    123 !                  &                                   - vn(ji  ,jj  ,jk) * vn(ji  ,jj  ,jk)   ) / e2v(ji,jj) 
    124 !            END DO  
    125 !         END DO 
    126 !!gm en idea            <<== 
    127          !                                             ! =============== 
    128       END DO                                           !   End of slab 
    129       !                                                ! =============== 
    130  
    131       IF( l_trddyn ) THEN      ! save the Kinetic Energy trends for diagnostic 
     143      END DO 
     144      ! 
     145      IF( l_trddyn ) THEN                 ! save the Kinetic Energy trends for diagnostic 
    132146         ztrdu(:,:,:) = ua(:,:,:) - ztrdu(:,:,:) 
    133147         ztrdv(:,:,:) = va(:,:,:) - ztrdv(:,:,:) 
    134148         CALL trd_dyn( ztrdu, ztrdv, jpdyn_keg, kt ) 
    135          CALL wrk_dealloc( jpi,jpj,jpk, ztrdu, ztrdv ) 
     149         CALL wrk_dealloc( jpi,jpj,jpk,   ztrdu, ztrdv ) 
    136150      ENDIF 
    137151      ! 
     
    139153         &                       tab3d_2=va, clinfo2=       ' Va: ', mask2=vmask, clinfo3='dyn' ) 
    140154      ! 
    141       CALL wrk_dealloc( jpi, jpj, jpk, zhke ) 
     155      CALL wrk_dealloc( jpi,jpj,jpk,  zhke ) 
    142156      ! 
    143       IF( nn_timing == 1 )  CALL timing_stop('dyn_keg') 
     157      IF( nn_timing == 1 )   CALL timing_stop('dyn_keg') 
    144158      ! 
    145159   END SUBROUTINE dyn_keg 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/OPA_SRC/ICB/icbrst.F90

    r5215 r5382  
    6464                                                                                            ! start and count arrays 
    6565      LOGICAL                      ::   ll_found_restart 
     66      CHARACTER(len=256)           ::   cl_path 
    6667      CHARACTER(len=256)           ::   cl_filename 
    6768      CHARACTER(len=NF90_MAX_NAME) ::   cl_dname 
     
    7071      !!---------------------------------------------------------------------- 
    7172 
    72       ! Find a restart file 
     73      ! Find a restart file. Assume iceberg restarts in same directory as ocean restarts.  
     74      cl_path = TRIM(cn_ocerst_indir) 
     75      IF( cl_path(LEN_TRIM(cl_path):) /= '/' ) cl_path = TRIM(cl_path) // '/' 
    7376      cl_filename = ' ' 
    7477      IF ( lk_mpp ) THEN 
    7578         cl_filename = ' ' 
    7679         WRITE( cl_filename, '("restart_icebergs_",I4.4,".nc")' ) narea-1 
    77          INQUIRE( file=TRIM(cl_filename), exist=ll_found_restart ) 
     80         INQUIRE( file=TRIM(cl_path)//TRIM(cl_filename), exist=ll_found_restart ) 
    7881      ELSE 
    7982         cl_filename = 'restart_icebergs.nc' 
    80          INQUIRE( file=TRIM(cl_filename), exist=ll_found_restart ) 
     83         INQUIRE( file=TRIM(cl_path)//TRIM(cl_filename), exist=ll_found_restart ) 
    8184      ENDIF 
    8285 
     
    8689 
    8790      IF (nn_verbose_level >= 0 .AND. lwp)  & 
    88          WRITE(numout,'(2a)') 'icebergs, read_restart_bergs: found restart file = ',TRIM(cl_filename) 
    89  
    90       nret = NF90_OPEN(TRIM(cl_filename), NF90_NOWRITE, ncid) 
     91         WRITE(numout,'(2a)') 'icebergs, read_restart_bergs: found restart file = ',TRIM(cl_path)//TRIM(cl_filename) 
     92 
     93      nret = NF90_OPEN(TRIM(cl_path)//TRIM(cl_filename), NF90_NOWRITE, ncid) 
    9194      IF (nret .ne. NF90_NOERR) CALL ctl_stop('icebergs, read_restart_bergs: nf_open failed') 
    9295 
     
    228231      INTEGER ::   jn   ! dummy loop index 
    229232      INTEGER ::   ix_dim, iy_dim, ik_dim, in_dim 
     233      CHARACTER(len=256)     :: cl_path 
    230234      CHARACTER(len=256)     :: cl_filename 
    231235      TYPE(iceberg), POINTER :: this 
     
    233237      !!---------------------------------------------------------------------- 
    234238 
     239      ! Assume we write iceberg restarts to same directory as ocean restarts. 
     240      cl_path = TRIM(cn_ocerst_outdir) 
     241      IF( cl_path(LEN_TRIM(cl_path):) /= '/' ) cl_path = TRIM(cl_path) // '/' 
    235242      IF( lk_mpp ) THEN 
    236          WRITE(cl_filename,'("icebergs_",I8.8,"_restart_",I4.4,".nc")') kt, narea-1 
     243         WRITE(cl_filename,'(A,"_icebergs_",I8.8,"_restart_",I4.4,".nc")') TRIM(cexper), kt, narea-1 
    237244      ELSE 
    238          WRITE(cl_filename,'("icebergs_",I8.8,"_restart.nc")') kt 
    239       ENDIF 
    240       IF (nn_verbose_level >= 0) WRITE(numout,'(2a)') 'icebergs, write_restart: creating ',TRIM(cl_filename) 
    241  
    242       nret = NF90_CREATE(TRIM(cl_filename), NF90_CLOBBER, ncid) 
     245         WRITE(cl_filename,'(A,"_icebergs_",I8.8,"_restart.nc")') TRIM(cexper), kt 
     246      ENDIF 
     247      IF (nn_verbose_level >= 0) WRITE(numout,'(2a)') 'icebergs, write_restart: creating ',TRIM(cl_path)//TRIM(cl_filename) 
     248 
     249      nret = NF90_CREATE(TRIM(cl_path)//TRIM(cl_filename), NF90_CLOBBER, ncid) 
    243250      IF (nret .ne. NF90_NOERR) CALL ctl_stop('icebergs, write_restart: nf_create failed') 
    244251 
     
    372379         ENDIF 
    373380      ENDDO 
    374       IF( lwp ) WRITE(numout,*) 'file: ',TRIM(cl_filename),' var: stored_ice  written' 
     381      IF( lwp ) WRITE(numout,*) 'file: ',TRIM(cl_path)//TRIM(cl_filename),' var: stored_ice  written' 
    375382 
    376383      nret = NF90_PUT_VAR( ncid, nkountid, num_bergs(:) ) 
     
    379386      nret = NF90_PUT_VAR( ncid, nsheatid, berg_grid%stored_heat(:,:) ) 
    380387      IF (nret .ne. NF90_NOERR) CALL ctl_stop('icebergs, write_restart: nf_put_var stored_heat failed') 
    381       IF( lwp ) WRITE(numout,*) 'file: ',TRIM(cl_filename),' var: stored_heat written' 
     388      IF( lwp ) WRITE(numout,*) 'file: ',TRIM(cl_path)//TRIM(cl_filename),' var: stored_heat written' 
    382389 
    383390      nret = NF90_PUT_VAR( ncid, ncalvid , src_calving(:,:) ) 
     
    385392      nret = NF90_PUT_VAR( ncid, ncalvhid, src_calving_hflx(:,:) ) 
    386393      IF (nret .ne. NF90_NOERR) CALL ctl_stop('icebergs, write_restart: nf_put_var calving_hflx failed') 
    387       IF( lwp ) WRITE(numout,*) 'file: ',TRIM(cl_filename),' var: calving written' 
     394      IF( lwp ) WRITE(numout,*) 'file: ',TRIM(cl_path)//TRIM(cl_filename),' var: calving written' 
    388395 
    389396      IF ( ASSOCIATED(first_berg) ) THEN 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/OPA_SRC/IOM/in_out_manager.F90

    r5220 r5382  
    2626   CHARACTER(lc) ::   cn_exp           !: experiment name used for output filename 
    2727   CHARACTER(lc) ::   cn_ocerst_in     !: suffix of ocean restart name (input) 
     28   CHARACTER(lc) ::   cn_ocerst_indir  !: restart input directory 
    2829   CHARACTER(lc) ::   cn_ocerst_out    !: suffix of ocean restart name (output) 
     30   CHARACTER(lc) ::   cn_ocerst_outdir !: restart output directory 
    2931   LOGICAL       ::   ln_rstart        !: start from (F) rest or (T) a restart file 
     32   LOGICAL       ::   ln_rst_list      !: output restarts at list of times (T) or by frequency (F) 
    3033   INTEGER       ::   nn_no            !: job number 
    3134   INTEGER       ::   nn_rstctl        !: control of the time step (0, 1 or 2) 
     
    3841   INTEGER       ::   nn_write         !: model standard output frequency 
    3942   INTEGER       ::   nn_stock         !: restart file frequency 
     43   INTEGER, DIMENSION(10) :: nn_stocklist  !: restart dump times 
    4044   LOGICAL       ::   ln_dimgnnn       !: type of dimgout. (F): 1 file for all proc 
    4145                                                       !:                  (T): 1 file per proc 
    4246   LOGICAL       ::   ln_mskland       !: mask land points in NetCDF outputs (costly: + ~15%) 
     47   LOGICAL       ::   ln_cfmeta        !: output additional data to netCDF files required for compliance with the CF metadata standard 
    4348   LOGICAL       ::   ln_clobber       !: clobber (overwrite) an existing file 
    4449   INTEGER       ::   nn_chunksz       !: chunksize (bytes) for NetCDF file (works only with iom_nf90 routines) 
     
    7883   INTEGER       ::   nwrite                      !: model standard output frequency 
    7984   INTEGER       ::   nstock                      !: restart file frequency 
     85   INTEGER, DIMENSION(10) :: nstocklist           !: restart dump times 
    8086 
    8187   !!---------------------------------------------------------------------- 
     
    8591   LOGICAL ::   lrst_oce              !: logical to control the oce restart write  
    8692   INTEGER ::   numror, numrow        !: logical unit for cean restart (read and write) 
     93   INTEGER ::   nrst_lst              !: number of restart to output next 
    8794 
    8895   !!---------------------------------------------------------------------- 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/OPA_SRC/IOM/iom.F90

    r5299 r5382  
    6161#if defined key_iomput 
    6262   PRIVATE iom_set_domain_attr, iom_set_axis_attr, iom_set_field_attr, iom_set_file_attr, iom_get_file_attr, iom_set_grid_attr 
    63    PRIVATE set_grid, set_scalar, set_xmlatt, set_mooring, iom_update_file_name, iom_sdate 
     63   PRIVATE set_grid, set_grid_bounds, set_scalar, set_xmlatt, set_mooring, iom_update_file_name, iom_sdate 
    6464# endif 
    6565 
     
    139139      ENDIF 
    140140 
     141      IF ( ln_cfmeta ) THEN   ! add cell bounds 
     142         CALL set_grid_bounds( "T", cdname )  
     143         CALL set_grid_bounds( "U", cdname ) 
     144         CALL set_grid_bounds( "V", cdname ) 
     145         CALL set_grid_bounds( "W", cdname ) 
     146      ENDIF 
    141147 
    142148      ! vertical grid definition 
     
    152158#endif 
    153159      CALL iom_set_axis_attr( "icbcla", class_num ) 
     160      CALL iom_set_axis_attr( "iax_20C", (/ REAL(20,wp) /) ) 
     161      CALL iom_set_axis_attr( "iax_28C", (/ REAL(28,wp) /) ) 
    154162       
    155163      ! automatic definitions of some of the xml attributs 
     
    11071115 
    11081116   SUBROUTINE iom_set_domain_attr( cdid, ni_glo, nj_glo, ibegin, jbegin, ni, nj, zoom_ibegin, zoom_jbegin, zoom_ni, zoom_nj,   & 
    1109       &                                    data_dim, data_ibegin, data_ni, data_jbegin, data_nj, lonvalue, latvalue, mask ) 
    1110       CHARACTER(LEN=*)                 , INTENT(in) ::   cdid 
    1111       INTEGER                , OPTIONAL, INTENT(in) ::   ni_glo, nj_glo, ibegin, jbegin, ni, nj 
    1112       INTEGER                , OPTIONAL, INTENT(in) ::   data_dim, data_ibegin, data_ni, data_jbegin, data_nj 
    1113       INTEGER                , OPTIONAL, INTENT(in) ::   zoom_ibegin, zoom_jbegin, zoom_ni, zoom_nj 
    1114       REAL(wp), DIMENSION(:) , OPTIONAL, INTENT(in) ::   lonvalue, latvalue 
    1115       LOGICAL, DIMENSION(:,:), OPTIONAL, INTENT(in) ::   mask 
     1117      &                                    data_dim, data_ibegin, data_ni, data_jbegin, data_nj, lonvalue, latvalue, mask,     & 
     1118      &                                    nvertex, bounds_lon, bounds_lat ) 
     1119      CHARACTER(LEN=*)                   , INTENT(in) ::   cdid 
     1120      INTEGER                  , OPTIONAL, INTENT(in) ::   ni_glo, nj_glo, ibegin, jbegin, ni, nj 
     1121      INTEGER                  , OPTIONAL, INTENT(in) ::   data_dim, data_ibegin, data_ni, data_jbegin, data_nj 
     1122      INTEGER                  , OPTIONAL, INTENT(in) ::   zoom_ibegin, zoom_jbegin, zoom_ni, zoom_nj, nvertex 
     1123      REAL(wp), DIMENSION(:)   , OPTIONAL, INTENT(in) ::   lonvalue, latvalue 
     1124      REAL(wp), DIMENSION(:,:) , OPTIONAL, INTENT(in) ::   bounds_lon, bounds_lat 
     1125      LOGICAL,  DIMENSION(:,:) , OPTIONAL, INTENT(in) ::   mask 
    11161126 
    11171127      IF ( xios_is_valid_domain     (cdid) ) THEN 
     
    11191129            &    data_dim=data_dim, data_ibegin=data_ibegin, data_ni=data_ni, data_jbegin=data_jbegin, data_nj=data_nj ,   & 
    11201130            &    zoom_ibegin=zoom_ibegin, zoom_jbegin=zoom_jbegin, zoom_ni=zoom_ni, zoom_nj=zoom_nj,                       & 
    1121             &    lonvalue=lonvalue, latvalue=latvalue,mask=mask ) 
     1131            &    lonvalue=lonvalue, latvalue=latvalue, mask=mask, nvertex=nvertex, bounds_lon=bounds_lon, bounds_lat=bounds_lat ) 
    11221132      ENDIF 
    11231133 
     
    11261136            &    data_dim=data_dim, data_ibegin=data_ibegin, data_ni=data_ni, data_jbegin=data_jbegin, data_nj=data_nj ,   & 
    11271137            &    zoom_ibegin=zoom_ibegin, zoom_jbegin=zoom_jbegin, zoom_ni=zoom_ni, zoom_nj=zoom_nj,                       & 
    1128             &    lonvalue=lonvalue, latvalue=latvalue,mask=mask ) 
     1138            &    lonvalue=lonvalue, latvalue=latvalue, mask=mask, nvertex=nvertex, bounds_lon=bounds_lon, bounds_lat=bounds_lat ) 
    11291139      ENDIF 
    11301140      CALL xios_solve_inheritance() 
     
    12511261       
    12521262   END SUBROUTINE set_grid 
     1263 
     1264 
     1265   SUBROUTINE set_grid_bounds( cdgrd, cdname ) 
     1266      !!---------------------------------------------------------------------- 
     1267      !!                   ***  ROUTINE set_grid_bounds  *** 
     1268      !! 
     1269      !! ** Purpose :   define horizontal grid corners 
     1270      !! 
     1271      !!---------------------------------------------------------------------- 
     1272      CHARACTER(LEN=1) , INTENT(in) :: cdgrd 
     1273      CHARACTER(LEN=*) , INTENT(in) :: cdname 
     1274      ! 
     1275      REAL(wp), ALLOCATABLE, DIMENSION(:,:,:,:)   :: z_bnds      ! Lat/lon coordinates of the vertices of cell (i,j) 
     1276      REAL(wp), ALLOCATABLE, DIMENSION(:,:,:)     :: z_cnr       ! Lat/lon coordinates of a contiguous vertex of cell (i,j) 
     1277      REAL(wp), ALLOCATABLE, DIMENSION(:,:,:)     :: z_pnt       ! Lat/lon coordinates of the point of cell (i,j) 
     1278      REAL(wp), ALLOCATABLE, DIMENSION(:,:)       :: z_fld       ! Working array to determine where to rotate cells 
     1279      REAL(wp), ALLOCATABLE, DIMENSION(:,:)       :: z_rot       ! Lat/lon working array for rotation of cells 
     1280      ! 
     1281      INTEGER :: icnr, jcnr                                      ! Offset such that the vertex coordinate (i+icnr,j+jcnr) 
     1282      !                                                          ! represents the bottom-left corner of cell (i,j) 
     1283      INTEGER :: ji, jj, jn, ni, nj 
     1284 
     1285      ALLOCATE( z_bnds(4,jpi,jpj,2), z_cnr(jpi,jpj,2), z_pnt(jpi,jpj,2), z_fld(jpi,jpj), z_rot(4,2)  ) 
     1286 
     1287      ! Grid information 
     1288      SELECT CASE ( TRIM(cdgrd) ) 
     1289         CASE ('T', 'W') 
     1290            icnr = -1 ; jcnr = -1 
     1291            IF( TRIM(cdname) == "nemo_crs" ) THEN 
     1292               z_cnr(:,:,1) = gphif_crs ; z_cnr(:,:,2) = glamf_crs 
     1293               z_pnt(:,:,1) = gphit_crs ; z_pnt(:,:,2) = glamt_crs 
     1294            ELSE 
     1295               z_cnr(:,:,1) = gphif ; z_cnr(:,:,2) = glamf 
     1296               z_pnt(:,:,1) = gphit ; z_pnt(:,:,2) = glamt 
     1297            ENDIF 
     1298         CASE ('U') 
     1299            icnr =  0 ; jcnr = -1 
     1300            IF( TRIM(cdname) == "nemo_crs" ) THEN 
     1301               z_cnr(:,:,1) = gphiv_crs ; z_cnr(:,:,2) = glamv_crs 
     1302               z_pnt(:,:,1) = gphiu_crs ; z_pnt(:,:,2) = glamu_crs 
     1303            ELSE 
     1304               z_cnr(:,:,1) = gphiv ; z_cnr(:,:,2) = glamv 
     1305               z_pnt(:,:,1) = gphiu ; z_pnt(:,:,2) = glamu 
     1306            ENDIF 
     1307         CASE ('V') 
     1308            icnr = -1 ; jcnr =  0 
     1309            IF( TRIM(cdname) == "nemo_crs" ) THEN 
     1310               z_cnr(:,:,1) = gphiu_crs ; z_cnr(:,:,2) = glamu_crs 
     1311               z_pnt(:,:,1) = gphiv_crs ; z_pnt(:,:,2) = glamv_crs 
     1312            ELSE 
     1313               z_cnr(:,:,1) = gphiu ; z_cnr(:,:,2) = glamu 
     1314               z_pnt(:,:,1) = gphiv ; z_pnt(:,:,2) = glamv 
     1315            ENDIF 
     1316      END SELECT 
     1317 
     1318      ni = nlei-nldi+1 ; nj = nlej-nldj+1  ! Dimensions of subdomain interior 
     1319 
     1320      z_fld(:,:) = 1._wp 
     1321      CALL lbc_lnk( z_fld, cdgrd, -1. )    ! Working array for location of northfold 
     1322 
     1323      ! Cell vertices that can be defined 
     1324      DO jj = 2, jpjm1 
     1325         DO ji = 2, jpim1 
     1326            z_bnds(1,ji,jj,:) = z_cnr(ji+icnr,  jj+jcnr  ,:) ! Bottom-left 
     1327            z_bnds(2,ji,jj,:) = z_cnr(ji+icnr+1,jj+jcnr  ,:) ! Bottom-right 
     1328            z_bnds(3,ji,jj,:) = z_cnr(ji+icnr+1,jj+jcnr+1,:) ! Top-right 
     1329            z_bnds(4,ji,jj,:) = z_cnr(ji+icnr,  jj+jcnr+1,:) ! Top-left 
     1330         END DO 
     1331      END DO 
     1332 
     1333      ! Cell vertices on boundries 
     1334      DO jn = 1, 4 
     1335         CALL lbc_lnk( z_bnds(jn,:,:,1), cdgrd, 1., pval=999._wp ) 
     1336         CALL lbc_lnk( z_bnds(jn,:,:,2), cdgrd, 1., pval=999._wp ) 
     1337      END DO 
     1338 
     1339      ! Zero-size cells at closed boundaries 
     1340      IF( (nbondi == -1 .OR. nbondi == 2) .AND. .NOT. (jperio == 1 .OR. jperio == 4 .OR. jperio == 6) ) THEN 
     1341         DO jn = 1, 4  ;  z_bnds(jn,1,:,:) = z_pnt(1,:,:)        ;  END DO      ! (West or jpni = 1), closed E-W 
     1342      ENDIF 
     1343      IF( (nbondi == 1 .OR. nbondi == 2) .AND. .NOT. (jperio == 1 .OR. jperio == 4 .OR. jperio == 6) ) THEN 
     1344         DO jn = 1, 4  ;  z_bnds(jn,nlci,:,:) = z_pnt(nlci,:,:)  ;  END DO      ! (East or jpni = 1), closed E-W 
     1345      ENDIF 
     1346      IF( nbondj == -1 .OR. (nbondj == 2 .AND. jperio /= 2) ) THEN 
     1347         DO jn = 1, 4  ;  z_bnds(jn,:,1,:) = z_pnt(:,1,:)        ;  END DO      ! South or (jpnj = 1, not symmetric) 
     1348      ENDIF 
     1349      IF( (nbondj == 1 .OR. nbondj == 2) .AND. jperio  < 3 ) THEN 
     1350         DO jn = 1, 4  ;  z_bnds(jn,:,nlcj,:) = z_pnt(:,nlcj,:)  ;  END DO      ! (North or jpnj = 1), no north fold 
     1351      ENDIF 
     1352 
     1353! ===================================================================================================== 
     1354!             Do we need to set zero-size cells at Mediterranean / Persian Gulf region? 
     1355! ===================================================================================================== 
     1356 
     1357      ! Rotate cells at the north fold 
     1358      IF( (nbondj == 1 .OR. nbondj == 2) .AND. jperio >= 3 ) THEN 
     1359         DO jj = 1, jpj 
     1360            DO ji = 1, jpi 
     1361               IF( z_fld(ji,jj) == -1. ) THEN 
     1362                  z_rot(1,:) = z_bnds(3,ji,jj,:) ; z_rot(2,:) = z_bnds(4,ji,jj,:) 
     1363                  z_rot(3,:) = z_bnds(1,ji,jj,:) ; z_rot(4,:) = z_bnds(2,ji,jj,:) 
     1364                  z_bnds(:,ji,jj,:) = z_rot(:,:) 
     1365               ENDIF 
     1366            END DO 
     1367         END DO 
     1368 
     1369      ! Invert cells at the symmetric equator 
     1370      ELSE IF( nbondj == 2 .AND. jperio == 2 ) THEN 
     1371         DO ji = 1, jpi 
     1372            z_rot(1:2,:) = z_bnds(3:4,ji,1,:) 
     1373            z_rot(3:4,:) = z_bnds(1:2,ji,1,:) 
     1374            z_bnds(:,ji,1,:) = z_rot(:,:) 
     1375         END DO 
     1376      ENDIF 
     1377 
     1378      CALL iom_set_domain_attr("grid_"//cdgrd, bounds_lat = RESHAPE(z_bnds(:,nldi:nlei,nldj:nlej,1),(/ 4,ni*nj /)),           & 
     1379                                               bounds_lon = RESHAPE(z_bnds(:,nldi:nlei,nldj:nlej,2),(/ 4,ni*nj /)), nvertex=4 ) 
     1380 
     1381      DEALLOCATE( z_bnds, z_cnr, z_pnt, z_fld, z_rot )  
     1382 
     1383   END SUBROUTINE set_grid_bounds 
    12531384 
    12541385 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/OPA_SRC/IOM/iom_nf90.F90

    r4689 r5382  
    6161      INTEGER, DIMENSION(2,5), INTENT(in   ), OPTIONAL ::   kdompar     ! domain parameters:  
    6262 
    63       CHARACTER(LEN=100) ::   clinfo           ! info character 
    64       CHARACTER(LEN=100) ::   cltmp            ! temporary character 
     63      CHARACTER(LEN=256) ::   clinfo           ! info character 
     64      CHARACTER(LEN=256) ::   cltmp            ! temporary character 
    6565      INTEGER            ::   iln              ! lengths of character 
    6666      INTEGER            ::   istop            ! temporary storage of nstop 
     
    393393      INTEGER, DIMENSION(4) :: idimsz               ! dimensions size   
    394394      INTEGER, DIMENSION(4) :: idimid               ! dimensions id 
    395       CHARACTER(LEN=100)    :: clinfo               ! info character 
     395      CHARACTER(LEN=256)    :: clinfo               ! info character 
    396396      CHARACTER(LEN= 12), DIMENSION(4) :: cltmp     ! temporary character 
    397397      INTEGER               :: if90id               ! nf90 file identifier 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/OPA_SRC/IOM/restart.F90

    r5381 r5382  
    5656      !! 
    5757      CHARACTER(LEN=20)   ::   clkt     ! ocean time-step deine as a character 
    58       CHARACTER(LEN=50)   ::   clname   ! ice output restart file name 
     58      CHARACTER(LEN=50)   ::   clname   ! ocean output restart file name 
     59      CHARACTER(lc)       ::   clpath   ! full path to ocean output restart file 
    5960      !!---------------------------------------------------------------------- 
    6061      ! 
    6162      IF( kt == nit000 ) THEN   ! default definitions 
    6263         lrst_oce = .FALSE.    
    63          nitrst = nitend 
    64       ENDIF 
    65       IF( MOD( kt - 1, nstock ) == 0 ) THEN    
     64         IF( ln_rst_list ) THEN 
     65            nrst_lst = 1 
     66            nitrst = nstocklist( nrst_lst ) 
     67         ELSE 
     68            nitrst = nitend 
     69         ENDIF 
     70      ENDIF 
     71 
     72      ! frequency-based restart dumping (nn_stock) 
     73      IF( .NOT. ln_rst_list .AND. MOD( kt - 1, nstock ) == 0 ) THEN    
    6674         ! we use kt - 1 and not kt - nit000 to keep the same periodicity from the beginning of the experiment 
    6775         nitrst = kt + nstock - 1                  ! define the next value of nitrst for restart writing 
     
    7280      ! except if we write ocean restart files every time step or if an ocean restart file was writen at nitend - 1 
    7381      IF( kt == nitrst - 1 .OR. nstock == 1 .OR. ( kt == nitend .AND. .NOT. lrst_oce ) ) THEN 
    74          ! beware of the format used to write kt (default is i8.8, that should be large enough...) 
    75          IF( nitrst > 999999999 ) THEN   ;   WRITE(clkt, *       ) nitrst 
    76          ELSE                            ;   WRITE(clkt, '(i8.8)') nitrst 
    77          ENDIF 
    78          ! create the file 
    79          clname = TRIM(cexper)//"_"//TRIM(ADJUSTL(clkt))//"_"//TRIM(cn_ocerst_out) 
    80          IF(lwp) THEN 
    81             WRITE(numout,*) 
    82             SELECT CASE ( jprstlib ) 
    83             CASE ( jprstdimg )   ;   WRITE(numout,*) '             open ocean restart binary file: '//clname 
    84             CASE DEFAULT         ;   WRITE(numout,*) '             open ocean restart NetCDF file: '//clname 
    85             END SELECT 
    86             IF ( snc4set%luse )      WRITE(numout,*) '             opened for NetCDF4 chunking and compression' 
    87             IF( kt == nitrst - 1 ) THEN   ;   WRITE(numout,*) '             kt = nitrst - 1 = ', kt 
    88             ELSE                          ;   WRITE(numout,*) '             kt = '             , kt 
     82         IF( nitrst <= nitend .AND. nitrst > 0 ) THEN  
     83            ! beware of the format used to write kt (default is i8.8, that should be large enough...) 
     84            IF( nitrst > 999999999 ) THEN   ;   WRITE(clkt, *       ) nitrst 
     85            ELSE                            ;   WRITE(clkt, '(i8.8)') nitrst 
    8986            ENDIF 
    90          ENDIF 
    91          ! 
    92          CALL iom_open( clname, numrow, ldwrt = .TRUE., kiolib = jprstlib ) 
    93          lrst_oce = .TRUE. 
     87            ! create the file 
     88            clname = TRIM(cexper)//"_"//TRIM(ADJUSTL(clkt))//"_"//TRIM(cn_ocerst_out) 
     89            clpath = TRIM(cn_ocerst_outdir) 
     90            IF( clpath(LEN_TRIM(clpath):) /= '/' ) clpath = TRIM(clpath) // '/' 
     91            IF(lwp) THEN 
     92               WRITE(numout,*) 
     93               SELECT CASE ( jprstlib ) 
     94               CASE ( jprstdimg )   ;   WRITE(numout,*)                            & 
     95                   '             open ocean restart binary file: ',TRIM(clpath)//clname 
     96               CASE DEFAULT         ;   WRITE(numout,*)                            & 
     97                   '             open ocean restart NetCDF file: ',TRIM(clpath)//clname 
     98               END SELECT 
     99               IF ( snc4set%luse )      WRITE(numout,*) '             opened for NetCDF4 chunking and compression' 
     100               IF( kt == nitrst - 1 ) THEN   ;   WRITE(numout,*) '             kt = nitrst - 1 = ', kt 
     101               ELSE                          ;   WRITE(numout,*) '             kt = '             , kt 
     102               ENDIF 
     103            ENDIF 
     104            ! 
     105            CALL iom_open( TRIM(clpath)//TRIM(clname), numrow, ldwrt = .TRUE., kiolib = jprstlib ) 
     106            lrst_oce = .TRUE. 
     107         ENDIF 
    94108      ENDIF 
    95109      ! 
     
    136150!!gm  not sure what to do here   ===>>>  ask to Sebastian 
    137151         lrst_oce = .FALSE. 
     152            IF( ln_rst_list ) THEN 
     153               nrst_lst = MIN(nrst_lst + 1, SIZE(nstocklist,1)) 
     154               nitrst = nstocklist( nrst_lst ) 
     155            ENDIF 
     156            lrst_oce = .FALSE. 
    138157      ENDIF 
    139158      ! 
     
    150169      !!                the file has already been opened 
    151170      !!---------------------------------------------------------------------- 
    152       INTEGER  ::   jlibalt = jprstlib 
    153       LOGICAL  ::   llok 
     171      INTEGER        ::   jlibalt = jprstlib 
     172      LOGICAL        ::   llok 
     173      CHARACTER(lc)  ::   clpath   ! full path to ocean output restart file 
    154174      !!---------------------------------------------------------------------- 
    155175      ! 
     
    165185         ENDIF 
    166186 
     187         clpath = TRIM(cn_ocerst_indir) 
     188         IF( clpath(LEN_TRIM(clpath):) /= '/' ) clpath = TRIM(clpath) // '/' 
    167189         IF ( jprstlib == jprstdimg ) THEN 
    168190           ! eventually read netcdf file (monobloc)  for restarting on different number of processors 
    169191           ! if {cn_ocerst_in}.nc exists, then set jlibalt to jpnf90 
    170            INQUIRE( FILE = TRIM(cn_ocerst_in)//'.nc', EXIST = llok ) 
     192           INQUIRE( FILE = TRIM(cn_ocerst_indir)//'/'//TRIM(cn_ocerst_in)//'.nc', EXIST = llok ) 
    171193           IF ( llok ) THEN ; jlibalt = jpnf90  ; ELSE ; jlibalt = jprstlib ; ENDIF 
    172194         ENDIF 
    173          CALL iom_open( cn_ocerst_in, numror, kiolib = jlibalt ) 
     195         CALL iom_open( TRIM(clpath)//cn_ocerst_in, numror, kiolib = jlibalt ) 
    174196      ENDIF 
    175197   END SUBROUTINE rst_read_open 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90

    r5381 r5382  
    14401440      IF( srcv(jpr_cal)%laction ) THEN  
    14411441         zemp_tot(:,:) = zemp_tot(:,:) - frcv(jpr_cal)%z3(:,:,1) 
    1442          CALL iom_put( 'calving', frcv(jpr_cal)%z3(:,:,1) ) 
     1442         CALL iom_put( 'calving_cea', frcv(jpr_cal)%z3(:,:,1) ) 
    14431443      ENDIF 
    14441444 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_lim.F90

    r5362 r5382  
    382382      !!------------------------------------------------------------------- 
    383383      INTEGER  ::   ios                 ! Local integer output status for namelist read 
    384       NAMELIST/namicerun/ jpl, nlay_i, nlay_s, cn_icerst_in, cn_icerst_out,   & 
     384      NAMELIST/namicerun/ jpl, nlay_i, nlay_s, cn_icerst_in, cn_icerst_indir, cn_icerst_out, cn_icerst_outdir,  & 
    385385         &                ln_limdyn, rn_amax, ln_limdiahsb, ln_limdiaout, ln_icectl, iiceprt, jiceprt   
    386386      !!------------------------------------------------------------------- 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/OPA_SRC/SBC/sbcisf.F90

    r5215 r5382  
    561561      CALL iom_put('isfgammat', zgammat2d) 
    562562      CALL iom_put('isfgammas', zgammas2d) 
    563          ! 
    564       !CALL wrk_dealloc( jpi,jpj, zfrz,zpress,zti, zqisf, zfwfisf  ) 
     563      ! 
    565564      CALL wrk_dealloc( jpi,jpj, zfrz,zpress,zti, zgammat2d, zgammas2d ) 
    566565      ! 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/OPA_SRC/TRA/eosbn2.F90

    r5343 r5382  
    4747   USE lbclnk         ! ocean lateral boundary conditions 
    4848   USE timing          ! Timing 
     49   USE stopar          ! Stochastic T/S fluctuations 
     50   USE stopts          ! Stochastic T/S fluctuations 
    4951 
    5052   IMPLICIT NONE 
     
    313315      REAL(wp), DIMENSION(jpi,jpj,jpk     ), INTENT(in   ) ::   pdep   ! depth                      [m] 
    314316      ! 
    315       INTEGER  ::   ji, jj, jk                ! dummy loop indices 
    316       REAL(wp) ::   zt , zh , zs , ztm        ! local scalars 
    317       REAL(wp) ::   zn , zn0, zn1, zn2, zn3   !   -      - 
     317      INTEGER  ::   ji, jj, jk, jsmp             ! dummy loop indices 
     318      INTEGER  ::   jdof 
     319      REAL(wp) ::   zt , zh , zstemp, zs , ztm   ! local scalars 
     320      REAL(wp) ::   zn , zn0, zn1, zn2, zn3      !   -      - 
     321      REAL(wp), DIMENSION(:), ALLOCATABLE :: zn0_sto, zn_sto, zsign    ! local vectors 
    318322      !!---------------------------------------------------------------------- 
    319323      ! 
     
    324328      CASE( -1, 0 )                !==  polynomial TEOS-10 / EOS-80 ==! 
    325329         ! 
    326          DO jk = 1, jpkm1 
    327             DO jj = 1, jpj 
    328                DO ji = 1, jpi 
    329                   ! 
    330                   zh  = pdep(ji,jj,jk) * r1_Z0                                  ! depth 
    331                   zt  = pts (ji,jj,jk,jp_tem) * r1_T0                           ! temperature 
    332                   zs  = SQRT( ABS( pts(ji,jj,jk,jp_sal) + rdeltaS ) * r1_S0 )   ! square root salinity 
    333                   ztm = tmask(ji,jj,jk)                                         ! tmask 
    334                   ! 
    335                   zn3 = EOS013*zt   & 
    336                      &   + EOS103*zs+EOS003 
    337                      ! 
    338                   zn2 = (EOS022*zt   & 
    339                      &   + EOS112*zs+EOS012)*zt   & 
    340                      &   + (EOS202*zs+EOS102)*zs+EOS002 
    341                      ! 
    342                   zn1 = (((EOS041*zt   & 
    343                      &   + EOS131*zs+EOS031)*zt   & 
    344                      &   + (EOS221*zs+EOS121)*zs+EOS021)*zt   & 
    345                      &   + ((EOS311*zs+EOS211)*zs+EOS111)*zs+EOS011)*zt   & 
    346                      &   + (((EOS401*zs+EOS301)*zs+EOS201)*zs+EOS101)*zs+EOS001 
    347                      ! 
    348                   zn0 = (((((EOS060*zt   & 
    349                      &   + EOS150*zs+EOS050)*zt   & 
    350                      &   + (EOS240*zs+EOS140)*zs+EOS040)*zt   & 
    351                      &   + ((EOS330*zs+EOS230)*zs+EOS130)*zs+EOS030)*zt   & 
    352                      &   + (((EOS420*zs+EOS320)*zs+EOS220)*zs+EOS120)*zs+EOS020)*zt   & 
    353                      &   + ((((EOS510*zs+EOS410)*zs+EOS310)*zs+EOS210)*zs+EOS110)*zs+EOS010)*zt   & 
    354                      &   + (((((EOS600*zs+EOS500)*zs+EOS400)*zs+EOS300)*zs+EOS200)*zs+EOS100)*zs+EOS000 
    355                      ! 
    356                   zn  = ( ( zn3 * zh + zn2 ) * zh + zn1 ) * zh + zn0 
    357                   ! 
    358                   prhop(ji,jj,jk) = zn0 * ztm                           ! potential density referenced at the surface 
    359                   ! 
    360                   prd(ji,jj,jk) = (  zn * r1_rau0 - 1._wp  ) * ztm      ! density anomaly (masked) 
     330         ! Stochastic equation of state 
     331         IF ( ln_sto_eos ) THEN 
     332            ALLOCATE(zn0_sto(1:2*nn_sto_eos)) 
     333            ALLOCATE(zn_sto(1:2*nn_sto_eos)) 
     334            ALLOCATE(zsign(1:2*nn_sto_eos)) 
     335            DO jsmp = 1, 2*nn_sto_eos, 2 
     336              zsign(jsmp)   = 1._wp 
     337              zsign(jsmp+1) = -1._wp 
     338            END DO 
     339            ! 
     340            DO jk = 1, jpkm1 
     341               DO jj = 1, jpj 
     342                  DO ji = 1, jpi 
     343                     ! 
     344                     ! compute density (2*nn_sto_eos) times: 
     345                     ! (1) for t+dt, s+ds (with the random TS fluctutation computed in sto_pts) 
     346                     ! (2) for t-dt, s-ds (with the opposite fluctuation) 
     347                     DO jsmp = 1, nn_sto_eos*2 
     348                        jdof   = (jsmp + 1) / 2 
     349                        zh     = pdep(ji,jj,jk) * r1_Z0                                  ! depth 
     350                        zt     = (pts (ji,jj,jk,jp_tem) + pts_ran(ji,jj,jk,jp_tem,jdof) * zsign(jsmp)) * r1_T0    ! temperature 
     351                        zstemp = pts  (ji,jj,jk,jp_sal) + pts_ran(ji,jj,jk,jp_sal,jdof) * zsign(jsmp) 
     352                        zs     = SQRT( ABS( zstemp + rdeltaS ) * r1_S0 )   ! square root salinity 
     353                        ztm    = tmask(ji,jj,jk)                                         ! tmask 
     354                        ! 
     355                        zn3 = EOS013*zt   & 
     356                           &   + EOS103*zs+EOS003 
     357                           ! 
     358                        zn2 = (EOS022*zt   & 
     359                           &   + EOS112*zs+EOS012)*zt   & 
     360                           &   + (EOS202*zs+EOS102)*zs+EOS002 
     361                           ! 
     362                        zn1 = (((EOS041*zt   & 
     363                           &   + EOS131*zs+EOS031)*zt   & 
     364                           &   + (EOS221*zs+EOS121)*zs+EOS021)*zt   & 
     365                           &   + ((EOS311*zs+EOS211)*zs+EOS111)*zs+EOS011)*zt   & 
     366                           &   + (((EOS401*zs+EOS301)*zs+EOS201)*zs+EOS101)*zs+EOS001 
     367                           ! 
     368                        zn0_sto(jsmp) = (((((EOS060*zt   & 
     369                           &   + EOS150*zs+EOS050)*zt   & 
     370                           &   + (EOS240*zs+EOS140)*zs+EOS040)*zt   & 
     371                           &   + ((EOS330*zs+EOS230)*zs+EOS130)*zs+EOS030)*zt   & 
     372                           &   + (((EOS420*zs+EOS320)*zs+EOS220)*zs+EOS120)*zs+EOS020)*zt   & 
     373                           &   + ((((EOS510*zs+EOS410)*zs+EOS310)*zs+EOS210)*zs+EOS110)*zs+EOS010)*zt   & 
     374                           &   + (((((EOS600*zs+EOS500)*zs+EOS400)*zs+EOS300)*zs+EOS200)*zs+EOS100)*zs+EOS000 
     375                           ! 
     376                        zn_sto(jsmp)  = ( ( zn3 * zh + zn2 ) * zh + zn1 ) * zh + zn0_sto(jsmp) 
     377                     END DO 
     378                     ! 
     379                     ! compute stochastic density as the mean of the (2*nn_sto_eos) densities 
     380                     prhop(ji,jj,jk) = 0._wp ; prd(ji,jj,jk) = 0._wp 
     381                     DO jsmp = 1, nn_sto_eos*2 
     382                        prhop(ji,jj,jk) = prhop(ji,jj,jk) + zn0_sto(jsmp)                      ! potential density referenced at the surface 
     383                        ! 
     384                        prd(ji,jj,jk) = prd(ji,jj,jk) + (  zn_sto(jsmp) * r1_rau0 - 1._wp  )   ! density anomaly (masked) 
     385                     END DO 
     386                     prhop(ji,jj,jk) = 0.5_wp * prhop(ji,jj,jk) * ztm / nn_sto_eos 
     387                     prd  (ji,jj,jk) = 0.5_wp * prd  (ji,jj,jk) * ztm / nn_sto_eos 
     388                  END DO 
    361389               END DO 
    362390            END DO 
    363          END DO 
    364          ! 
     391            DEALLOCATE(zn0_sto,zn_sto,zsign) 
     392         ! Non-stochastic equation of state 
     393         ELSE 
     394            DO jk = 1, jpkm1 
     395               DO jj = 1, jpj 
     396                  DO ji = 1, jpi 
     397                     ! 
     398                     zh  = pdep(ji,jj,jk) * r1_Z0                                  ! depth 
     399                     zt  = pts (ji,jj,jk,jp_tem) * r1_T0                           ! temperature 
     400                     zs  = SQRT( ABS( pts(ji,jj,jk,jp_sal) + rdeltaS ) * r1_S0 )   ! square root salinity 
     401                     ztm = tmask(ji,jj,jk)                                         ! tmask 
     402                     ! 
     403                     zn3 = EOS013*zt   & 
     404                        &   + EOS103*zs+EOS003 
     405                        ! 
     406                     zn2 = (EOS022*zt   & 
     407                        &   + EOS112*zs+EOS012)*zt   & 
     408                        &   + (EOS202*zs+EOS102)*zs+EOS002 
     409                        ! 
     410                     zn1 = (((EOS041*zt   & 
     411                        &   + EOS131*zs+EOS031)*zt   & 
     412                        &   + (EOS221*zs+EOS121)*zs+EOS021)*zt   & 
     413                        &   + ((EOS311*zs+EOS211)*zs+EOS111)*zs+EOS011)*zt   & 
     414                        &   + (((EOS401*zs+EOS301)*zs+EOS201)*zs+EOS101)*zs+EOS001 
     415                        ! 
     416                     zn0 = (((((EOS060*zt   & 
     417                        &   + EOS150*zs+EOS050)*zt   & 
     418                        &   + (EOS240*zs+EOS140)*zs+EOS040)*zt   & 
     419                        &   + ((EOS330*zs+EOS230)*zs+EOS130)*zs+EOS030)*zt   & 
     420                        &   + (((EOS420*zs+EOS320)*zs+EOS220)*zs+EOS120)*zs+EOS020)*zt   & 
     421                        &   + ((((EOS510*zs+EOS410)*zs+EOS310)*zs+EOS210)*zs+EOS110)*zs+EOS010)*zt   & 
     422                        &   + (((((EOS600*zs+EOS500)*zs+EOS400)*zs+EOS300)*zs+EOS200)*zs+EOS100)*zs+EOS000 
     423                        ! 
     424                     zn  = ( ( zn3 * zh + zn2 ) * zh + zn1 ) * zh + zn0 
     425                     ! 
     426                     prhop(ji,jj,jk) = zn0 * ztm                           ! potential density referenced at the surface 
     427                     ! 
     428                     prd(ji,jj,jk) = (  zn * r1_rau0 - 1._wp  ) * ztm      ! density anomaly (masked) 
     429                  END DO 
     430               END DO 
     431            END DO 
     432         ENDIF 
     433          
    365434      CASE( 1 )                !==  simplified EOS  ==! 
    366435         ! 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/OPA_SRC/TRD/trdmxl_rst.F90

    r5215 r5382  
    2727   !!--------------------------------------------------------------------------------- 
    2828   !! NEMO/OPA 3.3 , NEMO Consortium (2010) 
    29    !! $Id$  
     29   !! $Id$ 
    3030   !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 
    3131   !!--------------------------------------------------------------------------------- 
     
    4343      INTEGER ::   jk                 ! loop indice 
    4444      CHARACTER(LEN=20)   ::   clkt     ! ocean time-step deine as a character 
    45       CHARACTER(LEN=50)   ::   clname   ! ice output restart file name 
     45      CHARACTER(LEN=50)   ::   clname   ! output restart file name 
     46      CHARACTER(LEN=256)  ::   clpath   ! full path to restart file 
    4647      !!-------------------------------------------------------------------------------- 
    4748 
     
    5657         ! create the file 
    5758         clname = TRIM(cexper)//"_"//TRIM(ADJUSTL(clkt))//"_"//TRIM(cn_trdrst_out) 
     59         clpath = TRIM(cn_ocerst_outdir) 
     60         IF( clpath(LEN_TRIM(clpath):) /= '/' ) clpath = TRIM(clpath) // '/' 
    5861         IF(lwp) THEN 
    5962            WRITE(numout,*) 
     
    6770         ENDIF 
    6871 
    69          CALL iom_open( clname, nummxlw, ldwrt = .TRUE., kiolib = jprstlib ) 
     72         CALL iom_open( TRIM(clpath)//TRIM(clname), nummxlw, ldwrt = .TRUE., kiolib = jprstlib ) 
    7073      ENDIF 
    7174 
     
    133136      INTEGER ::   jlibalt = jprstlib 
    134137      LOGICAL ::   llok 
     138      CHARACTER(LEN=256)  ::   clpath   ! full path to restart file 
    135139      !!----------------------------------------------------------------------------- 
    136140 
     
    140144         WRITE(numout,*) ' ~~~~~~~~~~~~~~~~' 
    141145      ENDIF 
     146 
     147      clpath = TRIM(cn_ocerst_indir) 
     148      IF( clpath(LEN_TRIM(clpath):) /= '/' ) clpath = TRIM(clpath) // '/' 
     149 
    142150      IF ( jprstlib == jprstdimg ) THEN 
    143151         ! eventually read netcdf file (monobloc)  for restarting on different number of processors 
    144152         ! if {cn_trdrst_in}.nc exists, then set jlibalt to jpnf90 
    145          INQUIRE( FILE = TRIM(cn_trdrst_in)//'.nc', EXIST = llok ) 
     153         INQUIRE( FILE = TRIM(clpath)//TRIM(cn_trdrst_in)//'.nc', EXIST = llok ) 
    146154         IF ( llok ) THEN   ;   jlibalt = jpnf90    
    147155         ELSE               ;   jlibalt = jprstlib    
     
    149157      ENDIF 
    150158 
    151       CALL iom_open( cn_trdrst_in, inum, kiolib = jlibalt )  
     159      CALL iom_open( TRIM(clpath)//TRIM(cn_trdrst_in), inum, kiolib = jlibalt )  
    152160 
    153161      IF( ln_trdmxl_instant ) THEN  
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/OPA_SRC/ZDF/zdfbfr.F90

    r5120 r5382  
    171171            END DO 
    172172         END DO 
     173         CALL lbc_lnk( bfrua, 'U', 1. )   ;   CALL lbc_lnk( bfrva, 'V', 1. )      ! Lateral boundary condition 
     174 
    173175         IF ( ln_isfcav ) THEN 
    174176            DO jj = 2, jpjm1 
    175177               DO ji = 2, jpim1 
    176178                  ! (ISF) ======================================================================== 
    177                   ikbu = miku(ji,jj)         ! ocean bottom level at u- and v-points  
    178                   ikbv = mikv(ji,jj)         ! (deepest ocean u- and v-points) 
     179                  ikbu = miku(ji,jj)         ! ocean top level at u- and v-points  
     180                  ikbv = mikv(ji,jj)         ! (1st wet ocean u- and v-points) 
    179181                  ! 
    180182                  zvu  = 0.25 * (  vn(ji,jj  ,ikbu) + vn(ji+1,jj  ,ikbu)     & 
     
    183185                     &           + un(ji,jj+1,ikbv) + un(ji-1,jj+1,ikbv)  ) 
    184186              ! 
    185                   zecu = SQRT(  un(ji,jj,ikbu) * un(ji,jj,ikbu) + zvu*zvu + rn_bfeb2 ) 
    186                   zecv = SQRT(  vn(ji,jj,ikbv) * vn(ji,jj,ikbv) + zuv*zuv + rn_bfeb2 ) 
     187                  zecu = SQRT(  un(ji,jj,ikbu) * un(ji,jj,ikbu) + zvu*zvu + rn_tfeb2 ) 
     188                  zecv = SQRT(  vn(ji,jj,ikbv) * vn(ji,jj,ikbv) + zuv*zuv + rn_tfeb2 ) 
    187189              ! 
    188190                  tfrua(ji,jj) = - 0.5_wp * ( ztfrt(ji,jj) + ztfrt(ji+1,jj  ) ) * zecu * (1._wp - umask(ji,jj,1)) 
     
    202204               END DO 
    203205            END DO 
    204          END IF 
    205          ! 
    206          CALL lbc_lnk( bfrua, 'U', 1. )   ;   CALL lbc_lnk( bfrva, 'V', 1. )      ! Lateral boundary condition 
     206            CALL lbc_lnk( tfrua, 'U', 1. )   ;   CALL lbc_lnk( tfrva, 'V', 1. )      ! Lateral boundary condition 
     207         END IF 
     208         ! 
    207209         ! 
    208210         IF(ln_ctl)   CALL prt_ctl( tab2d_1=bfrua, clinfo1=' bfr  - u: ', mask1=umask,        & 
     
    277279            IF(lwp) WRITE(numout,*) '      coef rn_bfri2 enhancement factor                rn_bfrien  = ',rn_bfrien 
    278280         ENDIF 
    279          IF(lwp) WRITE(numout,*) '      top    friction coef.   rn_bfri1  = ', rn_bfri1 
    280          IF( ln_tfr2d ) THEN 
    281             IF(lwp) WRITE(numout,*) '      read coef. enhancement distribution from file   ln_tfr2d  = ', ln_tfr2d 
    282             IF(lwp) WRITE(numout,*) '      coef rn_tfri2 enhancement factor                rn_tfrien  = ',rn_tfrien 
    283          ENDIF 
     281         IF ( ln_isfcav ) THEN 
     282            IF(lwp) WRITE(numout,*) '      top    friction coef.   rn_bfri1  = ', rn_tfri1 
     283            IF( ln_tfr2d ) THEN 
     284               IF(lwp) WRITE(numout,*) '      read coef. enhancement distribution from file   ln_tfr2d  = ', ln_tfr2d 
     285               IF(lwp) WRITE(numout,*) '      coef rn_tfri2 enhancement factor                rn_tfrien  = ',rn_tfrien 
     286            ENDIF 
     287         END IF 
    284288         ! 
    285289         IF(ln_bfr2d) THEN 
     
    295299         bfrua(:,:) = - bfrcoef2d(:,:) 
    296300         bfrva(:,:) = - bfrcoef2d(:,:) 
     301         ! 
     302         IF ( ln_isfcav ) THEN 
     303            IF(ln_tfr2d) THEN 
     304               ! tfr_coef is a coefficient in [0,1] giving the mask where to apply the bfr enhancement 
     305               CALL iom_open('tfr_coef.nc',inum) 
     306               CALL iom_get (inum, jpdom_data, 'tfr_coef',tfrcoef2d,1) ! tfrcoef2d is used as tmp array 
     307               CALL iom_close(inum) 
     308               tfrcoef2d(:,:) = rn_tfri1 * ( 1 + rn_tfrien * tfrcoef2d(:,:) ) 
     309            ELSE 
     310               tfrcoef2d(:,:) = rn_tfri1  ! initialize tfrcoef2d to the namelist variable 
     311            ENDIF 
     312            ! 
     313            tfrua(:,:) = - tfrcoef2d(:,:) 
     314            tfrva(:,:) = - tfrcoef2d(:,:) 
     315         END IF 
    297316         ! 
    298317      CASE( 2 ) 
     
    311330            IF(lwp) WRITE(numout,*) '      coef rn_bfri2 enhancement factor                rn_bfrien  = ',rn_bfrien 
    312331         ENDIF 
    313          IF(lwp) WRITE(numout,*) '      quadratic top    friction' 
    314          IF(lwp) WRITE(numout,*) '      friction coef.   rn_bfri2  = ', rn_tfri2 
    315          IF(lwp) WRITE(numout,*) '      Max. coef. (log case)   rn_tfri2_max  = ', rn_tfri2_max 
    316          IF(lwp) WRITE(numout,*) '      background tke   rn_tfeb2  = ', rn_tfeb2 
    317          IF(lwp) WRITE(numout,*) '      log formulation   ln_tfr2d = ', ln_loglayer 
    318          IF(lwp) WRITE(numout,*) '      bottom roughness  rn_tfrz0 [m] = ', rn_tfrz0 
    319          IF( rn_tfrz0<=0.e0 ) THEN 
    320             WRITE(ctmp1,*) '      bottom roughness must be strictly positive' 
    321             CALL ctl_stop( ctmp1 ) 
    322          ENDIF 
    323          IF( ln_tfr2d ) THEN 
    324             IF(lwp) WRITE(numout,*) '      read coef. enhancement distribution from file   ln_tfr2d  = ', ln_tfr2d 
    325             IF(lwp) WRITE(numout,*) '      coef rn_tfri2 enhancement factor                rn_tfrien  = ',rn_tfrien 
    326          ENDIF 
     332         IF ( ln_isfcav ) THEN 
     333            IF(lwp) WRITE(numout,*) '      quadratic top    friction' 
     334            IF(lwp) WRITE(numout,*) '      friction coef.    rn_tfri2     = ', rn_tfri2 
     335            IF(lwp) WRITE(numout,*) '      Max. coef. (log case)   rn_tfri2_max  = ', rn_tfri2_max 
     336            IF(lwp) WRITE(numout,*) '      background tke    rn_tfeb2     = ', rn_tfeb2 
     337            IF(lwp) WRITE(numout,*) '      log formulation   ln_tfr2d     = ', ln_loglayer 
     338            IF(lwp) WRITE(numout,*) '      top roughness     rn_tfrz0 [m] = ', rn_tfrz0 
     339            IF( rn_tfrz0<=0.e0 ) THEN 
     340               WRITE(ctmp1,*) '      top roughness must be strictly positive' 
     341               CALL ctl_stop( ctmp1 ) 
     342            ENDIF 
     343            IF( ln_tfr2d ) THEN 
     344               IF(lwp) WRITE(numout,*) '      read coef. enhancement distribution from file   ln_tfr2d  = ', ln_tfr2d 
     345               IF(lwp) WRITE(numout,*) '      coef rn_tfri2 enhancement factor                rn_tfrien  = ',rn_tfrien 
     346            ENDIF 
     347         END IF 
    327348         ! 
    328349         IF(ln_bfr2d) THEN 
     
    336357            bfrcoef2d(:,:) = rn_bfri2  ! initialize bfrcoef2d to the namelist variable 
    337358         ENDIF 
     359          
     360         IF ( ln_isfcav ) THEN 
     361            IF(ln_tfr2d) THEN 
     362               ! tfr_coef is a coefficient in [0,1] giving the mask where to apply the bfr enhancement 
     363               CALL iom_open('tfr_coef.nc',inum) 
     364               CALL iom_get (inum, jpdom_data, 'tfr_coef',tfrcoef2d,1) ! tfrcoef2d is used as tmp array 
     365               CALL iom_close(inum) 
     366               ! 
     367               tfrcoef2d(:,:) = rn_tfri2 * ( 1 + rn_tfrien * tfrcoef2d(:,:) ) 
     368            ELSE 
     369               tfrcoef2d(:,:) = rn_tfri2  ! initialize tfrcoef2d to the namelist variable 
     370            ENDIF 
     371         END IF 
    338372         ! 
    339373         IF ( ln_loglayer.AND.(.NOT.lk_vvl) ) THEN ! set "log layer" bottom friction once for all 
     
    346380               END DO 
    347381            END DO 
     382            IF ( ln_isfcav ) THEN 
     383               DO jj = 1, jpj 
     384                  DO ji = 1, jpi 
     385                     ikbt = mikt(ji,jj) 
     386                     ztmp = tmask(ji,jj,ikbt) * ( vkarmn / LOG( 0.5_wp * fse3t_n(ji,jj,ikbt) / rn_tfrz0 ))**2._wp 
     387                     tfrcoef2d(ji,jj) = MAX(tfrcoef2d(ji,jj), ztmp) 
     388                     tfrcoef2d(ji,jj) = MIN(tfrcoef2d(ji,jj), rn_tfri2_max) 
     389                  END DO 
     390               END DO 
     391            END IF 
    348392         ENDIF 
    349393         ! 
     
    398442             zminbfr = MIN(  zminbfr, MIN( zfru, ABS( bfrcoef2d(ji,jj) ) )  ) 
    399443             zmaxbfr = MAX(  zmaxbfr, MIN( zfrv, ABS( bfrcoef2d(ji,jj) ) )  ) 
     444! (ISF) 
     445             IF ( ln_isfcav ) THEN 
     446                ikbu = miku(ji,jj)       ! 1st wet ocean level at u- and v-points 
     447                ikbv = mikv(ji,jj) 
     448                zfru = 0.5 * fse3u(ji,jj,ikbu) / rdt 
     449                zfrv = 0.5 * fse3v(ji,jj,ikbv) / rdt 
     450                IF( ABS( tfrcoef2d(ji,jj) ) > zfru ) THEN 
     451                   IF( ln_ctl ) THEN 
     452                      WRITE(numout,*) 'TFR ', narea, nimpp+ji, njmpp+jj, ikbu 
     453                      WRITE(numout,*) 'TFR ', ABS( tfrcoef2d(ji,jj) ), zfru 
     454                   ENDIF 
     455                   ictu = ictu + 1 
     456                ENDIF 
     457                IF( ABS( tfrcoef2d(ji,jj) ) > zfrv ) THEN 
     458                   IF( ln_ctl ) THEN 
     459                      WRITE(numout,*) 'TFR ', narea, nimpp+ji, njmpp+jj, ikbv 
     460                      WRITE(numout,*) 'TFR ', tfrcoef2d(ji,jj), zfrv 
     461                   ENDIF 
     462                   ictv = ictv + 1 
     463                ENDIF 
     464                zmintfr = MIN(  zmintfr, MIN( zfru, ABS( tfrcoef2d(ji,jj) ) )  ) 
     465                zmaxtfr = MAX(  zmaxtfr, MIN( zfrv, ABS( tfrcoef2d(ji,jj) ) )  ) 
     466             END IF 
     467! END ISF 
    400468         END DO 
    401469      END DO 
     
    405473         CALL mpp_min( zminbfr ) 
    406474         CALL mpp_max( zmaxbfr ) 
     475         IF ( ln_isfcav) CALL mpp_min( zmintfr ) 
     476         IF ( ln_isfcav) CALL mpp_max( zmaxtfr ) 
    407477      ENDIF 
    408478      IF( .NOT.ln_bfrimp) THEN 
    409479      IF( lwp .AND. ictu + ictv > 0 ) THEN 
    410          WRITE(numout,*) ' Bottom friction stability check failed at ', ictu, ' U-points ' 
    411          WRITE(numout,*) ' Bottom friction stability check failed at ', ictv, ' V-points ' 
     480         WRITE(numout,*) ' Bottom/Top friction stability check failed at ', ictu, ' U-points ' 
     481         WRITE(numout,*) ' Bottom/Top friction stability check failed at ', ictv, ' V-points ' 
    412482         WRITE(numout,*) ' Bottom friction coefficient now ranges from: ', zminbfr, ' to ', zmaxbfr 
    413          WRITE(numout,*) ' Bottom friction coefficient now ranges from: ', zmintfr, ' to ', zmaxtfr 
    414          WRITE(numout,*) ' Bottom friction coefficient will be reduced where necessary' 
     483         IF ( ln_isfcav ) WRITE(numout,*) ' Top friction coefficient now ranges from: ', zmintfr, ' to ', zmaxtfr 
     484         WRITE(numout,*) ' Bottom/Top friction coefficient will be reduced where necessary' 
    415485      ENDIF 
    416486      ENDIF 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90

    r5376 r5382  
    8383   USE lbcnfd, ONLY: isendto, nsndto, nfsloop, nfeloop ! Setup of north fold exchanges  
    8484   USE sbc_oce, ONLY: lk_oasis 
     85   USE stopar 
     86   USE stopts 
    8587 
    8688   IMPLICIT NONE 
     
    437439      IF( nn_cla == 1 .AND. cp_cfg == 'orca' .AND. jp_cfg == 2 )   CALL cla_init       ! Cross Land Advection 
    438440                            CALL icb_init( rdt, nit000)   ! initialise icebergs instance 
     441                            CALL sto_par_init   ! Stochastic parametrization 
     442      IF( ln_sto_eos     )  CALL sto_pts_init   ! RRandom T/S fluctuations 
    439443      
    440444#if defined key_top 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/OPA_SRC/step.F90

    r5220 r5382  
    107107 
    108108      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     109      ! Update stochastic parameters and random T/S fluctuations 
     110      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     111                        CALL sto_par( kstp )          ! Stochastic parameters 
     112 
     113      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    109114      ! Ocean physics update                (ua, va, tsa used as workspace) 
    110115      !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
     
    146151      ! 
    147152      IF( lk_ldfslp ) THEN                            ! slope of lateral mixing 
     153         IF(ln_sto_eos ) CALL sto_pts( tsn )          ! Random T/S fluctuations 
    148154                         CALL eos( tsb, rhd, gdept_0(:,:,:) )               ! before in situ density 
    149155         IF( ln_zps .AND. .NOT. ln_isfcav)                               & 
     
    181187          ! Note that the computation of vertical velocity above, hence "after" sea level 
    182188          ! is necessary to compute momentum advection for the rhs of barotropic loop: 
     189            IF(ln_sto_eos ) CALL sto_pts( tsn )                             ! Random T/S fluctuations 
    183190                            CALL eos    ( tsn, rhd, rhop, fsdept_n(:,:,:) ) ! now in situ density for hpg computation 
    184191            IF( ln_zps .AND. .NOT. ln_isfcav)                               & 
     
    262269         IF( ln_zdfnpc   )   CALL tra_npc( kstp )                ! update after fields by non-penetrative convection 
    263270                             CALL tra_nxt( kstp )                ! tracer fields at next time step 
     271            IF( ln_sto_eos ) CALL sto_pts( tsn )                 ! Random T/S fluctuations 
    264272                             CALL eos    ( tsa, rhd, rhop, fsdept_n(:,:,:) )  ! Time-filtered in situ density for hpg computation 
    265273            IF( ln_zps .AND. .NOT. ln_isfcav)                                & 
     
    272280      ELSE                                                  ! centered hpg  (eos then time stepping) 
    273281         IF ( .NOT. lk_dynspg_ts ) THEN                     ! eos already called in time-split case 
     282            IF( ln_sto_eos ) CALL sto_pts( tsn )    ! Random T/S fluctuations 
    274283                             CALL eos    ( tsn, rhd, rhop, fsdept_n(:,:,:) )  ! now in situ density for hpg computation 
    275284         IF( ln_zps .AND. .NOT. ln_isfcav)                                   & 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/OPA_SRC/step_oce.F90

    r4990 r5382  
    5353 
    5454   USE dynnxt           ! time-stepping                    (dyn_nxt routine) 
     55 
     56   USE stopar           ! Stochastic parametrization       (sto_par routine) 
     57   USE stopts  
    5558 
    5659   USE bdy_par          ! for lk_bdy 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/TOP_SRC/TRP/trdmxl_trc_rst.F90

    r5215 r5382  
    3939      ! 
    4040      CHARACTER(LEN=20)   ::   clkt     ! ocean time-step deine as a character 
    41       CHARACTER(LEN=50)   ::   clname   ! ice output restart file name 
     41      CHARACTER(LEN=50)   ::   clname   ! output restart file name 
     42      CHARACTER(LEN=256)  ::   clpath   ! full path to restart file 
    4243      CHARACTER (len=35) :: charout 
    4344      INTEGER :: jl,  jk, jn               ! loop indice 
     
    5152         ENDIF 
    5253         clname = TRIM(cexper)//"_"//TRIM(ADJUSTL(clkt))//"_"//TRIM(cn_trdrst_trc_out) 
    53          IF(lwp) WRITE(numout,*) '             open ocean restart_mld_trc NetCDF  '//clname 
    54          CALL iom_open( clname, nummldw_trc, ldwrt = .TRUE., kiolib = jprstlib ) 
     54         clpath = TRIM(cn_trcrst_outdir) 
     55         IF( clpath(LEN_TRIM(clpath):) /= '/' ) clpath = TRIM(clpath) // '/' 
     56         IF(lwp) WRITE(numout,*) '             open ocean restart_mld_trc NetCDF  'TRIM(clpath)//TRIM(clname) 
     57         CALL iom_open( TRIM(clpath)//TRIM(clname), nummldw_trc, ldwrt = .TRUE., kiolib = jprstlib ) 
    5558      ENDIF 
    5659 
     
    133136      INTEGER ::  jlibalt = jprstlib 
    134137      LOGICAL ::  llok 
     138      CHARACTER(LEN=256)  ::   clpath   ! full path to restart file 
    135139      !!----------------------------------------------------------------------------- 
    136140       
     
    141145      ENDIF 
    142146       
     147      clpath = TRIM(cn_trcrst_indir) 
     148      IF( clpath(LEN_TRIM(clpath):) /= '/' ) clpath = TRIM(clpath) // '/' 
     149 
    143150      IF ( jprstlib == jprstdimg ) THEN 
    144151        ! eventually read netcdf file (monobloc)  for restarting on different number of processors 
    145152        ! if {cn_trdrst_trc_in}.nc exists, then set jlibalt to jpnf90 
    146         INQUIRE( FILE = TRIM(cn_trdrst_trc_in)//'.nc', EXIST = llok ) 
     153        INQUIRE( FILE = TRIM(clpath)//TRIM(cn_trdrst_trc_in)//'.nc', EXIST = llok ) 
    147154        IF ( llok ) THEN ; jlibalt = jpnf90  ; ELSE ; jlibalt = jprstlib ; ENDIF 
    148155      ENDIF 
    149156 
    150       CALL iom_open( cn_trdrst_trc_in, inum, kiolib = jlibalt )  
     157      CALL iom_open( TRIM(clpath)//TRIM(cn_trdrst_trc_in), inum, kiolib = jlibalt )  
    151158       
    152159      IF( ln_trdmxl_trc_instant ) THEN  
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/TOP_SRC/trc.F90

    r4990 r5382  
    5454   INTEGER             , PUBLIC                                    ::  nn_rsttr       !: control of the time step ( 0 or 1 ) for pass. tr. 
    5555   CHARACTER(len = 80) , PUBLIC                                    ::  cn_trcrst_in   !: suffix of pass. tracer restart name (input) 
     56   CHARACTER(len = 256), PUBLIC                                    ::  cn_trcrst_indir  !: restart input directory 
    5657   CHARACTER(len = 80) , PUBLIC                                    ::  cn_trcrst_out  !: suffix of pass. tracer restart name (output) 
     58   CHARACTER(len = 256), PUBLIC                                    ::  cn_trcrst_outdir  !: restart output directory 
    5759   REAL(wp)            , PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:)   ::  rdttrc         !: vertical profile of passive tracer time step 
    5860   LOGICAL             , PUBLIC                                    ::  ln_top_euler  !: boolean term for euler integration  
     
    172174   !!---------------------------------------------------------------------- 
    173175   !! NEMO/TOP 3.3.1 , NEMO Consortium (2010) 
    174    !! $Id$  
     176   !! $Id$ 
    175177   !! Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt) 
    176178   !!---------------------------------------------------------------------- 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/TOP_SRC/trcnam.F90

    r4990 r5382  
    3939   !!---------------------------------------------------------------------- 
    4040   !! NEMO/TOP 3.3 , NEMO Consortium (2010) 
    41    !! $Id$  
     41   !! $Id$ 
    4242   !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 
    4343   !!---------------------------------------------------------------------- 
     
    175175      !!--------------------------------------------------------------------- 
    176176      NAMELIST/namtrc_run/ nn_dttrc, nn_writetrc, ln_rsttr, nn_rsttr, ln_top_euler, & 
    177         &                  cn_trcrst_in, cn_trcrst_out 
     177        &                  cn_trcrst_indir, cn_trcrst_outdir, cn_trcrst_in, cn_trcrst_out 
     178 
    178179 
    179180      INTEGER  ::   ios                 ! Local integer output status for namelist read 
     
    339340   !!---------------------------------------------------------------------- 
    340341   !! NEMO/TOP 3.3 , NEMO Consortium (2010) 
    341    !! $Id$  
     342   !! $Id$ 
    342343   !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 
    343344   !!====================================================================== 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/TOP_SRC/trcrst.F90

    r4990 r5382  
    5151      CHARACTER(LEN=20)   ::   clkt     ! ocean time-step define as a character 
    5252      CHARACTER(LEN=50)   ::   clname   ! trc output restart file name 
     53      CHARACTER(LEN=256)  ::   clpath   ! full path to ocean output restart file 
    5354      !!---------------------------------------------------------------------- 
    5455      ! 
     
    5657         IF( kt == nittrc000 ) THEN 
    5758            lrst_trc = .FALSE. 
    58             nitrst = nitend 
    59          ENDIF 
    60  
    61          IF( MOD( kt - 1, nstock ) == 0 ) THEN 
     59            IF( ln_rst_list ) THEN 
     60               nrst_lst = 1 
     61               nitrst = nstocklist( nrst_lst ) 
     62            ELSE 
     63               nitrst = nitend 
     64            ENDIF 
     65         ENDIF 
     66 
     67         IF( .NOT. ln_rst_list .AND. MOD( kt - 1, nstock ) == 0 ) THEN 
    6268            ! we use kt - 1 and not kt - nittrc000 to keep the same periodicity from the beginning of the experiment 
    6369            nitrst = kt + nstock - 1                  ! define the next value of nitrst for restart writing 
     
    7985         IF(lwp) WRITE(numout,*) 
    8086         clname = TRIM(cexper)//"_"//TRIM(ADJUSTL(clkt))//"_"//TRIM(cn_trcrst_out) 
    81          IF(lwp) WRITE(numout,*) '             open trc restart.output NetCDF file: '//clname 
    82          CALL iom_open( clname, numrtw, ldwrt = .TRUE., kiolib = jprstlib ) 
     87         clpath = TRIM(cn_trcrst_outdir) 
     88         IF( clpath(LEN_TRIM(clpath):) /= '/' ) clpath = TRIM(clpath) // '/' 
     89         IF(lwp) WRITE(numout,*) & 
     90             '             open trc restart.output NetCDF file: ',TRIM(clpath)//clname 
     91         CALL iom_open( TRIM(clpath)//TRIM(clname), numrtw, ldwrt = .TRUE., kiolib = jprstlib ) 
    8392         lrst_trc = .TRUE. 
    8493      ENDIF 
     
    140149          lrst_trc = .FALSE. 
    141150#endif 
     151          IF( lk_offline .AND. ln_rst_list ) THEN 
     152             nrst_lst = nrst_lst + 1 
     153             nitrst = nstocklist( nrst_lst ) 
     154          ENDIF 
    142155      ENDIF 
    143156      ! 
     
    190203           ! eventually read netcdf file (monobloc)  for restarting on different number of processors 
    191204           ! if {cn_trcrst_in}.nc exists, then set jlibalt to jpnf90  
    192            INQUIRE( FILE = TRIM(cn_trcrst_in)//'.nc', EXIST = llok ) 
     205           INQUIRE( FILE = TRIM(cn_trcrst_indir)//'/'//TRIM(cn_trcrst_in)//'.nc', EXIST = llok ) 
    193206           IF ( llok ) THEN ; jlibalt = jpnf90  ; ELSE ; jlibalt = jprstlib ; ENDIF 
    194207         ENDIF 
    195208 
    196          CALL iom_open( cn_trcrst_in, numrtr, kiolib = jlibalt ) 
     209         CALL iom_open( TRIM(cn_trcrst_indir)//'/'//cn_trcrst_in, numrtr, kiolib = jlibalt ) 
    197210 
    198211         CALL iom_get ( numrtr, 'kt', zkt )   ! last time-step of previous run 
     
    306319   !!---------------------------------------------------------------------- 
    307320   !! NEMO/TOP 3.3 , NEMO Consortium (2010) 
    308    !! $Id$  
     321   !! $Id$ 
    309322   !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 
    310323   !!====================================================================== 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/SETTE/BATCH_TEMPLATE/batch-IBM_EKMAN_INGV

    r4277 r5382  
    22#! 
    33#BSUB -q long 
    4 #BSUB -n NPROCS 
     4#BSUB -n TOTAL_NPROCS 
    55#BSUB -J MPI_config 
    66#BSUB -o stdout.%J 
     
    1414# 
    1515  OCEANCORES=NPROCS 
     16  XIOS_NUMPROCS=NXIOPROCS 
    1617  export SETTE_DIR=DEF_SETTE_DIR 
    1718 
     
    2324# 
    2425 
     26 MPIPROGINF=detail 
     27 export MPIPROGINF 
     28 export LSF_PJL_TYPE="intelmpi" 
     29 export MP_PGMMODEL=mpmd 
     30 export MP_SHARED_MEMORY=yes 
    2531 export MPIRUN="mpirun -n $OCEANCORES" 
    26  
    27 #export MPIRUN="mpirun -np" 
     32 export MPIRUN_MPMD="mpirun -np $OCEANCORES ./opa : -np $XIOS_NUMPROCS /home/delrosso/XIOS_1.0/xios-1.0/bin/xios_server.exe" 
    2833 
    2934# 
     
    6772 
    6873  if [ MPI_FLAG == "yes" ]; then 
    69      time ${MPIRUN} ./opa 
     74     if [ $XIOS_NUMPROCS -eq 0 ]; then 
     75       time ${MPIRUN} ./opa 
     76     else 
     77       time ${MPIRUN_MPMD} 
     78     fi 
    7079  else 
    71      time ./opa 
     80       time ./opa 
    7281  fi 
    7382# 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/SETTE/sette.sh

    r4990 r5382  
    10001000    export TEST_NAME="LONG" 
    10011001    cd ${CONFIG_DIR} 
    1002     . ./makenemo -m ${CMP_NAM} -n ISOMIP_LONG -r ISOMIP -j 8 del_key ${DEL_KEYS} 
     1002    . ./makenemo -m ${CMP_NAM} -n ISOMIP_LONG -u ISOMIP -j 8 del_key ${DEL_KEYS} 
    10031003    cd ${SETTE_DIR} 
    10041004    . ./param.cfg 
     
    10681068    export TEST_NAME="REPRO_1_4" 
    10691069    cd ${CONFIG_DIR} 
    1070     . ./makenemo -m ${CMP_NAM} -n ISOMIP_4 -r ISOMIP -j 8 add_key "key_mpp_rep" del_key ${DEL_KEYS} 
     1070    . ./makenemo -m ${CMP_NAM} -n ISOMIP_4 -u ISOMIP -j 8 add_key "key_mpp_rep" del_key ${DEL_KEYS} 
    10711071    cd ${SETTE_DIR} 
    10721072    . ./param.cfg 
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/TOOLS/MISCELLANEOUS/chk_wrk_alloc.sh

    r3294 r5382  
    1212#   ../TOOLS/MISCELLANEOUS/chk_wrk_alloc.sh 
    1313# 
    14 set -ue 
     14set -u 
    1515# 
    1616echo "check for all *90 files contained in "$( pwd )" and its subdirectories" 
    1717# 
    18 for ff in $( grep -il wrk_nemo_2 $( find . -name "*90" ) ) 
     18for ff in $( grep -il "^ *use  *wrk_nemo" $( find . -name "*90" )  $( find . -name "*h90" ) ) 
    1919do 
    20  
    2120    # number of lines with wrk_alloc 
    22     n1=$( grep -ic "call *wrk_alloc *(" $ff )   
    23     # replace wrk_alloc with wrk_dealloc and count the lines 
    24     n2=$( sed -e "s/wrk_alloc/wrk_dealloc/" $ff | grep -ic "call *wrk_dealloc *(" ) 
    25     # we should get n2 = 2 * n1... 
    26     [ $(( 2 * $n1 )) -ne $n2 ] && echo "problem with wrk_alloc in $ff"  
    27     
    28     # same story but for wrk_dealloc 
    29     n1=$( grep -ic "call *wrk_dealloc *(" $ff )   
    30     n2=$( sed -e "s/wrk_dealloc/wrk_alloc/" $ff | grep -ic "call *wrk_alloc *(" ) 
    31     [ $(( 2 * $n1 )) -ne $n2 ] && echo "problem with wrk_dealloc in $ff"  
    32     
     21    n1=$( grep -ic "call *wrk_alloc *(" $ff ) 
     22    # number of lines with wrk_dealloc 
     23    nn1=$( grep -ic "call *wrk_dealloc *(" $ff )   
     24     
     25    if [ $(( $n1 + $nn1 )) -ne 0 ] 
     26    then 
     27   # replace wrk_alloc with wrk_dealloc and count the lines 
     28   n2=$( sed -e "s/wrk_alloc/wrk_dealloc/" $ff | grep -ic "call *wrk_dealloc *(" ) 
     29   # we should get n2 = 2 * n1... 
     30   [ $(( 2 * $n1 )) -ne $n2 ] && echo "problem with wrk_alloc in $ff"  
     31    
     32   # same story but for wrk_dealloc 
     33   nn2=$( sed -e "s/wrk_dealloc/wrk_alloc/" $ff | grep -ic "call *wrk_alloc *(" ) 
     34   [ $(( 2 * $nn1 )) -ne $nn2 ] && echo "problem with wrk_dealloc in $ff"  
     35    fi 
     36     
    3337done 
Note: See TracChangeset for help on using the changeset viewer.