You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A possible idea would be to show the annual mass balance of the mb_simulator as a dictionary for different heights (e.g. {height_1: MB(height_1), height_2: MB(height_2)}) in a panel StaticText widget (https://panel.holoviz.org/reference/widgets/StaticText.html).
This dictionary can be copied and inserted into a panel Textinput widget (https://panel.holoviz.org/reference/widgets/TextInput.html) in the glacier_simulator. (For the conversion of string to dict one can use eval()).
And in the glacier_simulator use an interpolater (e.g. from scipy.interpolate import interp1d) together with the values of the dictionary for the definition of the mass balance curve.
The text was updated successfully, but these errors were encountered:
A possible idea would be to show the annual mass balance of the mb_simulator as a dictionary for different heights (e.g.
{height_1: MB(height_1), height_2: MB(height_2)}
) in a panelStaticText
widget (https://panel.holoviz.org/reference/widgets/StaticText.html).This dictionary can be copied and inserted into a panel
Textinput
widget (https://panel.holoviz.org/reference/widgets/TextInput.html) in the glacier_simulator. (For the conversion of string to dict one can useeval()
).And in the glacier_simulator use an interpolater (e.g.
from scipy.interpolate import interp1d
) together with the values of the dictionary for the definition of the mass balance curve.The text was updated successfully, but these errors were encountered: