diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2012-12-05 11:57:40 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-12-05 12:31:31 -0800 |
commit | a012ce05158165b4ea4e92e557a1b9be5491eb0e (patch) | |
tree | e9253ba28c833ff572d6c9dfe7bd15a89441afcc /uemis-downloader.c | |
parent | d00be63c86bae3579e9cdd5e523e09146b72dc22 (diff) | |
download | subsurface-a012ce05158165b4ea4e92e557a1b9be5491eb0e.tar.gz |
Fix saving of salinity
Several things were wrong.
- we saved it as floating point (that was stupid, given the locale issue
with that and given the fact that the precision was really artificial)
- we always saved it when set (we should only save it if the value is
different from our default of 1030g/l == salt water)
- most embarrassing - the unit we assigned was wrong. That's g/l, not
kg/l...
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'uemis-downloader.c')
0 files changed, 0 insertions, 0 deletions