Changeset 1257 for XIOS/trunk


Ignore:
Timestamp:
09/11/17 09:59:02 (7 years ago)
Author:
ymipsl
Message:

small bugfix when reading curvilinear domain in file (backport from XIOS_DEV_CMIP6 to trunk)

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/io/nc4_data_input.cpp

    r1064 r1257  
    321321      std::vector<StdSize> nBeginBndsLatLon(3), nSizeBndsLatLon(3); 
    322322      nBeginBndsLatLon[0] = 0; nSizeBndsLatLon[0] = domain->nj_glo.getValue(); 
    323       nBeginBndsLatLon[1] = 0; nSizeBndsLatLon[1] = domain->nj_glo.getValue(); 
     323      nBeginBndsLatLon[1] = 0; nSizeBndsLatLon[1] = domain->ni_glo.getValue(); 
    324324      nBeginBndsLatLon[2] = 0; nSizeBndsLatLon[2] = nbVertex; 
    325325 
Note: See TracChangeset for help on using the changeset viewer.