Skip to content

Marrmot get_value_as_xarray function only works on flux_out_Q #6

@SarahAlidoost

Description

@SarahAlidoost

Marrmot returns many variables as
('P', 'T', 'Ep', 'S(t)', 'par', 'sol_resnorm_tolerance', 'sol_resnorm_maxiter', 'flux_out_Q', 'flux_out_Ea', 'wb')

After model.update(), some variables like 'P' and 'T' are time series whereas others are one value. Therefore, the get_value_as_xarray function returns error as: cannot reshape array of size 1461 into shape (1,1).

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