I don't know why I couldn't get chartostring to work before. Very
humbly, Donna
$ ncl
Copyright (C) 1995-2009 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 5.1.0
The use of this software is governed by a License Agreement.
See http://www.ncl.ucar.edu/ for more details.
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> sta=f->stationName
ncl 3> staStrings=chartostring(sta)
ncl 4> printVarSummary(staStrings)
Variable: staStrings
Type: string
Total Size: 10132 bytes
2533 values
Number of Dimensions: 1
Dimensions and sizes: [2533]
Coordinates:
ncl 5> quit
$
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Jun 29 2009 - 19:34:25 MDT
This archive was generated by hypermail 2.2.0 : Wed Jul 01 2009 - 06:11:45 MDT