Hi Aaron: Sorry for the late response. I don't think PDL::NetCDF can do
this currently, but patches are welcome!
--Doug
[email protected]
Software Engineer
UCAR - COSMIC, Tel. (303) 497-2611
On Thu, 4 Oct 2012, Aaron Sims wrote:
Hi,
I am a user of your PDL::NetCDF package and am wanting to write a scalar such
as the one listed below to a netcdf file. It seems the "put" method requires
a dimension. For example, the following variable MapProjection does not have
any dimensions. Ive tried several times by specifying ['0'], etc. but am not
having any luck and getting this to write successfully. Am I not
understanding how to do this properly?
Thank you,
Aaron
ncdump ST4_2012080519_06h.nc | more
netcdf ST4_2012080519_06h {
ProjectionHr = UNLIMITED ; // (1 currently)
YCells = 881 ;
XCells = 1121 ;
variables:
char MapProjection ;
MapProjection:long_name = "MapProjection" ;
MapProjection:grid_mapping_name = "polar_stereographic" ;
MapProjection:EarthShape = "sphere" ;
MapProjection:EarthRadius_KM = 6371.2 ;
MapProjection:EarthRadius = "6371.200000 km" ;
MapProjection:standard_parallel = 90. ;
MapProjection:longitude_of_central_meridian = -105. ;
MapProjection:latitude_of_projection_origin = 90. ;
MapProjection:LowerLeftLatitude = 23.117 ;
MapProjection:LowerLeftLongitude = -119.023 ;
--
Aaron Sims
State Climate Office of North Carolina
North Carolina State University
Email: [email protected]
Phone: (919)513-2101
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl