Thanks heaps Ansley.
I manged to do the required plotting following your
recommendations and discussion.
Cheers,
Savin
From: Ansley Manke
[mailto:ansley.b.manke@xxxxxxxx]
Hi Savin,Sent: Saturday, 18 August 2012 3:52 AM To: ferret_users@xxxxxxxx; Savin Chand Subject: Re: [ferret_users] Question on plotting ascii and netcdf information [SEC=UNCLASSIFIED] There are several steps to this. What you want to do is I think similar to what's described here, putting a set of labels at locations on a plot. http://ferret.pmel.noaa.gov/Ferret/faq/labelling-dates-along-a-trackline Is that right? Or, reading your message again, maybe you want just one label corresponding to the date of the plot. Either way you need to open and read the ascii file, and use the variables in it to make the labels. It would look something like this yes? file/skip=1/var="lat,lon,clumb_num,timevar" my_ascii.datYou want to make dates out of that time variable. There's a discussion about that here, http://ferret.pmel.noaa.gov/Ferret/faq/creating-a-time-axis-from-time-variables but first you need to define separate variables for the year, month, day. yes? let years = INT(timevar/10000) yes? ! Now following what's in the FAQ above,Depending on what you want to do, you could regrid the vorticity data to the time axis we defined here from the ascii data. Then you could step through that time axis, plotting the vorticity data and making the label, using the LABEL command and specifying the longitude, latitude, at the particular time as the location and the clump_t variable as the text of the label. I hope this will get you started. On 8/15/2012 11:41 PM, Savin Chand wrote:
|