Open byersiiasa opened 4 months ago
Can be tested using the files in here: https://iiasahub.sharepoint.com/:f:/r/sites/eceprog/Shared%20Documents/Research%20Theme%20-%20NEXUS/RIME_GEO/[rime_output_maps](https://iiasahub.sharepoint.com/:f:/r/sites/eceprog/Shared%20Documents/Research%20Theme%20-%20NEXUS/RIME_GEO/rime_output_maps?csf=1&web=1&e=VQNReN)?csf=1&web=1&e=VQNReN
something a bit like the below
from rime.rime_functions import *
ind = 'hw_99_5'
ftype = 'diff'
filename = f"{output_folder_maps}maps_multiscenario_{ind}_{ftype}.nc"
maps = xr.open_dataset(filename)
year = 2050
filename = f"{wd_GEO}/rime_output_maps/dashboard_{ind}_{ftype}_{year}.html"
plot_maps_dashboard(
maps.sel(variable=temp_variable),
filename=filename,
year=year,
cmap="magma_r",
shared_axes=True,
clim=None,
)
There seems even to be clim in the input arguments to the function but it was never implemented.
Please see pull request. Happy to discuss options for improving the current implementation.
There are two modes for this function
1) one scenario, multiple indicators 2) one indicator, multiple scenarios
If #2, it is showing the same indicator for multiple IAM scenarios. In this case the colour range, vmin, vmax etc for cmap should be the same for each plot. @mwerning - can you investigate if this can be done in hvplot? Presumably Dan had done this before