Changeset 435


Ignore:
Timestamp:
06/06/13 17:28:49 (6 years ago)
Author:
ymipsl
Message:

enhancement : error message more explicit with non compliant mask size

YM

Location:
XIOS/trunk/src/node
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/domain.cpp

    r421 r435  
    265265             (mask.extent(1) != nju)) 
    266266            ERROR("CDomain::checkAttributes(void)", 
    267                   <<"the mask has not the same size than the local domain") ; 
    268                    
     267                  <<"the mask has not the same size than the local domain"<<endl 
     268                   <<"Local size is "<<niu<<"x"<<nju<<endl 
     269                  <<"Mask size is "<<mask.extent(0)<<"x"<<mask.extent(1));                  
    269270         for (int i = 0; i < ni.getValue(); i++) 
    270271         { 
  • XIOS/trunk/src/node/grid.cpp

    r421 r435  
    206206             (mask.extent(2) != nlu)) 
    207207             ERROR("CGrid::checkAttributes(void)", 
    208                   <<"The mask has not the same size than the local grid") ; 
     208                  <<"The mask has not the same size than the local grid"<<endl  
     209                  <<"Local size is "<<niu<<"x"<<nju<<"x"<<nlu<<endl 
     210                  <<"Mask size is "<<mask.extent(0)<<"x"<<mask.extent(1)<<"x"<<mask.extent(2)); 
    209211      } 
    210212      else  
Note: See TracChangeset for help on using the changeset viewer.