script Help

Dizzle Man selfscience06 at GMAIL.COM
Tue Mar 17 15:33:27 EDT 2009


I have several NCEP data files I would like to loop in a script without
having to open each file one by one. Any suggestions?

'reinit'
'open gfsanl_3_20060805_0000_000.ctl'
'set z 21'
'set lat -60 90'
'set lon -180 180'
'set mpdset hires'
'set gxout shaded'
'd rh'
'draw map'
'run cbar.gs'
'draw title Relative Humidity Along ITCZ: 2006-08-05_0000'
'printim 05_0000.png x1600 y1200'

'reinit'
'open gfsanl_3_20060805_0600_000.ctl'
'set z 21'
'set lat -60 90'
'set lon -180 180'
'set mpdset hires'
'set gxout shaded'
'd rh'
'draw map'
'run cbar.gs'
'draw title Relative Humidity Along ITCZ: 2006-08-05_0600'
'printim 05_0600.png x1600 y1200'

'reinit'
'open gfsanl_3_20060805_1200_000.ctl'
'set z 21'
'set lat -60 90'
'set lon -180 180'
'set mpdset hires'
'set gxout shaded'
'd rh'
'draw map'
'run cbar.gs'
'draw title Relative Humidity Along ITCZ: 2006-08-05_1200'
'printim 05_1200.png x1600 y1200'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090317/c63ba224/attachment.html 


More information about the gradsusr mailing list