[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #RJN-519248]: Problem with writing to NetCDF files using perl



Hi Barrett,

If you actually entered

>  NetCDF:attputt($ncid, NetCDF:GLOBAL, $globalname, 2, "200");

then try this instead:

  NetCDF::attput($ncid, NetCDF::GLOBAL, $globalname, NetCDF::CHAR, "200");

Also make sure you close the file after calling enddef:

  NetCDF::close($ncid);

--Russ

Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: RJN-519248
Department: Support netCDF
Priority: Urgent
Status: Closed