The Weather Forecasting Forum

Discussions about the latest in meteorology, programs, tools, and techniques
It is currently Sun Oct 22, 2017 7:23 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Tue Aug 01, 2006 8:09 pm 
Offline
Member

Joined: Mon Jan 02, 2006 3:58 pm
Posts: 57
Location: Jackson WI USA
I know that wild cards can be used to accomplish this as shown in my current command below, but I'm wondering if there's a way to have the download command (or something else) look at the following URL for example and get whatever the latest file is that starts with LATEST - there's always only one of them obviously bu the date and time change:

http://www.nrlmry.navy.mil/focus_public/CONUS/focus_regions/Full/Overview/vis_images/goes/LATEST_20060801.1930.jpg

my problem comes in that it depends on WHEN the file is created and put up on the web site, sometimes its later than others and since I'm using the satellite as a base map for plotting on....no map no plot...hence the problem.

Currently I'm using the following command:

download,[url]http://www.nrlmry.navy.mil/focus_public/CONUS/focus_regions/Full/Overview/vis_images/goes/@FFZ@MMZ@DDZ.@HHZ00.g11.vissr.vis.Full_Overview.x.jpg,C:\Program[/url] Files\DigitalAtmosphereWS\USVISSAT.jpg

OR

download,[url]http://www.nrlmry.navy.mil/focus_public/CONUS/focus_regions/Full/Overview/vis_images/goes/@FFZ@MMZ@DDZ.@HHZ30.g11.vissr.vis.Full_Overview.x.jpg,C:\Program[/url] Files\DigitalAtmosphereWS\USVISSAT.jpg

depending on if I want the 00 or 30 minute image.....problem comes trying to tell WHEN either is available.and trying to time the script to run at the right time,

I'd be happy with just always getting whatever is LATEST as the URL I put in above shows but I'm not sure how to do that....that way no matter when the script would execute it would get the file there starting with LATEST and not worrying about the rest of the name. Similar to how the %1 is suppoes to work on Data retreival from the menu....does this make any sense?

Any answers??


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group