Changeset 4477


Ignore:
Timestamp:
Mar 22, 2023, 5:07:53 PM (20 months ago)
Author:
lfalletti
Message:

New axis (axis_lat_greordered) that fixes a bug with latitudes being reversed for outputs from CMIP6 workflow (for zonal mean files only)

Location:
LMDZ6/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/DefLists/context_lmdz.xml

    r4228 r4477  
    7777        <reduce_domain operation="average" direction="iDir" />
    7878    </axis>
     79    <axis id="axis_lat_greordered" standard_name="Latitude axis">
     80      <reduce_domain operation="average" direction="iDir" />
     81    </axis>
    7982
    8083<!-- Cosp axis definitions-->
  • LMDZ6/trunk/libf/misc/wxios.F90

    r4146 r4477  
    308308        IF (xios_is_valid_axis("axis_lat")) THEN
    309309           CALL xios_set_axis_attr( "axis_lat", n_glo=nbp_lat, n=jj_nb, begin=jj_begin-1, value=io_lat(jj_begin:jj_end))
     310        ENDIF
     311        IF (xios_is_valid_axis("axis_lat_greordered")) THEN
     312           CALL xios_set_axis_attr( "axis_lat_greordered", n_glo=nbp_lat, n=jj_nb, begin=jj_begin-1, &
     313                                    value=io_lat(jj_begin:jj_end)*(-1.))
    310314        ENDIF
    311315
Note: See TracChangeset for help on using the changeset viewer.