Closed sverhoeven closed 5 months ago
At and https://github.com/phenology/springtime/blob/api-docs/docs/datasets.md https://github.com/phenology/springtime/blob/api-docs/mkdocs.yml#L17-L25 you have the grouping
But in API reference and Recipe reference it is:
Reader needs to know that insitu === Field Observations. Can we make the mental burden lighter by naming them the same?
Notebooks a primary verhicle to explain a dataset.
recipe = Path('...').read_text()
recipe
... content of recipe
run_recipe(recipe)
Pros:
Third option: move the code to the notebooks as well. That could be done with nbdev. Pros: code, tests and docs together in single source of truth. Cons: requires us to switch to the complete nbdev ecosystem which has some nice tools but also limitations.
Since #164 the datasets are documented in a hierarchy like so
There are more categories and datasets. For reference there are nested categories.
This is a spinof of the discussion in #164 especially the suggestions
from @Peter9192 in https://github.com/phenology/springtime/pull/164#issue-1798575474 and https://github.com/phenology/springtime/pull/164#issuecomment-1671285687
As a visitor of the documentation site at https://springtime.readthedocs.io/ I would like that the documentation is organized in an understandable way.
If you want me to use the YAML recipes as the primary entry point it should be easy to get examples and figure out what is possible, for example which datasets are available and what options are required and optional.
If you want me to use the Python interface as the primary entry point then the notebooks and API reference should be found easily for each dataset.