Changeset 819


Ignore:
Timestamp:
02/01/16 06:57:43 (5 years ago)
Author:
aclsce
Message:

Modified to have correct global attirbutes (needed for rebuild tool) accordingly to XIOS C index convention (start from 0 now, before from 1).

File:
1 edited

Legend:

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

    r816 r819  
    18581858           array=ni,nj ; 
    18591859           SuperClassWriter::addAttribute("DOMAIN_size_local", array) ; 
    1860            array=ibegin,jbegin ; 
     1860           array=ibegin+1,jbegin+1 ; 
    18611861           SuperClassWriter::addAttribute("DOMAIN_position_first", array) ; 
    1862            array=ibegin+ni-1,jbegin+nj-1 ; 
     1862           array=ibegin+ni-1+1,jbegin+nj-1+1 ; 
    18631863           SuperClassWriter::addAttribute("DOMAIN_position_last",array) ; 
    18641864           array=0,0 ; 
Note: See TracChangeset for help on using the changeset viewer.