[Thread Prev][Thread Next][Index]

[ferret_users] Ship trackline: CALENDAR and LABEL command



Dear Ferret users,

I have two netcdf files. One is model output another is ship track written as 
suggested by CF convention for storing trajectory data. I am able to plot 
ship trackline on the shade basemap as suggested in FAQ  
http://ferret.pmel.noaa.gov/Ferret/FAQ/custom_labels/label_dates.html
with
REPEAT/L=588:6088:500 (LET tlab = "`T[GT=GDD1],RETURN=tstart`"; LABEL 
`longitude` `latitude+0.025` 1 0 0.1 `tlab`)           

However,  output on the graph is 02-JAN-2004 05:43. Since this are hourly 
values and to improve visibility I would prefer to write only 05:43 instead 
of 02-JAN-2004 05:43.
I have tried with:

SET MODE CALENDAR:hours

but it does not work. Units atribute for time in netcdf file is
time:units = "seconds since 2004-01-01 00:00:00"
Ferret is 5.80

Other question is perhaps simple, but I am not sure how to do it. I would also 
like to use similar command as before to write values in the points along the 
trackline, for example:   
REPEAT/L=588:6088:500 (LABEL `longitude` `latitude-0.025` 1 0 0.1 SST)
but since label command expect argument of characetr type it writes "SST" 
instead of SST values. Is there a way to pass the value stored in the SST 
variable as an character argument to the LABEL command? 

I'd be thankful for any suggestions how to resolve this problems. 

Best regards,
Goran


-- 
Goran Georgievski
ICBM, Physical Oceanography (Theory), University of Oldenburg
PO Box 2503, D-26111 Oldenburg, Germany
Tel: +49-(0)441-798-4061, Fax: +49-(0)441-798-3404

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement