Currently the function map_transform_gwl only handles 1 temperature variable.
Although more than 1 can be provided, this results in multiple gwl points, which breaks the function in the updated_data section at the line:
because the length of years is shorter than the number of gwls in the data.
Workaround is to loop the map_transform_gwl function for each variable. More sophisticated implementation to handle multiple temperature variables, e.g. percentiles of warming trajectories, would be desirable.
Currently the function
map_transform_gwl
only handles 1 temperature variable. Although more than 1 can be provided, this results in multiple gwl points, which breaks the function in the updated_data section at the line:because the length of years is shorter than the number of gwls in the data.
Workaround is to loop the map_transform_gwl function for each variable. More sophisticated implementation to handle multiple temperature variables, e.g. percentiles of warming trajectories, would be desirable.