Import database

Post Reply
Saszalez
Observer
Observer
Posts: 17
Joined: Thu Feb 24, 2022 1:51 pm
Station model: Davis Vantage Pro 2
Software: WeatherLink

Import database

Post by Saszalez » Mon Mar 07, 2022 11:41 am

Hello. I have a significant station history that I would like to import into the template. The recordings are every 10 minutes. I did a test to see if I could import the data from the .txt file that WL generates. My question comes about the temperature data since WL saves the average temperature, the maximum temperature, and the minimum temperature every 10 minutes. When selecting the import, I only have to choose which is the temperature column, and it fills the database putting the average temperature to the maximum temperature and the minimum temperature. Since those two columns exist, is there any possibility of choosing in the script which are the maximum and minimum temperature columns to be able to complete the database with greater precision?
Image

davidefa
Expert
Expert
Posts: 862
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: Import database

Post by davidefa » Mon Mar 07, 2022 10:37 pm

You can try this mod ( not fully tested ), unzip it in admin directory.
If it does not work, please post the data to import ( or at least a part of it )
Attachments
importFiles_1.2.zip
(18.39 KiB) Downloaded 44 times
Image

Saszalez
Observer
Observer
Posts: 17
Joined: Thu Feb 24, 2022 1:51 pm
Station model: Davis Vantage Pro 2
Software: WeatherLink

Re: Import database

Post by Saszalez » Tue Mar 08, 2022 3:37 pm

Thanks, it worked perfectly for me; even the wind direction, which the data logger exports in letter format, did the conversion to degrees correctly.
Image

Post Reply