SINTEF / olmo

SINTEF OceanLab Observatory data handling and storage
3 stars 4 forks source link

Db change dtype #80

Closed WillRNaylor closed 2 years ago

WillRNaylor commented 2 years ago

The dtypes in the db for pi_status_munkholmen were a mix of floats and ints.

I have changed this (using the copy_measurement.py script) so they are all floats. The reason, is that we got an error with the dtypes when we switched to the methane-ingest branch. A bit odd that we got that error, and I don't fully understand it, but I assume that numbers are floats, so it could be burried in the code somewhere that I forget about.

NOTE: On this branch we do not ingest this file to the backup influx (on config.sintef_influx_pc). This is a somewhat serious problem, but harder to solve.