|
|
@ -19,7 +19,7 @@ MString NCFileW::CreateFile(NCFileW::Type stype, const MString& name, const MStr |
|
|
|
if(ret != NC_NOERR) return "Can't write history attribute in the netcdf file"; |
|
|
|
if(ret != NC_NOERR) return "Can't write history attribute in the netcdf file"; |
|
|
|
|
|
|
|
|
|
|
|
ret = nc_put_att(ncid, NC_GLOBAL, "node_offset", NC_FLOAT, 1, &node_offset); |
|
|
|
ret = nc_put_att(ncid, NC_GLOBAL, "node_offset", NC_FLOAT, 1, &node_offset); |
|
|
|
if(ret != NC_NOERR) return "Can't write history attribute in the netcdf file"; |
|
|
|
if(ret != NC_NOERR) return "Can't write node_offset attribute in the netcdf file"; |
|
|
|
|
|
|
|
|
|
|
|
switch(stype) |
|
|
|
switch(stype) |
|
|
|
{ |
|
|
|
{ |
|
|
|