eradicate-dev / poaShiny

development of Shiny front-end for PoA
GNU General Public License v3.0
0 stars 0 forks source link

Render SeU can break depending on year displayed on map and start year #10

Open sihoward opened 7 months ago

sihoward commented 7 months ago

The range of years to display on the leaflet map are chosen using the range of years in the uploaded device/grid years. This can cause a mismatch if a subset of those years are chosen using 'Start year' and 'End year', this causes a lookup of the results object to return NA and crashes the app. Also, currently the SeU values don't get updated when choosing a new year to display, so you could choose to show the SeU raster, then change year and it will keep the original SeU values until the button is pressed again.