AquaticInformatics / flowtracker2-field-data-plugin

AQTS field data plugin supporting FlowTracker2 measurement files
Apache License 2.0
0 stars 1 forks source link

Imperial discharge total is wrong (35.3x too big) #25

Closed DougSchmidt-AI closed 5 years ago

DougSchmidt-AI commented 5 years ago

The total discharge value reported by the plugin is wrong for imperial units.

The discharge value is being converted from metric m^3/s to imperial ft^3/s twice.

If the total discharge was 31.4 ft^3/s, the imported total would be 1110 ft^3/s. (Precisely 35.314666721488590250438010354003 times too big).

This line should not perform any unit conversion, since the dischargeActivity.Discharge.Value has already been converted.

This only affects measurements collected from FlowTracker2 devices configured for "English" units.

DougSchmidt-AI commented 5 years ago

Fixed by #27 in v17.4.34

DougSchmidt-AI commented 5 years ago

If you have already imported FlowTracker2 imperial measurements into your AQTS system, you will need to fix the imported discharge values.

After uninstalling the older plugin and installing the v17.3.34 plugin, your options to fix the bad data are:

image