[Thread Prev][Thread Next][Index]

Re: load ascii



Hi MMA,

I think the problem (or at least one of them) is with the format
qualifier.  You have it as unformatted, which implies binary not
ascii.  Try something like:

set data/format="(f9.0,f9.6)"/var=var1,var2/col=2 test.dat

I hope this helps.

Jeremy


On Thu, 6 Mar 2003, Martinho Marta Almeida wrote:

> Hi,
> I use ferret with netcdf files, but now just wanna open an ascii file:
> 
> 981417600 1.167711
> 981421200 1.195930
> 981424800 0.917893
> 981428400 0.401335
> 981432000 -0.223957
> 981435600 -0.798760
> 981439200 -1.174996
> 981442800 -1.253920
> 981446400 -1.012061
> 981450000 -0.508093
>  ...         ...
> 
> I tried with
> >>set data/ez/format=unf/var=var1,var2/col=2 test.dat
> but its not working ?!
> This is probably very simple...
> (by the way, first column is time; can I give it a better look ?)
> 
> Thanks in advance
> MMA
> 
> -- 
> Martinho Marta Almeida
> Physics Department
> Aveiro University
> Portugal
> martinho@fis.ua.pt
> http://mat.ua.pt/bjc/mma
> 
> 



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement