Page 1 of 1

Time Stamps on DA

Posted: Sat Oct 23, 2010 8:01 pm
by weatherguy08
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@ ... ta\obs.001
download,http://weather.admin.niu.edu/data/@Y@M@ ... ta\obs.002
download,http://www.atmos.albany.edu/weather/dat ... ta\obs.003
download,http://weather.cod.edu/digatmos/syn/@Y@ ... ta\obs.004
download,http://weather.admin.niu.edu/data/@Y@M@ ... ta\obs.005
download,http://www.atmos.albany.edu/weather/dat ... ta\obs.006
download,http://dweb.met.fsu.edu/rawdata/ussyn/2 ... ta\obs.007
download,http://dweb.met.fsu.edu/rawdata/syn/20@ ... ta\obs.008
download,http://www.atmos.albany.edu/weather/dat ... ta\obs.009
download,http://weather.cod.edu/digatmos/upa/@Y@ ... ta\obs.010
download,http://meteora.ucsd.edu/weather/observa ... ta\obs.011
download,http://www.atmos.albany.edu/weather/dat ... ta\obs.012
download,http://dweb.met.fsu.edu/rawdata/radioso ... ta\obs.013
download,http://weather.admin.niu.edu/data/@Y@M@ ... ta\obs.014
download,http://dweb.met.fsu.edu/rawdata/usua/20 ... ta\obs.015
download,http://dweb.met.fsu.edu/rawdata/metar/2 ... ta\obs.016

Re: Time Stamps on DA

Posted: Thu Oct 28, 2010 1:30 am
by LaurierWilliams
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/cu ... arts.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?

Re: Time Stamps on DA

Posted: Mon Dec 26, 2011 7:56 pm
by smokie
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

Re: Time Stamps on DA

Posted: Wed Dec 28, 2011 9:06 pm
by smokie
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

Re: Time Stamps on DA

Posted: Thu Dec 29, 2011 11:50 pm
by Budgie
That looks like it, they match my own charts for today. :mrgreen:

Re: Time Stamps on DA

Posted: Fri Dec 30, 2011 2:21 pm
by smokie
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.