metno / icewatch

IceWatch Rails Application
0 stars 0 forks source link

Temperatures as integers or floats? #16

Open alistaireverett opened 4 years ago

alistaireverett commented 4 years ago

Commit ea6760d59085b0ec0f385dea72e9a6d37270fbd0 in 2014 allowed floats for temperatures

Databases were set to up allow floats see https://github.com/metno/icewatch/blob/a2720466138c320fcac7f71480545d89a07b9a8a/db/migrate/20140921225750_create_meteorologies.rb#L10-L11

However, ASSIST still seems to limit this to integer values https://github.com/metno/icewatch/blob/a2720466138c320fcac7f71480545d89a07b9a8a/app/views/observations/meteorology/_meteorology.html.haml#L14-L15

Follow up with previous icewatch team to see if this is something we can fix or whether there was a reason for this