Changeset 629


Ignore:
Timestamp:
06/25/15 16:02:52 (9 years ago)
Author:
rlacroix
Message:

Fix r628: "DOMAIN_dimensions_ids" should use Fortran indexing.

Location:
XIOS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • XIOS/branchs/xios-1.0/src/output/nc4_data_output.cpp

    r628 r629  
    14411441           SuperClassWriter::addAttribute("DOMAIN_number_total",size ) ; 
    14421442           SuperClassWriter::addAttribute("DOMAIN_number", rank) ; 
    1443            array=SuperClassWriter::getDimension(dimXid),SuperClassWriter::getDimension(dimYid); 
     1443           array = SuperClassWriter::getDimension(dimXid) + 1, SuperClassWriter::getDimension(dimYid) + 1; 
    14441444           SuperClassWriter::addAttribute("DOMAIN_dimensions_ids",array) ; 
    14451445           array=ni_glo,nj_glo ; 
  • XIOS/trunk/src/output/nc4_data_output.cpp

    r628 r629  
    18041804           SuperClassWriter::addAttribute("DOMAIN_number_total",size ) ; 
    18051805           SuperClassWriter::addAttribute("DOMAIN_number", rank) ; 
    1806            array=SuperClassWriter::getDimension(dimXid),SuperClassWriter::getDimension(dimYid); 
     1806           array = SuperClassWriter::getDimension(dimXid) + 1, SuperClassWriter::getDimension(dimYid) + 1; 
    18071807           SuperClassWriter::addAttribute("DOMAIN_dimensions_ids",array) ; 
    18081808           array=ni_glo,nj_glo ; 
Note: See TracChangeset for help on using the changeset viewer.