[Thread Prev][Thread Next][Index]

[ferret_users] Reading ascii files



Hi all,

I have a two dimensional one variable ascii file (matrix called vel_amp1.dat). The file has the following dimensions (901 lines x 1081 columns). Following manual I did the following

*************************************
DEFINE AXIS/X=1:1081:1 xlon
DEFINE AXIS/Y=1:901:1 ylat
DEFINE GRID/X=xlon/Y=ylat vel_amp
FILE/VAR=height/GRID=vel_amp vel_amp1.dat
**********************************************

When I execute the show data command I got the following:

*************************************************************************
currently SET data sets:
1> .\vel_amp1.dat (default)
name title I J K L
HEIGHT HEIGHT 1:1081 1:901 ... ...
**************************************************************************
When tried to contour the height variable I've got the following error message:

CONTOUR height

**********************************************************************************
yes? contour height
**ERROR: dimensions improperly specified: must be a 2D region
contour height
***********************************************************************************

What am I doing wrong?

Thanks for the help,

Luiz



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement