Opened 23 months ago

Closed 23 months ago

Last modified 22 months ago

#2115 closed Defect (fixed)

reactivate predefined zoom with xios2

Reported by: smasson Owned by: smasson
Priority: low Milestone: 2018 release-4.0
Component: OCE Version: trunk
Severity: minor Keywords:
Cc:

Description (last modified by nicolasmartin)

Context

Predefined zooms, which position in the grid is automatically defined in iom.F90, like equatorial section or TAO, RAMA and PIRATA moorings, are not working since we moved to xios2

Analysis

Main problem: in xios2 zoom are defined as a child element of a domain that is called zoom_domain

  • to make our life simpler we use the same id for the domain and its child zoom_domain
  • we use the grid_ref attribute to attach a grid to each variable. A grid combines a domain and potentially an axis and a mask.
  • as, by default, we use grid_ref for each variable, we can not use domain_ref in the variable definition to specify a zoom. We must use grid_ref and refer to a new grid combining the new domain (and its child zoom_domain) and potentially an axis and/or a mask.


Recommendation

For each zoom_domain automatically defined, we also define corresponding 2D and 3D grids to which we must refer to outputs the variable on the zoom.
For example, for the mooring "0n0eT", we will automatically define the grids "0n0eT_2D" and "0n0eT_3D". The axis of "0n0eT_3D" will be set to "deptht" as "0n0eT" ends with a "T". → all names of automatically defined zoom must end with T U V or W.
There is how to output 2D ou 3D variables on the "0n0eT":

 <field field_ref="toce"  grid_ref="0n0eT_3D" />
 <field field_ref="sst"   grid_ref="0n0eT_2D" />

Action

  • rewrite domain_def_nemo.xml
  • add a grid_def_nemo.xml
  • adapt iom.F90 (iom_set_zoom_domain_attr)

Commit History (2)

ChangesetAuthorTimeChangeLog
9931smasson2018-07-11T16:13:00+02:00

sette: reactivate predefined zoom with xios2, see #2115

9930smasson2018-07-11T16:12:14+02:00

trunk: reactivate predefined zoom with xios2, see #2115

Change History (4)

comment:1 Changed 23 months ago by smasson

In 9930:

trunk: reactivate predefined zoom with xios2, see #2115

comment:2 Changed 23 months ago by smasson

In 9931:

sette: reactivate predefined zoom with xios2, see #2115

comment:3 Changed 23 months ago by smasson

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

done in the trunk, see [9930].
adapt sette see [9931]

comment:4 Changed 22 months ago by nicolasmartin

  • Description modified (diff)
Note: See TracTickets for help on using tickets.