Ignore:
Timestamp:
Mar 18, 2020, 9:23:55 AM (5 years ago)
Author:
acozic
Message:

make a modification in the way to calcul longitude for xios output. As it was done, in VLR, dimension lon as not the value "0" but "-2.544444e-14". It's create a problem in cmip grid reordered longitude.
This commit doesn't change the results of a simulation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/branches/IPSLCM5A2.1/libf/misc/wxios.F90

    r3629 r3650  
    341341        CALL xios_set_domain_attr_hdl(dom, ni_glo=ni_glo, ibegin=ibegin-1, ni=ni, type="rectilinear")
    342342        CALL xios_set_domain_attr_hdl(dom, nj_glo=nj_glo, jbegin=jbegin-1, nj=nj, data_dim=2)
    343         CALL xios_set_domain_attr_hdl(dom, lonvalue_1d=io_lon(ibegin:iend), latvalue_1d=io_lat(jbegin:jend))
     343        CALL xios_set_domain_attr_hdl(dom, lonvalue_1d=(io_lon(ibegin:iend)+1000)-1000, latvalue_1d=io_lat(jbegin:jend))
    344344        IF (xios_is_valid_axis("axis_lat")) THEN
    345345           CALL xios_set_axis_attr( "axis_lat", n_glo=nj_glo, n=nj, begin=jbegin-1, value=io_lat(jbegin:jend))
Note: See TracChangeset for help on using the changeset viewer.