Commit 64188be6 authored by Niklas Selke's avatar Niklas Selke
Browse files

reset the default_value and out_of_bounds_value to the values before

parent 0b5f3139
Pipeline #97154 passed with stages
in 52 seconds
......@@ -20,8 +20,8 @@ class NOxEmissionsView(APIView, CommonViewsWithYear):
def __init__(self):
opts = dict(default_value=0.,
out_of_bounds_value=0.,
opts = dict(default_value=-999.,
out_of_bounds_value=-888.,
min_valid=0.,
max_valid=2.e6,
serializer=AggSerializer,
......
......@@ -17,8 +17,8 @@ class PopulationNumberView(APIView, CommonViewsWithYear):
def __init__(self):
opts = dict(default_value=0.,
out_of_bounds_value=0.,
opts = dict(default_value=-999.,
out_of_bounds_value=-888.,
min_valid=0.,
max_valid=2.e9,
serializer=AggSerializer,
......
......@@ -17,8 +17,8 @@ class StableNightlightsView(APIView, CommonViewsWithYear):
def __init__(self):
opts = dict(default_value=0.,
out_of_bounds_value=0.,
opts = dict(default_value=-99.,
out_of_bounds_value=-888.,
min_valid=0.,
max_valid=2.e6,
serializer=AggSerializer,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment