-
Notifications
You must be signed in to change notification settings - Fork 29
feature: experimental gribjump source #689
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
Merged
sandorkertesz
merged 58 commits into
ecmwf:develop
from
andreas-grafberger:feature/gribjump
Sep 24, 2025
Merged
Changes from all commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
545e65d
wip: first rough draft of a GribJumpSource
andreas-grafberger 134086f
wip: experimental tests for easier development
andreas-grafberger bb467a2
format changes using pre-commit hooks and fix small bug
andreas-grafberger 47d0f05
add prototype for the GribJumpSource based on SimpleFieldList
andreas-grafberger 824421c
tests: add a few more simple tests and add NO_GRIBJUMP flag for pytest
andreas-grafberger 5d2bb85
tidy: small cleanup, improve variable naming and fix type hints
andreas-grafberger 6fab49d
Merge branch 'develop' into feature/gribjump
andreas-grafberger 8a4fe31
use original type in request dictionaries to make .sel more intuitive
andreas-grafberger ee15824
Merge remote-tracking branch 'origin/develop' into feature/gribjump
andreas-grafberger 86249d8
use SimpleFieldList.to_xarray method for GribJumpSource.
andreas-grafberger 2f8c1b0
assign grid index to each value in to_xarray
andreas-grafberger 0f34de5
Merge branch 'develop' into feature/gribjump
andreas-grafberger e274ae7
tidy: add some more error handling and improve tests
andreas-grafberger 711da54
refactor: introduce ExtractionRequest wrapper that combines pygribjum…
andreas-grafberger 9c31181
feat(test): modify (now failing) test to expect latitude and longitud…
andreas-grafberger 162877d
feat: wip: allow reference lat/lons to be loaded from an fdb referenc…
andreas-grafberger 08194b2
refactor: move hardcoded test fixtures into pytest fixtures
andreas-grafberger 941269a
test: add failing test showing bug with geography for gridded extracts
andreas-grafberger 1016cef
docs: add notebook draft with example usage of gribjump source
andreas-grafberger f660a11
tidy: move validation that extract request share the same ranges
andreas-grafberger 617cb4e
docs: add documentation for gribjump source
andreas-grafberger 767f2a6
docs: small fixes of markdown syntax
andreas-grafberger 5e6e475
feat: wip experiment to verify gridspec of reference field
andreas-grafberger e477a6f
fix: force flattened array in xarray dataset creation
andreas-grafberger 305b251
Merge remote-tracking branch 'origin/develop' into feature/gribjump
andreas-grafberger bc4ffc4
refactor: tidy up the metadata enrichment a bit
andreas-grafberger f8f4630
refactor: create ExtractionRequestCollection
andreas-grafberger 7b1548e
refactor: use FDBRetriever to load reference metadata
andreas-grafberger 90a6d6e
docs: add example for masks and indices to notebook
andreas-grafberger de5a8fc
feat: enforce that masks are 1D boolean arrays
andreas-grafberger e5447d4
refactor: simplify by condensing request splitting utilities into one…
andreas-grafberger c0b8a3a
feat: remove verifiation functionality for now, to be added later
andreas-grafberger 3821bb3
tidy: small renamings and docstrings
andreas-grafberger ab3a831
tidy: comments
andreas-grafberger 5f80b6d
fix: type hint and name
andreas-grafberger 741dbe5
feat: convert masks to ranges once for significant speedups
andreas-grafberger 3e803de
test: add another test for mask_to_ranges
andreas-grafberger 82b5577
tidy: small comment/docstring changes
andreas-grafberger 7e398f4
tidy: make warning about missing validation in docs more explicit
andreas-grafberger 7eb1dac
docs: improve wording of warning
andreas-grafberger 1d543c8
Merge remote-tracking branch 'origin/develop' into feature/gribjump
andreas-grafberger e373e14
fix: allow fdb and gribjump to be configured via FDB5_CONFIG and GRIB…
andreas-grafberger 90b1f95
chore: update docstring
andreas-grafberger d6b506a
feat: pass log context to gribjump
andreas-grafberger a806a71
refactor: simplify gribjump log context
andreas-grafberger 23afbfc
test: add t_gribjump.grib test data with expver xxxx
andreas-grafberger 91f3f3e
Merge remote-tracking branch 'origin/develop' into feature/gribjump
andreas-grafberger 8203df0
add pygribjump as an optional dependency
andreas-grafberger e158e2b
Merge remote-tracking branch 'origin/develop' into feature/gribjump
andreas-grafberger 85d9513
docs: clarify gribjump install instructions and dependency handling
andreas-grafberger e3a68d4
docs: move warning before parameters section
andreas-grafberger c03c3ee
docs: clarify parameter description and types
andreas-grafberger 972b97b
add pyfdb as a gribjump group dependency and update docs
andreas-grafberger 8d031d3
last docs and typo fixes
andreas-grafberger be5269f
Merge remote-tracking branch 'origin/develop' into feature/gribjump
andreas-grafberger f2c5f0e
docs: change notebook to also set FDB_HOME
andreas-grafberger 88bca26
docs: reference gribjump example notebook in missing locations
andreas-grafberger c5fa528
Merge remote-tracking branch 'origin/develop' into feature/gribjump
andreas-grafberger File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -30,6 +30,7 @@ Data sources | |
| polytope_feature.ipynb | ||
| s3.ipynb | ||
| wekeo.ipynb | ||
| gribjump.ipynb | ||
|
|
||
| GRIB | ||
| ++++++ | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.