Error When Plotting Yesterday's Grape1-fldigi Data

21 views
Skip to first unread message

Gary Mikitin, AF8A

unread,
Apr 13, 2024, 4:10:37 PMApr 13
to hamsci-grape
Hmm.  I have the autopilot routine turned on, but it did not produce any output yesterday, 4/12 (and possible for a few days before that).

XFER stat indicates the CSV file uploaded OK.  In digging into the file WWVcronplot, I found an error in the last few lines.   I haven't modified anything...the error implies (to me, anyway) that the CSV file is wonky.  Is there a fix I can apply?

Tnx de AF8A

File /home/pi/PSWS/Srawdata/analysis240412.csv found!
Processing...
Header to check= ['#', '2024-04-12T00:00:00Z', 'N0000063', 'EN91gn', '41.55123', '-81.44588', '300', 'Mayfield Village OH', 'G1', 'WWV10']
New Header String Detected

UTCDTZ Original Header from file read = 2024-04-12T00:00:00Z

Extracted UTC_DT only = 2024-04-12

corrected UTCDTZ = 2024-04-12T000000Z
Header Decode = New
Ready to start processing records
Traceback (most recent call last):
  File "/home/pi/PSWS/Scode/WWV_plt2.py", line 303, in <module>
    Vpk.append (float(row[3])) # Get Volts peak from col 3
ValueError: could not convert string to float: ' 2024-04-12T22:17:17Z'

Gary Mikitin, AF8A

unread,
Apr 14, 2024, 7:00:10 AMApr 14
to hamsci-grape
My system recovered nicely...a plot was generated and uploaded the next day, on 4/13.

I see a hint in the /Srawdata directory...there'e a file named analysis240412.csv.bad, along with analysis240412.csv

It appears there's a way (in looking into WWV_plt2.py) to plot 'yesterday's file', perhaps from the command line?  This is my first time looking at a Python program...a brief hint would be appreciated - thanks!

de AF8A

John Gibbons

unread,
Apr 15, 2024, 8:49:55 AMApr 15
to Gary Mikitin, AF8A, hamsci-grape
Gary,

Looks like a corrupted file - reading col(3) for Vp and getting the date says something wonky with the file.

There is a prog to fix bad files - try that.

John N8OBJ


--
You received this message because you are subscribed to the Google Groups "hamsci-grape" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hamsci-grape...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hamsci-grape/ec04c310-fa54-439d-80a9-8a0edc4525can%40googlegroups.com.

John Gibbons

unread,
Apr 15, 2024, 8:51:46 AMApr 15
to Gary Mikitin, AF8A, hamsci-grape
Gary,

Classic fingerprint of a power failure and corruption of the .csv raw data file.

John

--
You received this message because you are subscribed to the Google Groups "hamsci-grape" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hamsci-grape...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages