[Thread Prev][Thread Next][Index]

Re: [ferret_users] Frame multiple wind vector plots



Hi Madhavan,

Try this:

..............
repeat/range=1:61:1/name=n \
( vec/len=10 uwnd[d=1,x=50:100,y=0:40,l=`n`],vwnd[d=2,x=50:100,y=0:40,l=`n`]; go land 7,,7 ;\
frame/file=l`n`.gif )

Also see http://www.pmel.noaa.gov/maillists/tmap/ferret_users/fu_2007/msg00414.html for some important points on repeat loop.

Hope this helps.
 
Jagadish
 


From: Madhavan BL <blmadhavan@xxxxxxxxx>
To: ferret_users@xxxxxxxx
Sent: Wednesday, March 21, 2012 6:17 AM
Subject: [ferret_users] Frame multiple wind vector plots


Dear Ferret users,

I have the following steps to save first day (l=1) for UV (wind vector) plot. The U-wind and V-wind files contain 61 days of data for a single level. 

use X10.102.45.23.79.6.17.45.nc    !  U-wind file
use X10.102.45.23.79.6.25.1.nc      !  V-wind file
sh data
vector/repeat/length=10 uwnd[x=50:100,y=0:40,l=1,d=1],vwnd[x=50:100,y=0:40,l=1,d=2];go land "7" "" "7"
frame/file=l1.gif

In the above U and V files, I have l=1:61. Now I want to save all 61 plots separately respectively as l1.gif, l2.gif, l3.gif, ...... l61.gif

Is there any loop method or any other easy way to save all 61 plots separately?

Kindly reply,

Thanks,
Madhavan

--
---------------------------------------------
B.L.Madhavan, Ph.D
Post-doctoral Fellow 
Particle and Aerosol Research Lab
Chemical Engineering Department
Indian Institute of Technology Bombay (IITB)
Powai, Mumbai 400 076 (INDIA)

Phone: +91-9987144308 (Mobile)
       +91-2225764239 (Lab)






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

Privacy Policy | Disclaimer | Accessibility Statement