AquaticInformatics / flowtracker2-field-data-plugin

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

Total Discharge Portion is sometimes invalid #38

Closed DougSchmidt-AI closed 4 years ago

DougSchmidt-AI commented 4 years ago

Some FlowTracker2 files don't actually set the Stations[i].Calculations.FractionOfTotalDischarge property, which gets treated as a double.NaN value.

The AQTS framework validation then complains with:

Total Discharge Portion must be a valid number

Allow the plugin to detect this condition and keep going.

Either set the value to 0, or try to infer the percentage when not specified.

AMES1009.FlowTracker2.ft.zip

DougSchmidt-AI commented 4 years ago

Fixed by #39 in v19.2.7