Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nossrednaanna opened this issue Oct 28, 2023 · 0 comments
Open

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

nossrednaanna opened this issue Oct 28, 2023 · 0 comments

Comments

@nossrednaanna
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant