Clientrawextra problem - resolved

Last few times I’ve tried to parse clientrawextra.txt at Saratoga-Weather.org I get a problem starting around #772 and resulting in two extra fields at the end. Has anything been changed in the file or the parser?

I see, for example, in an old version of w34, that #819 was believed to be max solar:


$weather["maxsolar"] = number_format($clientrawextra[819],0 ,'','');	

. . . which is, coincidentally, where it is shown now - in my file.


Last 2 items in mine are
12:00 !!E10.37S!!

Mine are 00:00 !!E10.37S!!, as you can see, but according to the parser they should appear at #818 and #819. . .

Try this clientraw parser
www.weerstation-leuven.be/weather2/index.php?p=93-6
Same problem, two extra fields.
You should try the patsers with someone elses clientraw files and check if those also have the extra fields.

Succes,
Wim

Thanks, Wim. That also shows that the problem starts around #772, and everything after that is two fields adrift. . . :?

So it’s not a problem with the Saratoga parser :slight_smile:

@bitsostring: The problem is that your clientrawextra has an extra space after 771 (1018) and 772 (1013):

05:07 1018  1013  21:47

Because these two pressure values [yesterday max/min baro] are listed as integers, while all the others are to 1 d.p. ?

WMR200 only reports integer hPa values, but WD normally adds the decimal place, even if zero.

That could be a clue, the mystery is why your WD should be doing that :?

My WD does all sorts of strange things. . . :frowning:

Corrected in S98 update 22 June 2019 (and subsequent updates).