[gradsusr] gxyat mulitple file gif animation

SMITH, JONATHAN WYNN. (GSFC-6133) jonathan.smith at nasa.gov
Tue Apr 19 15:24:57 EDT 2011


Hello grads users,

I want to use the gxyat to put hundreds of hourly images into one an animated gif or png file.  How do I do this?  I see gxyat in grad's bin directory?  I want to avoid having to copy and paste a thousand frames one at a time into software.

I tried the following code but was unsuccessful:

* B Vs -VTL
'reinit'
'open /Volumes/JWS_1TB/GRADS_CTL_DAT/NEW/plevs_bb.ctl'

'set mpdset hires'
'set display color white'
'run rgbset.gs<http://rgbset.gs>'

'c'
"set parea 1 10 1 7.5"
"set LON -30 30"
"set LAT -15 15"
"set LEV 200"
"set t 0 167"
'set grads off'
'set gxout shaded'
"set rgb 24 255 120 120"
"set clevs 12 24 36 48 60 72 84 96 108 120 132"
"set ccols 9 14 4 11 5 13 3 10 7 12 8 2 24"
'd (no+no2)*1000000'
'set string 1 l 3'
'draw string 7.5 8.0' _analysis
"run cbar.gs<http://cbar.gs>"
*'swap'
*"set gxout stream"
*"d U;V"
'draw title BB Run NOx (pptv)\at 200 hPa ' _analysis
*'printim /Users/jonathanwsmith/WRF_Plots/nox_200/nox_200hPa'timex'.gif x400 y300'
'gxyat -o frame-%02d.png /Users/jonathanwsmith/WRF_Plots/nox_200/nox_200.gx'

Thanks



Jonathan Wynn Smith
Student Trainee
jonathan.smith at nasa.gov
NASA-Goddard Space Flight Center
Code 613.3-Atmospheric Chemistry and Dynamics Branch
Greenbelt, MD 20771
301-614-5956

Doctoral Candidate
jw_smith at bison.howard.edu
Howard University Program in Atmospheric Sciences
2355 6th St NW/408 Thirkield Bldg.
Washington, DC 20059

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110419/8aa4a6cc/attachment-0003.html 


More information about the gradsusr mailing list