Author Topic: Heavy Weather Maximum/Minimum data  (Read 8909 times)

0 Members and 1 Guest are viewing this topic.

Offline Colin Miles

  • Member
  • *
  • Posts: 5
Heavy Weather Maximum/Minimum data
« on: June 04, 2007, 02:36:23 PM »
I bought a WS2300 just before Christmas, but as the Review and Publisher programs weren't the kind of thing that I wanted I have written my own program. This takes the History file and creates new files which I can then display and manipulate as I want. However, the maximum and minimum data aren't shown in the history file, though obviously they are available as the HW program shows them. I can enter the data manually but it would be much easier to read it direct from HW. Anyone any ideas? I am only really interested in the Outdoor Temperature max/min and max Wind.

Many thanks
CSM

Offline wuhu_software

  • Forecaster
  • *****
  • Posts: 689
    • WUHU Software Yahoo Group
Re: Heavy Weather Maximum/Minimum data
« Reply #1 on: June 04, 2007, 03:40:08 PM »
Quote from: "Colin Miles"
I bought a WS2300 just before Christmas, but as the Review and Publisher programs weren't the kind of thing that I wanted I have written my own program. This takes the History file and creates new files which I can then display and manipulate as I want. However, the maximum and minimum data aren't shown in the history file, though obviously they are available as the HW program shows them. I can enter the data manually but it would be much easier to read it direct from HW. Anyone any ideas? I am only really interested in the Outdoor Temperature max/min and max Wind.

Many thanks


Colin,

Why not have your software just scan the data to determine the mix/max for these values?

Also, if you upload your data to Weather Underground, they have nice tools to determine min/max, charts, etc.

Offline Colin Miles

  • Member
  • *
  • Posts: 5
Re: Heavy Weather Maximum/Minimum data
« Reply #2 on: June 04, 2007, 05:43:05 PM »
Thanks for your quick reply. Determining the min/max from existing data isn't a problem and for many days that is sufficient for everything except the wind. However, I only sample every 10 minutes and this can miss temporary peaks and troughs in the temperature. Usually this is at most only a couple of tenths of a degree so I am probably being a bit too fussy. But with the wind it is a different matter. It is very unusual to capture the maximum gust with this sort of sampling interval.

Incidentally when I said I used the history.dat file, that is incorrect. I use the saved text file from that.
CSM

Offline wuhu_software

  • Forecaster
  • *****
  • Posts: 689
    • WUHU Software Yahoo Group
Re: Heavy Weather Maximum/Minimum data
« Reply #3 on: June 05, 2007, 12:41:15 PM »
Quote from: "Colin Miles"
Thanks for your quick reply. Determining the min/max from existing data isn't a problem and for many days that is sufficient for everything except the wind. However, I only sample every 10 minutes and this can miss temporary peaks and troughs in the temperature. Usually this is at most only a couple of tenths of a degree so I am probably being a bit too fussy. But with the wind it is a different matter. It is very unusual to capture the maximum gust with this sort of sampling interval.

Incidentally when I said I used the history.dat file, that is incorrect. I use the saved text file from that.


Are you actively monitoring the history file?

Why not detect all changes to the file and then only write to your text file every ten minutes?

As you mentioned HW is able to detect all lows and highs because it is sampling all of the records. There are no summary records, so you must read them all if you want to capture all of the data.

What are you doing with this data? Posting it to the web?

Thanks.

Offline Colin Miles

  • Member
  • *
  • Posts: 5
Re: Heavy Weather Maximum/Minimum data
« Reply #4 on: June 06, 2007, 03:47:07 AM »
HW is set to sample every 10 minutes. At various times, when convenient, I download these to my computer onto the history.dat file. I then save these as text. These are then read into my program. This is set up to recreate monthly and yearly text files. The program then creates whatever graphs and data that I require.

Does the history.dat file contain the max/min data? If it does then presumably there is some way of extracting it.

I don't publish to the web. Many thanks for your replies.
CSM

Offline wuhu_software

  • Forecaster
  • *****
  • Posts: 689
    • WUHU Software Yahoo Group
Re: Heavy Weather Maximum/Minimum data
« Reply #5 on: June 06, 2007, 09:31:10 AM »
Quote from: "Colin Miles"
HW is set to sample every 10 minutes. At various times, when convenient, I download these to my computer onto the history.dat file. I then save these as text. These are then read into my program. This is set up to recreate monthly and yearly text files. The program then creates whatever graphs and data that I require.

Does the history.dat file contain the max/min data? If it does then presumably there is some way of extracting it.

I don't publish to the web. Many thanks for your replies.


I am pretty sure that it does not contain min/max.

It is impossible to determine the logic that the console uses to store the data as it is collecting it at a frequency. For example does it record the extremes during the 10 minute sample period or does it just take a snap shot. My guess would be a snap shot at the end of the 10 min period.

Heavyweather is probably reading the extremes from the console that are stored in a different area on the console from the standard 10 min snapshots. You probably can not access that information via the history file.

Offline Colin Miles

  • Member
  • *
  • Posts: 5
Re: Heavy Weather Maximum/Minimum data
« Reply #6 on: June 06, 2007, 04:14:22 PM »
Thanks. I was hoping that someone would know how to access the min/max data in the same way that the HW program does. Or maybe that a HW programmer would be willing to divulge how it is done?
CSM

Offline wuhu_software

  • Forecaster
  • *****
  • Posts: 689
    • WUHU Software Yahoo Group
Re: Heavy Weather Maximum/Minimum data
« Reply #7 on: June 06, 2007, 05:22:00 PM »
Quote from: "Colin Miles"
Thanks. I was hoping that someone would know how to access the min/max data in the same way that the HW program does. Or maybe that a HW programmer would be willing to divulge how it is done?


You should look in to the open2300 project.

http://tech.groups.yahoo.com/group/Lacrosse_weather_stations/

It is an open source (C source) project that will allow you to read the memory of the console directly.

You can not have both the HW application and the open2300 access the port at the same time, but with your own application, you will probably no longer need HW.

Offline Colin Miles

  • Member
  • *
  • Posts: 5
Re: Heavy Weather Maximum/Minimum data
« Reply #8 on: June 07, 2007, 03:32:20 AM »
Many thanks!
CSM

Offline wuhu_software

  • Forecaster
  • *****
  • Posts: 689
    • WUHU Software Yahoo Group
Re: Heavy Weather Maximum/Minimum data
« Reply #9 on: June 07, 2007, 06:18:14 AM »
Quote from: "Colin Miles"
Many thanks!


Colin,

No problem, let me know if you need help with it.

You can also use my application if you are running your computer 24x7 to upload your data to the weather servers. You can run with or without (recommended) HW.

http://tech.groups.yahoo.com/group/wuhu_software_group/