HOW TO: Uploading hurricane graphics

This is the place to get help with Digital Atmosphere, suggest improvements, and get tips.
Post Reply
Tim Vasquez
Administrator
Posts: 534
Joined: Sat Nov 22, 2003 10:47 pm

HOW TO: Uploading hurricane graphics

Post by Tim Vasquez »

A few days ago we were posting hourly maps, compositing US and Mexican radar looking like this:
http://www.weathergraphics.com/images/emily2007.gif

Here's how it was done:

A script file with these contents was executed in the Digital Atmosphere schedule hourly:

Code: Select all

BLANK
ERASE
IMPORTRADAR
ERASE
RADAR,br248,bro hgx dfx epz
DOWNLOAD
HURRICANE
HURRMODEL,2
PRODUCT,plf,0,Wind and SST
EXPORT,c:\st\special\weathermap.gif
EXPORT,c:\st\special\emily@HHZ@MMZ.gif
SPAWN,c:\st\special\process.bat,,1
The spawn command executed a batch file at c:\st\special\process.bat with this:

Code: Select all

ftp -s:upload.scr [url]www.stormtrack.org[/url]
This executed the following script, upload.scr:

Code: Select all

ourlogin
ourpassword
cd stormtrack.org/special
bin
hash
prompt
mput weathermap.gif
bye
Post Reply