I would like to raise a new issue and that is combining historic data from 2 wunderground stations. I moved last summer about 1.5 km and, maybe naively, created a new station under wunderground. My old station IVOSSEM2 and my new station ITERVU1. This results of course in a break in my WU history and therefore in the coloured table in the Leuven template (https://weer.heerschap.net/). The quick fix I try is renaming all my old files in the cache from IVOSSEM2-year-2020.txt to ITERVU1-year-2020.txt etc and changing the my_settings.php file to ITERVU1 but having an earlier starting date to ensure earlier years are selectable. The latter does not seem to work but the data for 2020 does come up (not in the 2nd half of the year but that is as I had not changed the station name in my_settings.php after moving the station). Renaming caches files seems too simple to be true or isn't it?
kind regards Jean-Paul
It is not trivial, and it was not designed this way.
All data of the stations is in ./wudata/ in the arrays.
https://weer.heerschap.net/weather28/wudata/Backup that folder and save on your PC.
You could rename and combine those arrays => used for period data.
Rename all IVOSSEMmetric arrays to the new name.
The problem with 2020 first half year IVOSSEM and second half ITERVU1 is far more difficult. I will think how to do that.
But the detailed data / day in history can not be solved that way.
That data is dynamically loaded.
Maybe the best solution is to have one extra set of scripts for the "old" WU-ID using an override of the settings.
And the normal set of scripts for the new WU-ID
Wim