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

Improved docstrings and some type hints. #134

Merged
merged 5 commits into from
Feb 11, 2024

Conversation

TimothyCera-NOAA
Copy link
Contributor

  • Removed markdown markup in docstrings in favor of using "--docformat numpy" for the pdoc command in create_docs.sh.
  • Used numpy format for the "Return" sections to be properly rendered by "pdoc --docformat numpy ...".
  • Removed blank lines between parameters in the "Parameters" section.
  • Added missing docstrings.
  • Minor improvements to type hints:
    • np.array to NDArray,
    • Optional[] wherever argument could be None,
    • Addition of Union where needed.

* Removed markdown markup in docstrings in favor of using "--docformat numpy" for the pdoc command in create_docs.sh.
* Used numpy format for the "Return" sections to be properly rendered by "pdoc --docformat numpy ...".
* Removed blank lines between parameters in the "Parameters" section.
* Added missing docstrings.
* Minor improvements to type hints:
  + np.array to NDArray,
  + Optional[] wherever argument could be None,
  + Addition of Union where needed.
Missed these changes when rebasing.
@EricEngle-NOAA EricEngle-NOAA merged commit 83d489a into NOAA-MDL:master Feb 11, 2024
10 checks passed
@TimothyCera-NOAA TimothyCera-NOAA deleted the to_grib2 branch May 17, 2024 18:38
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.

2 participants