Skip to content

Connecting mb_simulator with glacier_simulator #10

@pat-schmitt

Description

@pat-schmitt

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions