-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please add support for CzechRad CZRA1 header code #1034
Comments
Jan, To make the change in the code would be easy. But to get it deployed and in the app, we do not currently have anyone who is confident in doing that and who can allocate time for doing that. I would suggest making a change to use the old header till we can add your new header to the log file. Regards |
oops, the only way would be to change it in every LOG file... (probably possible with some batch script) but reuploading those 700 LOGs looks like a nightmare... |
Yes, we notice about 750 (according to Pieter). It would have been helpful if you had tested one upload only and see if that worked. BTW.. For the changing of the header in the batch file, you have to recalculate the chksum too. Regards |
I had the same issue at the beginning with the prototype data with old header so I thought you did not yet implemented it. Later, during uploading I noticed that old data is imported correctly but new not... The checksum is not problem if I load and save the LOG from QGIS. However, both data types are displayed correctly in the API. |
Jan,
For getting drives approved, you need a correct checksum.
I tried with a file you had uploaded and only changed the header string. It
did upload but could not be processed/approved due to checksum errors.
Regards
Rob
…On Thu, Sep 12, 2024 at 11:15 PM Jan Helebrant ***@***.***> wrote:
I had the same issue at the beginning with the prototype data with old
header so I thought you did not yet implemented it. Later, during uploading
I noticed that old data is imported correctly but new not...
The checksum is not problem if I load and save the LOG from QGIS. However,
both data types are displayed correctly in the API.
In addition the Tilemap is still not being updated yet so we have to wait
anyway...
—
Reply to this email directly, view it on GitHub
<#1034 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKSVNTO7KI3PQ3XLIR5V7TZWGOZJAVCNFSM6AAAAABODDZRL6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBWGQZDMMBRHA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
RadiationToolbox handles the checksum when saving the LOG file. So you recommend to manually change the newly uploaded CzechRad LOGs to "legacy" header CZRDD to temporarily solve this issue? (until properly implemented) PS: I don't think it's within my time to redo the previously uploaded files as new measurements keep pouring in... And I think it it quite important to manage the quality control. |
Jan, I will try one file and report back to you if that setup works. Please wait. Regards |
Jan, Just tested it and your idea works, see: https://api.safecast.org/en-US/bgeigie_imports/64632 |
Jan, I think you can also script a batch that can upload directly (from https://api.safecast.org): |
OK, |
Jan, Thanks for using the temporal solution. Regards |
safecastapi/app/models/bgeigie_import.rb
Line 179 in 6cf3612
First prototype units used CZRDD, current CzechRads use CZRA1, in future possibly others like CZRA2, CZRB1 - this is because in case of commercial production of CzechRads there might be device number assignment conflicts if we had only CZRDD code.
thanks
References:
https://github.com/juhele/CzechRad/tree/main/DATA
The text was updated successfully, but these errors were encountered: