Hi, Your file has non-numeric fields, with each record starting with
"I / *:", and with some fields
containing "..." The command "COLUMNS", which is an alias for SET
DATA/format=delimited, allows you to read more than
20 variables from an ascii file. It also allows for reading text
and date/time variables as well as numeric ones. The command can
automatically analyze the types of the different fields. So, yes? columns/delimiter=" " 09_iPrf111.txt yes? list/i=1:10 v1,v2,v3,v4,v5 So your data is in the variables v4,v5,... Because missing-data in your file being shown as "...", those
variables will be detected as text type variables. I would
suggest that you use an editor to change "..." to some value that
won't be in the data, for instance -1.e34, or -99999. (These are
the things that NetCDF does for us automatically that need to be
handled specifically for ASCII data.) Then in your Ferret script
you would use commands like this to handle the missing data yes? set variable/bad=-99999 v4 and so forth. SET VARIABLE can also be used to give the
variables units, names, and titles.
On 7/24/2017 1:55 AM, Gopal Mondal
wrote:
|