JGCRI / hectorui

A web-based interactive scenario builder and visualization application for the Hector climate model
https://jgcri.github.io/hectorui
GNU General Public License v3.0
5 stars 3 forks source link

Additional RCPs don't load correctly when parameters are changed #54

Closed ciara-donegan closed 5 months ago

ciara-donegan commented 2 years ago

When a parameter is changed, the plot is reloaded, and then additional RCPs are selected, the additional RCPs load as if the parameter has not been changed. Clicking "Load Graphs" again makes it appear as intended.

Example: CO2 fertilization factor was increased, the plot was reloaded, then additional RCPs were selected: pre reload

Then "Load Graphs" is clicked and the plot looks how it's supposed to: post reload

stephpenn1 commented 1 year ago

when a new RCP is selected, it loads with the default parameters and not with what the user selected, need to make sure the order of user selection doesn't matter