Skip to content

Error in parsing script if [STORAGE] field is FUNCTIONAL  #207

@nossrednaanna

Description

@nossrednaanna

The [STORAGE] field is read to a pd.dataframe and the with a fixed number of columns that has the right dimensions when the shape parameter is TABULAR. The shape parameter can also be FUNCTIONAL the following field is then a list of parameters, the parsing script treats each parameter value and gets a different number of columns, bellow is an example from the .inp file from the published bellinge dataset ( https://essd.copernicus.org/articles/13/4779/2021/ ) :

[STORAGE]
;;Name Elev. MaxDepth InitDepth Shape Curve Name/Params N/A Fevap Psi Ksat IMD
;;-------------- -------- ---------- ----------- ---------- ---------------------------- -------- -------- -------- --------
G71F04R 12.74 7.27 0 TABULAR G71F04R_geo 0 0
G71F05R 13.74 8.31 0 TABULAR G71F05_geo 0 0
G71F05R_skyl 13.84 8.21 0 TABULAR G71F05R_skyl_geo 0 0
G71F090 17.019 3.02 0 TABULAR G71F090_geo 0 0
G71F68Y 10.84 6.66 0 TABULAR G71F68Y_geo 0 0
G72R33B 25.1 1.9 0 TABULAR G72R33B 0 0
G72R70B 23.919 3.331 0 TABULAR G72R70B_DTM 0 0
G72R83B 28.7 5.3 0 TABULAR G72R83Bbas 0 0
G72R84B 28.18 3.82 0 TABULAR G72R84Bbas 0 0
G80F11B 34.86 2.46 0 TABULAR G80F11B 0 0
G80F13P 33.019 4.3 0 TABULAR G80F13P_geo 0 0
G71R050 10.35 3.65 0 FUNCTIONAL 0 0 19.63 0 0
G72R34R 30.07 2.05 0 FUNCTIONAL 0 0 7.07 0 0
G71F320 12.46 3.64 0 FUNCTIONAL 0 0 3.98 0 0
G72R520 30.08 5.2 0 FUNCTIONAL 0 0 3.14 0 0
G80F66Y 34.169 3.231 0 TABULAR G80F66Ybas 0 0

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