WHOIGit / PhytO-ARM

PhytO-ARM: Phytoplankton Observing for Automated Real-time Management
https://hablab.whoi.edu/phyto-arm/
GNU General Public License v3.0
0 stars 0 forks source link

config validation should allow float type default values for lat/lon #36

Closed mbrosnahan closed 7 months ago

mbrosnahan commented 8 months ago

Currently only accepts int type

rgov commented 8 months ago

It works by looking at the types in the example config.

https://github.com/WHOIGit/PhytO-ARM/blob/d7f493fc8f0bad54a2f68c0af40bf4ada0a84d06/configs/example.yaml#L136-L144

You could update these defaults to -99999.99 or something and then it will accept floats.

mbrosnahan commented 7 months ago

Addition of a decimal point to example.yaml did the trick.