14.09.2023, 09:41
(This post was last modified: 14.09.2023, 09:56 by jobb@nordstrandsel.se.)
(14.09.2023, 07:21)admin Wrote: You can set the third argument of trends.fetch to 86400 and this will produce a single daily average value instead of multiple values. But if you also need to calculate min/max then you need to perform this calculation on the data array.
Thank you for quick reply!
But my problem is the format of the csv-file.
Now it comes like below...
2023-09-13 14:51,1,18.4
2023-09-13 14:51,3,90
2023-09-13 14:46,1,18.4
2023-09-13 14:46,3,90.08
It has to be something like this...
,,, 2023-09-13 14:46,1,18.4,,,,90,,
,,, 2023-09-13 14:51,1,18.4,,,,90,,
/Fredrik
Here comes a link to WOW, explaining how to send data...
https://wow.metoffice.gov.uk/support/dataformats
/Fredrik