Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Pull Highs & Lows From A Certain Date From Dayfile.txt

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
Post Reply
User avatar
Buford T. Justice
Posts: 423
Joined: Fri 17 Aug 2012 9:21 pm
Weather Station: Ecowitt GW1002
Operating System: Windows 11 Pro
Location: USA

Pull Highs & Lows From A Certain Date From Dayfile.txt

Post by Buford T. Justice »

Is there a way to get the highs and lows just like todayT.htm and yesterdayT.htm do for a certain date from the dayfile.txt file?
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Pull Highs & Lows From A Certain Date From Dayfile.txt

Post by steve »

You can look at them in the dayfile.txt editor. But if you mean for use on a web site, not directly from Cumulus at the moment (because of the overhead of fetching them from the file when the web tag is processed). You could do what a number of people do, and feed your dayfile.txt into a database on the web server, and extract them from that.
Steve
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: Pull Highs & Lows From A Certain Date From Dayfile.txt

Post by sfws »

https://cumulus.hosiene.co.uk/viewtopic.php?f=14&t=8631 includes a routine for matching what appears on today/yesterday by taking the relevant fields from dayfile. EDIT - removed comment
Last edited by sfws on Mon 03 Aug 2015 2:40 pm, edited 1 time in total.
User avatar
Buford T. Justice
Posts: 423
Joined: Fri 17 Aug 2012 9:21 pm
Weather Station: Ecowitt GW1002
Operating System: Windows 11 Pro
Location: USA

Re: Pull Highs & Lows From A Certain Date From Dayfile.txt

Post by Buford T. Justice »

Not really for displaying on a website, but more for pulling a report formatted like todayT.htm. I report that data along with rain to CoCoRaHS and sometimes I get so busy it slips my mind so I don't notice I missed a day or two until after several days have passed.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Pull Highs & Lows From A Certain Date From Dayfile.txt

Post by steve »

The nearest you can get directly from Cumulus currently is View -> This Period and limit it to the day you want.
Steve
User avatar
Buford T. Justice
Posts: 423
Joined: Fri 17 Aug 2012 9:21 pm
Weather Station: Ecowitt GW1002
Operating System: Windows 11 Pro
Location: USA

Re: Pull Highs & Lows From A Certain Date From Dayfile.txt

Post by Buford T. Justice »

Well I grabbed the bull by the horns and made a spreadsheet to do the work. It is not a perfect format but it is very close and the extra spaces can be easily removed. It is attached if anyone wants it. It is in OpenOffice.org Calc format.

To use it:

1) Open dayfile.txt with OpenOffice.org Calc.

2) Select the entire line for the date you need by clicking on the number to the left of the date. When it is highlighted in blue, right-click on the date and copy it. You will need all of the data on the entire line.

3) Open "BT's Cumulus Historic Data.ots" within the .zip file attached to this post.

4) At the bottom left, pick your data format from Metric, Imperial, Knots Metric, or Combined.

5) Paste the entire line of data you copied to cell A1 :)
You do not have the required permissions to view the files attached to this post.
Post Reply