The Weather Forecasting Forum

Discussions about the latest in meteorology, programs, tools, and techniques
It is currently Fri Oct 20, 2017 2:18 pm

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Time Stamps on DA
PostPosted: Sat Oct 23, 2010 8:01 pm 
Offline
Member

Joined: Mon Aug 08, 2005 8:58 pm
Posts: 26
Location: Baton Rouge, LA
I'm a bit new to the whole scripting thing...

I have a script that automatically downloads data and creates national surface, 850, 700, 500, and 250 plots (you can see the output here), but if notice the time stamp for the data in the lower right hand corner of the maps is wrong. How do I fix this? Also, I seem to be having an issue getting the latest data to download, even though I am running the download script at the beginning. Here is the download code block from my script:

download,http://weather.cod.edu/digatmos/sao/@Y@M@D@H.sao,c:\users\jason\appdata\local\digitalatmosphere\data\obs.001
download,http://weather.admin.niu.edu/data/@Y@M@D@H.sao,c:\users\jason\appdata\local\digitalatmosphere\data\obs.002
download,http://www.atmos.albany.edu/weather/data1/surface/sao/@Y@M@D@H_sao.wmo,c:\users\jason\appdata\local\digitalatmosphere\data\obs.003
download,http://weather.cod.edu/digatmos/syn/@Y@M@D@I.syn,c:\users\jason\appdata\local\digitalatmosphere\data\obs.004
download,http://weather.admin.niu.edu/data/@Y@M@D@I.syn,c:\users\jason\appdata\local\digitalatmosphere\data\obs.005
download,http://www.atmos.albany.edu/weather/data1/surface/syn/@Y@M@D@S_syn.wmo,c:\users\jason\appdata\local\digitalatmosphere\data\obs.006
download,http://dweb.met.fsu.edu/rawdata/ussyn/20@Y@M@D/20@Y@M@D@S.ussyn,c:\users\jason\appdata\local\digitalatmosphere\data\obs.007
download,http://dweb.met.fsu.edu/rawdata/syn/20@Y@M@D/20@Y@M@D@S.syn,c:\users\jason\appdata\local\digitalatmosphere\data\obs.008
download,http://www.atmos.albany.edu/weather/data1/surface/boy/@Y@M@D@S_boy.wmo,c:\users\jason\appdata\local\digitalatmosphere\data\obs.009
download,http://weather.cod.edu/digatmos/upa/@Y@M@D@X.upa,c:\users\jason\appdata\local\digitalatmosphere\data\obs.010
download,http://meteora.ucsd.edu/weather/observations/upperair/@Y@M@D@X_upa.wmo,c:\users\jason\appdata\local\digitalatmosphere\data\obs.011
download,http://www.atmos.albany.edu/weather/data1/upperair/@Y@M@D@X_upa.wmo,c:\users\jason\appdata\local\digitalatmosphere\data\obs.012
download,http://dweb.met.fsu.edu/rawdata/radiosonde/20@Y@M@D/20@Y@M@D@X.rdisnd,c:\users\jason\appdata\local\digitalatmosphere\data\obs.013
download,http://weather.admin.niu.edu/data/@Y@M@D@X.upa,c:\users\jason\appdata\local\digitalatmosphere\data\obs.014
download,http://dweb.met.fsu.edu/rawdata/usua/20@Y@M@D/20@Y@M@D@X.usua,c:\users\jason\appdata\local\digitalatmosphere\data\obs.015
download,http://dweb.met.fsu.edu/rawdata/metar/20@Y@M@D/20@Y@M@D@H.metar,c:\users\jason\appdata\local\digitalatmosphere\data\obs.016


Top
 Profile  
 
 Post subject: Re: Time Stamps on DA
PostPosted: Thu Oct 28, 2010 1:30 am 
Offline
Member

Joined: Sun Nov 23, 2003 11:28 pm
Posts: 30
Location: Millthorpe, NSW, Australia
Weatherguy, the download script looks fine to capture the latest observations, but do you need to get them from so many sites? Most .sao or .syn etc files are similar from site to site. The @Y@M@D@H are replaced with the date (UTC) according to your computer clock, so you need to check your computer clock is correct. I notice the time shown in the bottom right corner of the chart is in UTC but the generated time is CDT, so you need to take the timezone difference between UTC and CDT into account. In Help, go to Internet Menu Commands, then Retrieve Data, then Time Tokens for more information. Is that the problem or am I missing something?

In DA Pro, I cannot get the date to show correctly in the bottom right corner of my charts (http://www.australianweathernews.com/current_AWN_charts.shtml) and have stopped it from showing by disabling legend date information on the annotations tab in preferences. But you seem to have it correct on yours - I'd be interested to know your settings and the version of DA you're running that allows this to happen. I notice Wally Mayo's charts (http://www.weatherroanoke.com/ne.html) also have problems with the bottom right corner chart date, showing 2 Jan 2010 instead of the current date - that's what I get if I enable the date, too. Does anyone have a fix for this?


Top
 Profile  
 
 Post subject: Re: Time Stamps on DA
PostPosted: Mon Dec 26, 2011 7:56 pm 
Offline
Junior Member

Joined: Mon Dec 26, 2011 7:48 pm
Posts: 5
Location: Newquay, Cornwall. UK
Hi, downloaded and installed the evaluation yesterday, I have the problem as above, date is wrong, has any body got an answer for this, date shown is 22nd Nov, from what i gather it is downloading the correct datd files, I'm using the jetstream script from Budgie.
Other scripts I have tried come up with 22nd Nov as well, if I do manual they appear to have the correct date.

Test page removed

phil


Last edited by smokie on Thu Dec 29, 2011 11:20 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Time Stamps on DA
PostPosted: Wed Dec 28, 2011 9:06 pm 
Offline
Junior Member

Joined: Mon Dec 26, 2011 7:48 pm
Posts: 5
Location: Newquay, Cornwall. UK
Just an update, have temporarily solved the issue by disabling detailed legend and legend date in Preferences > Annotations

Page now live at http://www.newquayweather.com/wxjetstream.php


Top
 Profile  
 
 Post subject: Re: Time Stamps on DA
PostPosted: Thu Dec 29, 2011 11:50 pm 
Offline
Moderator

Joined: Wed Jan 06, 2010 1:17 pm
Posts: 57
Location: Lochaber, Scotland
That looks like it, they match my own charts for today. :mrgreen:


Top
 Profile  
 
 Post subject: Re: Time Stamps on DA
PostPosted: Fri Dec 30, 2011 2:21 pm 
Offline
Junior Member

Joined: Mon Dec 26, 2011 7:48 pm
Posts: 5
Location: Newquay, Cornwall. UK
We are getting there Budgie, but sometimes when I run the script it downloads the correct data but the charts it produces dont change from the previous, should I be doing something else ?
I'm checking yours before I upload to see if they match.

Once again thanks for the script, will look at producing a pressure chart next.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 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