You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tutorial on building an accesor and site archive - #275
The global accessor's documentation URL points to the UK deterministic archive, so users following the metadata are sent to the wrong dataset documentation. Use the global deterministic archive URL instead.
The README says that ~/.pyearthtoolsconfig can override these defaults, but this module never calls the imported load_root_directories_from_config (unlike site_archive_met_office). As a result, configured roots are ignored whenever this package is imported; load the config after registering the defaults.
variables is documented and registered as accepting either a string or a list, and the registered .sample() path passes a string. Keeping the string here makes filesystem() iterate over its characters, so MOGlobal10km.sample() generates one invalid S3 path per character instead of one variable path. Normalize a string to a one-element list before storing it.
Unlike MOUKV, this accessor does not reject an empty variable list. The committed test report shows test_moglobal_novar as an XPASS, so the xfail is not exercising the documented failure behavior and an empty request can proceed to an empty merge. Add the same early DataNotFoundError guard used by UKV.
variables is documented and registered as accepting either a string or a list, and the registered .sample() path passes a string. Keeping the string here makes filesystem() iterate over its characters, so MOUKV.sample() generates one invalid S3 path per character instead of one variable path. Normalize a string to a one-element list before storing it.
Correct global archive dimensions in slow-load test
The global archive output is not a UKV-sized grid: the site-archive notebook shows global data with dimensions (pressure=37, latitude=1920, longitude=2560), so running this marked-slow test will fail against the implementation's actual dataset shape (1, 37, 1920, 2560). Update the assertion to the global grid dimensions.
Notebook Python version is unsupported by project bounds
docs/notebooks/Gallery.ipynb:219
This notebook metadata now records Python 3.14.6, while the repository and the new AWS package both declare requires-python = ">=3.11, <3.14". The gallery therefore claims an execution environment that cannot install the documented project; keep the metadata on a supported Python version or update the package bounds after validating 3.14 support.
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
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.
This PR includes some tutorial notebooks and a site archive for AWS data, which can be run from anywhere.
Changes:
Getting Started
Docstrings
Test Coverage
Documentation
Final Checks:
Alternatively, if generative AI was used, then confirm you have:
Finally,