[Thread Prev][Thread Next][Index]

Re: ASCII questions



Hi Steve,
1) You'll need to edit your ascii file and put in a numeric value for the ******, which must have resulted from a format overflow in the program that wrote the data. Ferret uses Fortran formatting for reading ascii data, and like any fortran program, it will get a read error if it finds ******. If you just do an edit on your file, and change all the ****** to some numeric value then you can do the SET VAR/BAD= command in Ferret.

2) Use the LIST/FILE=/NOHEADER/FORMAT= options for writing ASCII data in the form that you want. The /FORMAT= qualifier takes a fortran format as an argument and it will cause the coordinate labels to go away.

Ansley

Steve Guimond wrote:

Hello Ferreters:
I have two questions:
(1) In my data, a missing value is denoted by "******". How can I set
this as the bad value flag? I have tried numerous versions of
yes?set var/bad='******' file.dat but it seems to not like characters

(2) How can I ouput my data to an ascii file with the same format (one
column) as the way it was originally without having the messy netCDF
heading at the top of the file?

thanks.

Stephen R. Guimond
Graduate Research Assistant
Center for Ocean-Atmospheric Prediction Studies








[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement