[Thread Prev][Thread Next][Index]

Re: [ferret_users] question about read a large txt file



Hi Ming,
          Please define an axis which has 20480 points and a grid based on
that axis and before read the ASCII data onto that grid on to Ferret as
follows :

   define axis/x=1:20480:1 xax
   define grid/x=xax gfile
   FILE/grid=gfile/var=ADGIN ADGIN016910-040410.ann.txt
   show data
   plot ADGIN

Hope this will solve your problem

Please let me know if you have any problems with this...

Regards

Jaison


On Tue, 9 May 2006, Ming Yang wrote:

Hi, guys
I have trouble in reading a large txt file while has more than 20480 lines. Here are the commands I used in ferret

yes? file/var=ADGIN ADGIN016910-040410.ann.txt
yes? show data
currently SET data sets:
1> ./ADGIN016910-040410.ann.txt (default)
name title I J K L
ADGIN ADGIN 1:20480 ... ... ...

But actually, I have 24000 lines in the txt file. So does any one know how to import the whole 24000 lines into a single variable in Ferret?
Thank you for your help.


Ming


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement