It's coming along quite well. At this point I can...
Import WeatherDisplay data for a month into a M_WeatherCatData.cat file.
It looks exactly like the WeatherCat data file that WeatherCat produces but I have not yet tested it by moving it into the WeatherCat directory.
I can search and get all related files from Weather Display.
I still have to do the following:
Write code to go through all the files and export them into the proper directory structure. That is a structure which puts each year's files in the appropriate directory names for the year. ie. put all 2012 files in a directory called 2012.
Write the interface code so that a person can put in the input directory (where the Weather Display files are located) and the output directory (where the X_WeatherCatData.cat should be placed.)
There is also some error handling that needs to be done.
Also, it appears that Weather Display stores data in the units that the user specifies. So, for example, I use all metric units but some people may use all English units or a mixture of both. Someone may have temperature in Fahrenheit but pressure in mb rather than inches. It appears that WeatherCat always stores the metric data and if required converts it to the format the user wishes to display. So, the program would have to know the units that the user specified and do the conversion. I have not put in the code to do this as all my data is metric so I don't have test data for other formats.
One final thing. I don't know if users with different sensors (solar, uv, soil temperature) have a different file format than I do. So, if someone wants to use the program I would have to have examples of their data files to ensure that the conversion is done correctly.
I hope to be finished this week but problems can always occur. The first 90% of software development takes 90% of the time. The last 10% takes the other 90%.
It takes around 12 to 14 seconds to import a month of data on a Mid 2010 iMac 27-inch with a 2.93 GHz processor and a Hard Disk Drive.
Next week I will have a 2017 iMac 27-inch with a 3.5 GHz processor and 512 GB SSD. I suspect the time to process will drop.
Hugh