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

General updates, improvement, and clean up #158

Merged
merged 22 commits into from
Jan 28, 2023

Conversation

blaylockbk
Copy link
Owner

@blaylockbk blaylockbk commented Jan 16, 2023

Here are a few things that I've been meaning to do for a while.

  • Rename herbie.archive to herbie.core. (the name "archive" was starting to loose its meaning, since some models are not "archived", only available for a few days or weeks). This shouldn't impact anyone doing from herbie import Herbie
  • Moved all the FastHerbie stuff into the herbie/fast.py file.
  • Renamed the method H.read_idx() to H.inventory() because it's easier to remember. I kept the old method and added a Deprecation warning that read_idx will be removed at a future release.
  • The inventory method was also added to FastHerbie so a user can look at all the fields that would be downloaded before executing a download.
  • Improved the searchString examples for precipitation in the documentation (Search string for one hour precip fails. Lots of corner cases #156)
  • Allow the fxx argument to accept a pandas-parsable timedelta string, (e.g., "6H").
  • Fixed On Windows, Herbie can't remove subset file  #29: Just had to close the file opened with pygrib.
  • Remove the docs/_build directory because it is now built by readthedocs. (Directory is still in git history that should probably be removed if it won't ruin Herbie.)

@blaylockbk blaylockbk linked an issue Jan 16, 2023 that may be closed by this pull request
It was silly, I just needed close the file opened by pygrib.
This has been hanging over my head a long time.
@blaylockbk blaylockbk changed the title Rename read_idx method to inventory, added method to FastHerbie, and improve searchString examples. Check off things on my personal TODO list. Rename read_idx method to inventory, added method to FastHerbie, and improve searchString examples. Jan 18, 2023
@blaylockbk blaylockbk marked this pull request as ready for review January 22, 2023 06:16
@blaylockbk blaylockbk self-assigned this Jan 22, 2023
@blaylockbk blaylockbk changed the title Check off things on my personal TODO list. Rename read_idx method to inventory, added method to FastHerbie, and improve searchString examples. Updates, improvement and clean up Jan 24, 2023
@blaylockbk blaylockbk changed the title Updates, improvement and clean up General updates, improvement, and clean up Jan 28, 2023
@blaylockbk blaylockbk added this to the Next Release milestone Jan 28, 2023
@blaylockbk blaylockbk merged commit e92f723 into main Jan 28, 2023
@blaylockbk blaylockbk deleted the imporve-searchString-examples-and-discovery branch January 28, 2023 22:13
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.

Search string for one hour precip fails. Lots of corner cases On Windows, Herbie can't remove subset file
1 participant