pacificclimate / pdp

The PCIC Data Portal - Server software to run the entire web application
GNU General Public License v3.0
1 stars 2 forks source link

Add new routed streamflow data #169

Closed corviday closed 4 years ago

corviday commented 4 years ago

This PR adds new CMIP5 streamflow data to the Routed Streamflow Data portal. The old data is still present as an "archive" portal, accessible via a link from the new portal. The up to date portal and the archive portal have separate python backends but share a javascript frontend, as the UI considerations are the same for both datasets. The PDP determines whether it is serving archive or normal data by checking for the presence of the word "archive" in the URL it is being accessed with, which is straightforward but a little ugly.

Resolves #163

corviday commented 4 years ago

Demo: http://docker-dev02.pcic.uvic.ca:30555/hydro_stn_cmip5/map/

jameshiebert commented 4 years ago

I've read through the code and it all looks straightforward to me. I don't have any substantive feedback or constructive critique, so I'd be fine if you go ahead and merge it.