IMPORTANT! The server may go down soon - possibly permanently. Please read the latest post in Announcements and News

FTP is broken. I strongly advise all users using my server for their web site to make alternative arrangements.

Outgoing mail is disabled because of the malware on the server. No new forum registrations are currently possible, and mail to the forum administrator will not work.

Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

NOAA stopped working after a rebuild.

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.
Sadgit
Posts: 111
Joined: Sun Jan 04, 2009 5:56 pm
Weather Station: Vantage Vue
Operating System: Windows 7
Location: Middlesbrough, England

NOAA stopped working after a rebuild.

Postby Sadgit » Wed Jul 26, 2017 5:51 pm

Hello

I did a rebuild cannot remember when, but I have just noticed that the NOAA data isn't working for the whole of July..
The NOAAMO0717.txt contains

Code: Select all

                  Temperature (°C), Rain (mm), Wind Speed (mph)

                                      Heat  Cool        Avg
    Mean                              Deg   Deg         Wind                 Dom
Day Temp  High   Time   Low    Time   Days  Days  Rain  Speed High   Time    Dir
----------------------------------------------------------------------------------
----------------------------------------------------------------------------------
    ----  ----    --    ----    --     0.0   0.0   0.0  ----   0.0     0       E

Max >=  27.0  0
Max <=   0.0  0
Min <=   0.0  0
Min <= -18.0  0
Max Rain: 0.0 on day 0
Days of Rain: 0 (>= 0.2 mm)  0 (>= 2.0 mm)  0 (>= 20.0 mm)
Heat Base: 18.3  Cool Base: 18.3  Method: Integration



and the NOAAYR2017.txt contains

Code: Select all

                  Temperature (°C), Heat Base: 18.3  Cool Base: 18.3
                          Dep.  Heat  Cool                       Max  Max  Min  Min
        Mean  Mean        From  Deg   Deg                        >=   <=   <=   <=
 YR MO  Max   Min   Mean  Norm  Days  Days  Hi  Date  Low  Date 27.0  0.0  0.0 -18.0
------------------------------------------------------------------------------------
 17  1
 17  2
 17  3
 17  4
 17  5
 17  6
 17  7
 17  8
 17  9
 17 10  16.3  10.1  40.6   0.0     0     0  16.3  20  10.1   20    0    0    0    0
 17 11
 17 12
------------------------------------------------------------------------------------
        16.3  10.1  40.6   0.0     0     0  16.3 Oct  10.1  Oct    0    0    0    0

                                Precipitation (mm)

              Dep.   Max        Days of Rain
              From   Obs.           >=
 YR MO Total  Norm   Day Date  0.2  2.0 20.0
---------------------------------------------
 17 10   0.0   0.0   0.0   0     0    0    0
---------------------------------------------
         0.0   0.0   0.0  ---    0    0    0

                                Wind Speed (mph)
                          Dom
 YR MO   Avg.  Hi   Date  Dir
------------------------------
 17  1
 17  2
 17  3
 17  4
 17  5
 17  6
 17  7
 17  8
 17  9
 17 10  ----   0.0    0     E
 17 11
 17 12
------------------------------
        ----   0.0  ---     W


both generated last night as I deleted the ones that were there to try and force the update.. the files created were the same as the ones I deleted.

Any ideas please?


Cheers
Mark

User avatar
steve
Cumulus Author
Posts: 26692
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: NOAA stopped working after a rebuild.

Postby steve » Wed Jul 26, 2017 6:24 pm

Probably an error in your data file(s). Any error messages in the diags file?
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development since I have retired from my day job

Sadgit
Posts: 111
Joined: Sun Jan 04, 2009 5:56 pm
Weather Station: Vantage Vue
Operating System: Windows 7
Location: Middlesbrough, England

Re: NOAA stopped working after a rebuild.

Postby Sadgit » Wed Jul 26, 2017 6:46 pm

This is from over night Steve..

Code: Select all

   at System.Net.WebConnection.ReadDone(IAsyncResult result)
2017-07-25 23:55:03.780 WU update:    at System.Net.WebConnection.HandleError(WebExceptionStatus st, System.Exception e, System.String where)
   at System.Net.WebConnection.ReadDone(IAsyncResult result)
2017-07-25 23:57:13.555 WU update:    at System.Net.WebConnection.HandleError(WebExceptionStatus st, System.Exception e, System.String where)
   at System.Net.WebConnection.ReadDone(IAsyncResult result)
2017-07-25 23:59:23.554 WU update:    at System.Net.WebConnection.HandleError(WebExceptionStatus st, System.Exception e, System.String where)
   at System.Net.WebConnection.ReadDone(IAsyncResult result)
2017-07-26 00:00:00.966 Hour changed:0
2017-07-26 00:00:00.967 Calculating sunrise and sunset times
2017-07-26 00:00:00.967 Sunrise: 05:05:57
2017-07-26 00:00:00.968 Sunset : 21:15:59
2017-07-26 00:00:00.968 Tomorrow sunrise: 05:07:37
2017-07-26 00:00:00.968 Tomorrow sunset : 21:14:17
2017-07-26 00:00:00.973 Midnight rain reset, count = 320.6 time = 00:00
2017-07-26 00:00:00.973 === Day reset, today = 26
2017-07-26 00:00:00.974 === Day reset for 25/07/2017 00:00:00
2017-07-26 00:00:00.974 Dayfile.txt entry:
2017-07-26 00:00:00.974 25/07/17,9.0,70,18:18,11.0,23:41,18.6,16:29,1011.38,23:59,1018.12,00:14,0.0,00:00,0.0,14.4,18.8,3.0,17:21,70,16:12,95,23:57,0.00,0.0,18.6,16:29,19.3,16:30,11.1,23:41,0.0,00:00,11.0,23:41,13.5,16:06,10.0,23:34,30,3.9,0.0,0,00:00,11.6,00:00
2017-07-26 00:00:00.975 Dayfile.txt opened for writing
2017-07-26 00:00:00.975 Writing entry to dayfile.txt
2017-07-26 00:00:00.975 Raincounter = 320.6 Raindaystart = 320.6
2017-07-26 00:00:00.975 Rainyesterday (calibrated) set to 0
2017-07-26 00:00:00.975 RainDayThreshold = -1
2017-07-26 00:00:00.976 rdt1000=200 ry1000=0
2017-07-26 00:00:00.976 Yesterday was a dry day
2017-07-26 00:00:00.976 Consecutive dry days = 1
2017-07-26 00:00:00.976 Raindaystart set to 320.6
2017-07-26 00:00:00.976 StartofdayET set to 0
2017-07-26 00:00:00.979 Writing today.ini, LastUpdateTime = 25/07/2017 23:45:00 raindaystart = 320.6 rain counter = 320.6
2017-07-26 00:00:00.980 Writing yesterday.ini
2017-07-26 00:00:01.000 Written yesterday.ini
2017-07-26 00:00:01.000 Creating NOAA monthly report for 25 July 2017
2017-07-26 00:00:01.075 Error at line 313 of dayfile.txt: Input string was not in the correct format
2017-07-26 00:00:01.075 Please edit the file to correct the error
2017-07-26 00:00:01.348 Saving monthly report as Reports/NOAAMO0717.txt
2017-07-26 00:00:01.349 Creating NOAA yearly report
2017-07-26 00:00:01.403 Error at line 297 of dayfile.txt: Input string was not in the correct format
2017-07-26 00:00:01.403 Please edit the file to correct the error
2017-07-26 00:00:01.404 Saving yearly report as Reports/NOAAYR2017.txt
2017-07-26 00:00:01.404 NOAA reports will be uploaded at next web update
2017-07-26 00:00:01.404 === Day reset complete
2017-07-26 00:00:01.404 Now recording data for day=26 month=7 year=2017
2017-07-26 00:00:01.404 Reset sunshine hours, yesterday = 0
2017-07-26 00:00:01.404 Writing yesterday.ini
2017-07-26 00:00:01.406 Written yesterday.ini
2017-07-26 00:00:01.408 Writing log entry for 26/07/2017 00:00:01
2017-07-26 00:00:01.408 Written log entry for 26/07/2017 00:00:01
2017-07-26 00:00:01.410 Writing today.ini, LastUpdateTime = 26/07/2017 00:00:01 raindaystart = 320.6 rain counter = 320.6
2017-07-26 00:00:01.413 Creating backup folder backup/daily/20170726000001/
2017-07-26 00:00:01.418 Created backup folder backup/daily/20170726000001/
2017-07-26 00:00:02.424 Uploading NOAA reports
2017-07-26 00:03:43.557 WU update:    at System.Net.WebConnection.HandleError(WebExceptionStatus st, System.Exception e, System.String where)
   at System.Net.WebConnection.ReadDone(IAsyncResult result)
2017-07-26 00:15:00.025 Writing log entry for 26/07/2017 00:15:00
2017-07-26 00:15:00.026 Written log entry for 26/07/2017 00:15:00


Ohhh a dayfile error... I am guessing that?

User avatar
steve
Cumulus Author
Posts: 26692
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: NOAA stopped working after a rebuild.

Postby steve » Wed Jul 26, 2017 7:38 pm

Yes, something amiss on lines 297 and 313 of dayfile.txt
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development since I have retired from my day job

Sadgit
Posts: 111
Joined: Sun Jan 04, 2009 5:56 pm
Weather Station: Vantage Vue
Operating System: Windows 7
Location: Middlesbrough, England

Re: NOAA stopped working after a rebuild.

Postby Sadgit » Thu Jul 27, 2017 6:39 am

ah there is actually loads of corruption in the dayfile. Thankfully found a backup from June to get the uncorrupt lines from it as there are about 15. Thanks as always Steve


Return to “Cumulus MX”

Who is online

Users browsing this forum: No registered users and 2 guests