Skip to content
Snippets Groups Projects
Commit 48949568 authored by Christoffer Stoll's avatar Christoffer Stoll
Browse files

issue #33: set -9900 to null

parent 05dc2e37
No related branches found
No related tags found
1 merge request!14new version - various bug fixes
...@@ -26,7 +26,7 @@ def timevalues(): ...@@ -26,7 +26,7 @@ def timevalues():
o.sampling_point_id as "sampling_point_id", o.sampling_point_id as "sampling_point_id",
o.validation_flag, o.validation_flag,
o.verification_flag, o.verification_flag,
o.value::double PRECISION case when o.value = -9900 then null else o.value::double PRECISION end as "value"
FROM observations o FROM observations o
WHERE 1=1 WHERE 1=1
AND o.from_time >= %(from_dt)s AND o.from_time >= %(from_dt)s
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment