Page 1 of 1

Data Import feature importing with wrong units (Metric v. Imperial)

Posted: Mon Feb 12, 2024 9:58 pm
by monymony
Hello All,

Building out my replacement Meteobridge and tried to import data via the IMPORT FILE in 'Meteotemplate' format. My Meteotemplate file is in Imperial and my Meteobridge has the option under Station>Settings>USE IMPERIAL UNITS checked. Still when I import data, Meteobridge is treating the data is if it is in metric and not as it is in imperial units. Changing the USE IMPERIAL UNITS is not an option as the source data is still in imperial so it end up still being incorrect on import.

Is there a way to get the import to work with imperial or am I going to need to convert the units on the import to metric first.

Thanks!

Source Sample:

"2024-01-01 00:00:00",37.0,37.0,37.0,91.0,34.7,0.0,1.0,287.0,0.00,0.00,30.04,0.0,33.8
"2024-01-01 00:05:00",37.0,37.0,37.0,91.0,34.7,0.0,0.0,287.0,0.00,0.00,30.03,0.0,33.8
"2024-01-01 00:10:00",37.0,37.0,37.0,91.0,34.7,0.2,1.0,287.0,0.00,0.00,30.03,0.0,33.7
"2024-01-01 00:15:00",37.2,37.2,37.0,91.0,34.8,0.0,0.0,287.0,0.00,0.00,30.03,0.0,34.1
"2024-01-01 00:20:00",37.0,37.0,37.0,91.0,34.7,0.0,0.0,287.0,0.00,0.00,30.03,0.0,33.8
"2024-01-01 00:25:00",37.0,37.0,37.0,91.0,34.7,0.4,2.0,287.0,0.00,0.00,30.03,0.0,33.6
"2024-01-01 00:30:00",37.0,37.0,37.0,91.0,34.7,0.0,0.0,287.0,0.00,0.00,30.03,0.0,33.8
"2024-01-01 00:35:00",36.9,36.9,36.9,91.2,34.6,0.0,0.0,287.0,0.00,0.00,30.02,0.0,33.7
"2024-01-01 00:40:00",37.0,37.0,36.9,91.8,34.8,0.0,0.0,287.0,0.00,0.00,30.02,0.0,33.9
"2024-01-01 00:45:00",37.0,37.0,36.9,92.0,34.8,0.6,2.0,287.0,0.00,0.00,30.02,0.0,33.6
"2024-01-01 00:50:00",36.8,36.9,36.7,92.0,34.6,0.0,2.0,287.0,0.00,0.00,30.02,0.0,33.6
"2024-01-01 00:55:00",36.8,37.0,36.7,92.0,34.7,0.0,0.0,287.0,0.00,0.00,30.02,0.0,33.7
"2024-01-01 01:00:00",37.0,37.0,36.9,92.0,34.8,0.0,0.0,287.0,0.00,0.00,30.02,0.0,33.9
"2024-01-01 01:05:00",37.0,37.0,37.0,92.0,34.9,0.0,0.0,287.0,0.00,0.00,30.02,0.0,34.0
"2024-01-01 01:10:00",37.0,37.0,36.9,92.0,34.8,0.0,0.0,287.0,0.00,0.00,30.02,0.0,33.9
"2024-01-01 01:15:00",36.9,37.0,36.9,92.0,34.8,0.0,0.0,287.0,0.00,0.00,30.02,0.0,33.9
"2024-01-01 01:20:00",36.9,36.9,36.9,92.0,34.7,0.0,0.0,287.0,0.00,0.00,30.02,0.0,33.8
"2024-01-01 01:25:00",36.9,36.9,36.9,92.0,34.7,0.0,0.0,287.0,0.00,0.00,30.02,0.0,33.8

As imported:
mb_import_sample.png
mb_import_sample.png (263.32 KiB) Viewed 469 times

Re: Data Import feature importing with wrong units (Metric v. Imperial)

Posted: Mon Feb 12, 2024 10:00 pm
by admin
Setting "Station>Settings>USE IMPERIAL UNITS" has no impact on import function.
Can't you tell Meteotemplate to spit out data in metric units?

Re: Data Import feature importing with wrong units (Metric v. Imperial)

Posted: Mon Feb 12, 2024 10:09 pm
by monymony
Not directly as my site is configured to store everything in imperial and Meteotemplate just defaults to whatever the units in use are for exports. I will poke around and see if there is an option buried in there somewhere that won't blow up my site to temporarily override this. Otherwise I can run a conversion on the export prior to upload.