Skip to content
Snippets Groups Projects
Commit ebf15e44 authored by Clemens Berteld's avatar Clemens Berteld
Browse files

Adjusted annualMean() to use no interpolated data

parent f891ac08
No related branches found
No related tags found
No related merge requests found
......@@ -88,7 +88,7 @@ def getStandardQuery():
query = sql.SQL("SELECT array_to_json(array_agg(row_to_json(t))) from ("
"SELECT station_id, {} FROM stations "
"WHERE lon IS NOT NULL " # Unnecessary filter, just so the real filters can always be written with AND
"WHERE file IS NOT NULL "
"{} "
") t;").format(columns, wheres)
......@@ -122,6 +122,7 @@ def get_raster():
return send_from_directory(path, filename=filename, as_attachment=True)
# return 'Läuft, Brudi'
@app.route('/annualMean', methods=['GET'])
@cross_origin()
def annualMean():
......
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