Skip to content
Snippets Groups Projects
Commit c2320b19 authored by lukas leufen's avatar lukas leufen
Browse files

Merge branch 'lukas_issue004_feat_new-app-stable-night-lights' into 'develop'

added todos

See merge request toar/toar-location-services!7
parents b873be7a 89f57eac
No related branches found
No related tags found
2 merge requests!8New App wheat production,!7added todos
......@@ -10,6 +10,7 @@ from rest_framework.serializers import BaseSerializer
def get_provenance(obj):
"""construct provenance information on stable night lights dataset"""
# TODO: complete provenancen information
prov = OrderedDict([
('dataset_name', 'night time lights'),
('dataset_description', 'Year 2013 Nighttime lights brightness values from NOAA DMSP. Resolution? Morde '
......@@ -39,6 +40,7 @@ class AggSerializer(BaseSerializer):
vlength = len(val)
except TypeError:
vlength = 1
# TODO: check units
if vlength > 1:
properties = OrderedDict([
('agg_function', agg_function),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment