Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#1211 closed Bug (fixed)

Bug, variables e3t_n, dept_n and e3tdef not defined in field_def files

Reported by: rfurner Owned by: nemo
Priority: normal Milestone:
Component: OCE Version: release-3.6
Severity: Keywords: XIOS
Cc:

Description

The variables e3t_n, dept_n and e3tdef are called with iomput, however are not defined in the field_def files (at least not the one in the AMM12 CONFIG dir).

Commit History (1)

ChangesetAuthorTimeChangeLog
4341acc2014-01-09T15:24:38+01:00

Branch dev_MERGE_2013. Bug fix for #1211; addition of missing definitions to field_def.xml. key_vvl now working again with key_iomput

Change History (2)

comment:1 Changed 7 years ago by acc

  • Resolution set to fixed
  • Status changed from new to closed

field_def.xml is shared amongst all the configurations so only the CONFIG/SHARED/field_def.xml needs fixing. There is already a definition for cell thickness used in the diaar5 code so only two new definitions are required + a name change in domvvl.F90:

===================================================================
--- ../NEMOGCM/NEMO/OPA_SRC/DOM/domvvl.F90      (revision 4340)
+++ ../NEMOGCM/NEMO/OPA_SRC/DOM/domvvl.F90      (working copy)
@@ -616,9 +616,9 @@
       ! Write outputs
       ! =============
       z_e3t_def(:,:,:) = ( ( fse3t_n(:,:,:) - e3t_0(:,:,:) ) / e3t_0(:,:,:) * 100 * tmask(:,:,:) ) ** 2
-      CALL iom_put( "e3t_n"  , fse3t_n  (:,:,:) )
-      CALL iom_put( "dept_n" , fsde3w_n (:,:,:) )
-      CALL iom_put( "e3tdef" , z_e3t_def(:,:,:) )
+      CALL iom_put( "cellthc" , fse3t_n  (:,:,:) )
+      CALL iom_put( "tpt_dep" , fsde3w_n (:,:,:) )
+      CALL iom_put( "e3tdef"  , z_e3t_def(:,:,:) )

and:

Index: CONFIG/SHARED/field_def.xml
===================================================================
--- CONFIG/SHARED/field_def.xml (revision 4340)
+++ CONFIG/SHARED/field_def.xml (working copy)
@@ -48,7 +48,11 @@
          <field id="hc300"        long_name="Heat content 300 m"                        unit="W"                        />
          <!-- variables available with key_diaar5 -->
          <field id="botpres"      long_name="Pressure at sea floor"                     unit="dbar"                     />
+         <!-- variables available with key_diaar5/key_vvl -->
          <field id="cellthc"      long_name="Cell thickness"                            unit="m"    grid_ref="grid_T_3D"/>
+         <!-- variables available with key_vvl -->
+         <field id="tpt_dep"      long_name="T-point depth"                             unit="m"    grid_ref="grid_T_3D"/>
+         <field id="e3tdef"       long_name="T-cell thickness deformation"              unit="%"    grid_ref="grid_T_3D"/>
      </field_group>

Changes made at Change Set? 4341. Ticket closed.

comment:2 Changed 4 years ago by nicolasmartin

  • Milestone 2012 Stream 3: New features deleted

Milestone 2012 Stream 3: New features deleted

Note: See TracTickets for help on using tickets.