[Thread Prev][Thread Next][Index]

[ferret_users] How to plot Time series of following data;



Dear Ferret users,

I attached the a sample data set here.

File name:"TS.dat"         \\ (csv)
(Time series data),
X=89E, Y=19N,
Depth=1:120m
Time and format=15-07-2012 and 20-07-2012 to 02-08-2012, (Totally 15 days)
Variable= Chlorophyll a

I used the following scripts, But I can't get the result.
(I'm very new to the ferret)
Help me,

yes? define axis/x=89:89:1/unit=degree xaxis
yes? define axis/y=19:19:1/unit=degree yaxis
yes? define axis/z=1:120:1/unit=meter zaxis
yes? define axis/t=0:15:1/t0="15-JUL-2012"/unit=days taxis  \\ (A break in the dates, how to define?)
yes? define grid/x=xaxis/y=yaxis/z=zaxis/t=taxis allgrid

yes? file/var="Latitude,Longitude,Depth,Time,Chl a"/grid=allgrid TS.dat   \\ (After this How to fill or shade?)
yes? fill Chl a
 **ERROR: command syntax: Chl a
          Chl before a is illegal

yes? show grid allgrid
    GRID ALLGRID
 name       axis              # pts   start                end
 XAXIS     LONGITUDE            1mr   89E                  89E
 YAXIS     LATITUDE             1 r   19N                  19N
 ZAXIS     Z (METER)          120 r   1                    120
 TAXIS     TIME                16 r   15-JUL-2012 00:00    30-JUL-2012 00:00
 normal    E
 normal    F

yes? show data TS.dat
     currently SET data sets:
    1> /home/data_disk/fer_dsets/data/TS.dat  (default)
 name     title                             I         J         K         L         M         N
 LATITUDE LATITUDE                         1:1       1:1       1:120     1:16      ...       ...
 LONGITUDE
          LONGITUDE                        1:1       1:1       1:120     1:16      ...       ...
 DEPTH    DEPTH                            1:1       1:1       1:120     1:16      ...       ...
 TIME     TIME                             1:1       1:1       1:120     1:16      ...       ...
 CHL      CHL                              1:1       1:1       1:120     1:16      ...       ...
 A        A                                1:1       1:1       1:120     1:16      ...       ...
 
yes? set region/x=89/y=19
yes? fill/k=1:120/l=1:16 Chl
 **TMAP ERR: Success
             during SKIP reads
             Data set: /home/data_disk/fer_dsets/data/TS.dat
             Data file: /home/data_disk/fer_dsets/data/TS.dat#

 yes? fill/k=1:120 Chl
 **TMAP ERR: Success
             during SKIP reads
             Data set: /home/data_disk/fer_dsets/data/TS.dat
             Data file: /home/data_disk/fer_dsets/data/TS.dat#

When should I save the data as netcdf (and how), that will help me to escape from define every time.


Thanks,

--
C. Karnan
CSIR - JRF  
National Institute of Oceanography (CSIR)
Regional Centre, Dr Salim Ali Road
Kochi - 682 018.

Mobile No. +91 9633032345; +91 9941811608


Visit http://www.nio.org, http://drs.nio.org, http://www.biosearch.in

Attachment: TS.dat
Description: Netscape Proxy Auto Config


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement