Changeset 456


Ignore:
Timestamp:
01/16/14 14:22:45 (10 years ago)
Author:
ymipsl
Message:

Longitude and latitude value are now initialized to 0 in order to avoid to write uninitialized value in the output netcdf file.

YM

File:
1 edited

Legend:

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

    r449 r456  
    7070   } 
    7171 
    72    //---------------------------------------------------------------- 
    7372 
    7473   StdString CDomain::GetName(void)   { return (StdString("domain")); } 
     
    877876     
    878877    lonvalue_srv.resize(zoom_ni_srv*zoom_nj_srv) ; 
     878    lonvalue_srv = 0. ; 
    879879    latvalue_srv.resize(zoom_ni_srv*zoom_nj_srv) ; 
    880     if (hasBounds) bounds_lon_srv.resize(nvertex,zoom_ni_srv*zoom_nj_srv) ; 
    881     if (hasBounds) bounds_lat_srv.resize(nvertex,zoom_ni_srv*zoom_nj_srv) ; 
     880    latvalue_srv = 0. ; 
     881    if (hasBounds)  
     882    { 
     883      bounds_lon_srv.resize(nvertex,zoom_ni_srv*zoom_nj_srv) ; 
     884      bounds_lon_srv = 0. ; 
     885      bounds_lat_srv.resize(nvertex,zoom_ni_srv*zoom_nj_srv) ; 
     886      bounds_lat_srv = 0. ; 
     887    } 
    882888  } 
    883889     
Note: See TracChangeset for help on using the changeset viewer.