I have a load of historic data that I'd like to import if possible. I've searched the forum and found various threads, some very old, some newer, but I'm still not really clear on how to approach this. The data I have is in a Meteotemplate MySQL Database. I've got 5 minute data for about the last 2 years (possibly with a few short gaps) and 1 hourly data from the late 1970's until early 2020 when I got my Davis VP2 up and running at my current location. There may be data in other formats/locations, but the MeteoTemplate database is the most complete with the data all in one place and easily accessible using SQL, so I'm looking to use that if possible. After reading a bunch of messages I'm still confused about what I need to do...
1) Some discussions say to create monthly CMX log files, some seem to say create dayfiles and some say to create both? I can create either or both from the MySQL database but I need to know which to create.
2) The monthly log filename format is MmmYY.txt. The two digit year suggests it's only possible to import data post-2000? Is that correct or would Dec90.txt be recognized as from Dec-1990?
3) After creating the required log files I believe I'd need to run CreateMissing to fill any data holes?
4) If I have to create monthly log files does it matter that some (maybe just one) has a mixture of hourly and 5-minute data?
5) I believe there's no processing of historic data to update records, e.g. highs and lows? I saw comments suggesting that this is a manual process, loading each monthly log and then cutting/pasting records into another file or files? If so, this is probably not something that I'd want to do with the best part of 500 monthly files to process. Is there any way to automate this process? I'm able to code so if there's not currently a way to do this then maybe it's something I could consider writing?
6) Is there any benefit in having 40+ years of data stored in CMX, assuming I could achieve that? I would like to have CMX feed a local MySQL database to maintain an ongoing set of weather data (as well as the MeteoTemplate database to drive my web site) so would it make more sense to load the MT data into the CMX MySQL database and not create the monthly/day CSV log files? If I only had recent data in the CMX log files could I have records in the system that pre-dated the data in the CSV log files? Does this approach have any merit or downsides?
Sorry for all the questions, but as you can see I'm a little bit confused at the moment!