I feel like a newbie, but I'm stuck.
How do I get an array variable like this stationName variable from 2D to
1D (from char to string), like the timeObs variable is?
ncl 0> f=addfile("20090218_0000.200902180006-GMT.nc","r")
ncl 1> printVarSummary(f->stationName)
Variable: stationName (file variable)
Type: character
Total Size: 12665 bytes
12665 values
Number of Dimensions: 2
Dimensions and sizes: [recNum | 2533] x [maxStaNamLen | 5]
Coordinates:
Number Of Attributes: 2
long_name : alphanumeric station identification
reference : station table
ncl 2>
ncl 3> printVarSummary(f->timeObs)
Variable: timeObs (file variable)
Type: double
Total Size: 20264 bytes
2533 values
Number of Dimensions: 1
Dimensions and sizes: [recNum | 2533]
Coordinates:
Number Of Attributes: 4
long_name : time of observation
units : seconds since 1970-1-1 00:00:00.0
_FillValue : 1.797693134862316e+308
standard_name : time
ncl 4>
Thanks, Donna
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Jun 29 2009 - 19:00:33 MDT
This archive was generated by hypermail 2.2.0 : Wed Jul 01 2009 - 06:11:45 MDT