On Fri, Nov 10, 2017 at 11:14 PM, Jan Helebrant <
jan.he...@gmail.com> wrote:
>
> I noticed the changes in the API some time ago including the color scale etc. Does the dose rate calculation still use this method using the CPM parameter in the LOG file:
>
>> CPM is converted to µSv/h on a per-device basis.
>>
>> For bGeigies, the conversion is CPM/350.0
>
AFAIR, it is not 350, but 334, e.g. see
https://github.com/Safecast/safecastapi/blob/7cbf30add95b9616f0a3d13087e9f9404f78279e/script/ios_query.sql#L14
> I also uploaded this sample in a LOG format here:
>
https://api.safecast.org/en-US/bgeigie_imports/32497
>
> If you compare the API and our table it is clearly visible that the API only has higher dose rate for the only one point (marked red in our table) and the maximal dose rate is much higher than ours (API says 3.53 microSv/h, we have 0.342 microSv/h). So am I right that you now calculate the "API CPM" from 5s pulses data?
>
> eg. CP5s * 12 = CPM, and then again dose rate = CPM/350
>
> (for our maximum it would be 98 * 12 = 1176, 1176/350 = 3.36 so still differs from the API)
>
And the exact code I guess is this
https://github.com/Safecast/Tilemap/blob/ca21153293c6647dc515c6798e87877d08d4b43a/bgeigie_viewer.js#L2672
> or is there more sophisticated approach? It would be useful to know this so we could implement this in next generation of the QGIS plugin too.
>
There are always more sophisticated approaches!
But probably not needed. May be think of a more elegant approach?
Cheers,
Kalin.