Hi Joelle,
A way to do it is as follow:
myData = asciiread("mydata.ascii",(/NROWS, NCOLS/),"float")
if your data has a header you should use 'readAsciiTable' which you may
control how many initial lines of the data should be skipped.
If your data has the first column as dates, maybe you have to eliminate
this first column with another software and use NCL after!
Mateus
temeching gladice joelle escreveu:
> Hi All ,
> I need some help reading an Ascii file with ncl
> the file has the following format:
>
> //
> the rows: time(YY/MM/DD)
> the colunms: grids points(longitude,latitude)
>
> ------------------------------------------------------------------------
> Découvrez une nouvelle façon d'obtenir des réponses à toutes vos
> questions ! Profitez des connaissances, des opinions et des
> expériences des internautes sur Yahoo! Questions/Réponses
> <http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com>.
> ------------------------------------------------------------------------
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Mar 27 2007 - 14:54:29 MDT
This archive was generated by hypermail 2.2.0 : Sun Apr 01 2007 - 11:55:28 MDT