The Weather Forecasting Forum
http://www.weathergraphics.com/forum/

Time Stamps on DA
http://www.weathergraphics.com/forum/viewtopic.php?f=9&t=1607
Page 1 of 1

Author:  weatherguy08 [ Sat Oct 23, 2010 8:01 pm ]
Post subject:  Time Stamps on DA

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

Author:  LaurierWilliams [ Thu Oct 28, 2010 1:30 am ]
Post subject:  Re: Time Stamps on DA

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?

Author:  smokie [ Mon Dec 26, 2011 7:56 pm ]
Post subject:  Re: Time Stamps on DA

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

Author:  smokie [ Wed Dec 28, 2011 9:06 pm ]
Post subject:  Re: Time Stamps on DA

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

Author:  Budgie [ Thu Dec 29, 2011 11:50 pm ]
Post subject:  Re: Time Stamps on DA

That looks like it, they match my own charts for today. :mrgreen:

Author:  smokie [ Fri Dec 30, 2011 2:21 pm ]
Post subject:  Re: Time Stamps on DA

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.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/