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

Downloading grids during runtime & updating available grids #4397

Open
snowman2 opened this issue Feb 12, 2025 · 1 comment
Open

Downloading grids during runtime & updating available grids #4397

snowman2 opened this issue Feb 12, 2025 · 1 comment

Comments

@snowman2
Copy link
Contributor

From: pyproj4/pyproj#1474

Each context has a cache of available grids it generates once and doesn't look for grids after that for performance. However, some programs download grids during runtime. Having a way to update the cache or clear it would help with this use case.

Ideas:

  • Add proj_reset_found_grids to invalidate cache or for a specific grid.
  • Haveproj_download_file invalidate the cache or for a specific grid.
@snowman2
Copy link
Contributor Author

The first option would be helpful for programs that have an alternative method to download the grid files. pyproj currently uses a python function to download the file.

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