Skip to content

docs: improve VerticalModelResult and VerticalObservation docstrings#655

Open
ecomodeller wants to merge 1 commit into
mainfrom
docs-vertical-docstrings
Open

docs: improve VerticalModelResult and VerticalObservation docstrings#655
ecomodeller wants to merge 1 commit into
mainfrom
docs-vertical-docstrings

Conversation

@ecomodeller
Copy link
Copy Markdown
Member

@ecomodeller ecomodeller commented May 18, 2026

Brings the VerticalModelResult and VerticalObservation docstrings to parity: same wording for the long-format (time, z) input contract, same Notes block about the dfs0 repeated-timestamp convention, parallel parameter descriptions.

Switches the examples to runnable Quarto {python} blocks, matching the convention already used by Quantity, from_config, and the plotting helpers. Each class gets two examples — a long-format pandas.DataFrame and a dfs0 file from docs/data/vertical/.

Also fixes several errors in the previous VerticalModelResult docstring: wrong class name, duplicate mikeio.Dfs0 in the type list, missing mikeio.Dataset, swapped lateral/zonal wording for x/y, opaque z_item description, and a bogus "offset" option listed for keep_duplicates.

Bring both vertical-profile docstrings to parity: state the long-format
(time, z) input contract explicitly, mention the dfs0 repeated-timestamp
convention, and switch to runnable Quarto {python} examples covering both
a long-format DataFrame and a dfs0 from docs/data/vertical/.

Also fixes several errors in the previous VerticalModelResult docstring:
wrong class name, duplicate mikeio.Dfs0 in the type list, missing
mikeio.Dataset, swapped lateral/zonal wording for x/y, opaque z_item
description, and a bogus "offset" option for keep_duplicates.
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

Successfully merging this pull request may close these issues.

1 participant