-
0.2.1e776dc18 · ·
Added erddap persistent volume to the helm chart so the api can get hold of the individual activity grids to build dynamic downloads. Also upgraded flask to 2.0.1 to get past the error shown below that occurred during startup - the solution was on the stackoverflow: https://stackoverflow.com/questions/71189819/python-docker-importerror-cannot-import-name-json-from-itsdangerous The error was: ImportError: cannot import name 'json' from 'itsdangerous' (/usr/local/lib/python3.9/site-packages/itsdangerous/__init__.py)
-
0.2.025f34e8e · ·
The download endpoint now provides a netcdf file download for a pollutant. The download for a pollutant is either taken from pre-prepared data or generated dynamically. Pre-prepared data is used when a user requests a download for either Total Emissions or for a Snap Sector. A dynamic download is prepared using raw Ricardo activity grids and emission factors when the user requests data that includes sub-Snap-Sector options - which is currently only for Road Transport (things like vehicle type and driving activity type). Additional endpoints have been added to provide data to dropdowns on initialisation. This allows easy changing of data as new pollutants and snap sectors are added.
-
0.1.124bcf023e · ·
Point source endpoint added that supports the web-app's leaflet-marker-clustering (https://jira.ceh.ac.uk/browse/DUKEMS-165). When a user clicks a placemarker underlying a marker-cluster on the map, a request for point source data from the api is used to populate the popup that opens.