WXforum.net
May 25, 2013, 07:57:31 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
Members: 6623  •  Posts: 178855  •  Topics: 18148
Please welcome Porchpup, our newest member.
Welcome to the the new hosting for WXforum.net.
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Data  (Read 1313 times)
0 Members and 1 Guest are viewing this topic.
jdc308
Member
*
Offline Offline

Posts: 5



« on: June 26, 2012, 04:34:06 PM »

Hello,

I am new to the forum and Davis software in general.  My campus recently purchased a unit, a data logger, and weather link.  I have weather link successfully updating our website (wb.psu.edu/weather).  However, I don’t see an option to automate the text export wizard.  I would like to post historical data to the website in a text format.  I would like the data in a .txt or similar format, unaltered, and tab or comma delimited. 

I know I can generate the file manually by running an export but I was hoping someone would have a way to script or automate this process.  If I can write the file to the local computer, I can write my own script to upload it to our webserver.
 
Thanks!

Jeff
Logged
Bushman
Forecaster
*****
Offline Offline

Posts: 3492


WWW
« Reply #1 on: June 26, 2012, 06:13:21 PM »

Define "historical weather".  You can use any of the Davis WL HTML "tags" with an historical bent via  custom .htx file.  You would then schedule this using WL's Internet connection upload function.
Logged
Bushman
Forecaster
*****
Offline Offline

Posts: 3492


WWW
« Reply #2 on: June 26, 2012, 06:14:23 PM »

Historical tags here:  http://wx3660.dk/vejrprogrammer/weatherlink/weatherLink_html_tags.htm
Logged
dalecoy
Forecaster
*****
Offline Offline

Posts: 3488


WWW
« Reply #3 on: June 26, 2012, 07:45:37 PM »

Define "historical weather".  You can use any of the Davis WL HTML "tags" with an historical bent via  custom .htx file.  You would then schedule this using WL's Internet connection upload function.

Tags are a quasi-real-time thing, and I'm not sure that's what jdc308 is asking for.

jdc308, could you provide an example of what you would like the "historical data to the website in a text format" to look like?
Logged
dalecoy
Forecaster
*****
Offline Offline

Posts: 3488


WWW
« Reply #4 on: June 26, 2012, 07:54:47 PM »

Jeff, do you have a copy of this?

http://www.davisnet.com/product_documents/weather/app_notes/AN_26-weather-data-web-page.pdf

Perhaps the information on page 7 (or elsewhere) will help?
Logged
Bushman
Forecaster
*****
Offline Offline

Posts: 3492


WWW
« Reply #5 on: June 26, 2012, 08:32:35 PM »

Define "historical weather".  You can use any of the Davis WL HTML "tags" with an historical bent via  custom .htx file.  You would then schedule this using WL's Internet connection upload function.

Tags are a quasi-real-time thing, and I'm not sure that's what jdc308 is asking for.
...

How would historical data be real time?  Has anyone mastered time travel?  Smile
Logged
floodcaster
Forecaster
*****
Offline Offline

Posts: 302



WWW
« Reply #6 on: June 26, 2012, 09:27:30 PM »

As mentioned, you can schedule weatherlink to upload the NOAA reports and use Ken's program to display them on your web site.
Logged

Bill

dalecoy
Forecaster
*****
Offline Offline

Posts: 3488


WWW
« Reply #7 on: June 26, 2012, 11:25:40 PM »

Define "historical weather".  You can use any of the Davis WL HTML "tags" with an historical bent via  custom .htx file.  You would then schedule this using WL's Internet connection upload function.

Tags are a quasi-real-time thing, and I'm not sure that's what jdc308 is asking for.
...

How would historical data be real time?  Has anyone mastered time travel?  Smile

I'm sure you understand that you didn't correctly quote my statement.  And I'm sure you understand tags.

jdc308 can let us both know if tags accomplish what is wanted. 
« Last Edit: June 26, 2012, 11:27:55 PM by dalecoy » Logged
johnd
Forecaster
*****
Online Online

Posts: 1237


WWW
« Reply #8 on: June 27, 2012, 02:47:57 AM »

@jdc308: Don't know whether or not you're following the gist of these replies, but the broad answer is that certain specific text uploads such as the NOAA reports are possible automatically with Weatherlink, but there isn't a comprehensive automatic text upload facility. So, for example, it's not easily possible to automate the 'export to text' feature in Browse mode. ('easily' because in principle you can do most things with some custom programming, but it's not a standard feature).

Therefore you need to spell out in more detail what you want to do and the time period** involved and then people can give a more specific answer.

** It's easy to get fully detailed text data covering the past 7 days uploaded automatically because this is provided by a built-in function, but longer periods are in the range much more tricky to impossible. But certain specific items of historic data (eg daily/monthly summary values) are accessible via the tag mechanism.
« Last Edit: June 27, 2012, 03:35:43 AM by johnd » Logged
DaculaWeather
It's a Jeep thing... you wouldn't understand.
Forecaster
*****
Online Online

Posts: 2752


SCCA EM #156


WWW
« Reply #9 on: June 27, 2012, 08:18:30 AM »

PSU finally has a weather station! Does this station have anything to do with the PSU Department of Meteorology?
Logged

Steve
Davis Vue, VWS, WDisplay, VVP, StartWatch CWOP 

Hhabilis
Member
*
Offline Offline

Posts: 32


Grebo


WWW
« Reply #10 on: June 27, 2012, 12:13:27 PM »

Here's the link to the PSU main campus, Meteorology Dept. Walker Building Site

http://climate.met.psu.edu/realtime/walker/walker.html

Looks like Jeff is at the Wilkes-Barre campus

I notice a link at the bottom of the page to "historical text"  5 minute data dump of the past two days.

** Jeff, maybe you should talk to someone at Main Campus if that's the type of listing you're looking for.
« Last Edit: June 27, 2012, 12:17:01 PM by Hhabilis » Logged

Davis VP2+
WU: KPABERWY3  CWOP: EW0301
software: VWS

 
DaculaWeather
It's a Jeep thing... you wouldn't understand.
Forecaster
*****
Online Online

Posts: 2752


SCCA EM #156


WWW
« Reply #11 on: June 27, 2012, 12:18:42 PM »

I noticed it was a different campus, just curious if the station was maybe a part of the met program.
Logged

Steve
Davis Vue, VWS, WDisplay, VVP, StartWatch CWOP 

jdc308
Member
*
Offline Offline

Posts: 5



« Reply #12 on: June 27, 2012, 12:45:03 PM »

Wow! Thanks to everyone for the quick and numerous responses.  Let me see if I can answer everyones questions:

1) YES! PSU has a weather station.  I am at the PSU Wilkes-Barre campus. (wb.psu.edu)

2) It was donated (paid for) by a generous faculty member.

3) I work in IT so much of the data that the station records is Greek to me.  I would like to post it in a raw unaltered form.

4) The Walker weather station does this: http://climate.met.psu.edu/realtime/walker/walker.html However, it only maintains a 5 minute archive.  I read through Davis documentation and it seems that the downld02.txt file (the one linked on the walker page), is auto generated and uploaded.  Unfortunately, it is overwritten with new data. 

My end goal would be to generate something just like the downld02.txt file but maybe list them by month or quarter so that students can download the data set they are interested in and analyze them.

Thanks again,

Jeff
Logged
jdc308
Member
*
Offline Offline

Posts: 5



« Reply #13 on: June 27, 2012, 03:27:22 PM »

I should add that as an alternative to a text export, a SQl (MySQL or MsSQL) would also be fine.
Logged
Bushman
Forecaster
*****
Offline Offline

Posts: 3492


WWW
« Reply #14 on: June 27, 2012, 03:47:35 PM »

http://www.wxforum.net/index.php?topic=2276.msg57425#msg57425 I played a bit with Jay's service - works.
Logged
dalecoy
Forecaster
*****
Offline Offline

Posts: 3488


WWW
« Reply #15 on: June 27, 2012, 04:38:28 PM »

Clearly tags won't (easily) work for what you want.  As Bushman indicated, jruys' service or the underlying code may be very helpful.


My end goal would be to generate something just like the downld02.txt file but maybe list them by month or quarter so that students can download the data set they are interested in and analyze them.


... perhaps a script the runs at the end of each month, and renames/archives that file?
Logged
Bushman
Forecaster
*****
Offline Offline

Posts: 3492


WWW
« Reply #16 on: June 27, 2012, 06:15:08 PM »

Or forget WL1 atogether:  http://www.wviewweather.com/  Needs Linux tho.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.214 seconds with 19 queries.