Pangeo Forge Recipes Versions Save

Python library for building Pangeo Forge recipes.

0.9.2

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/pangeo-forge/pangeo-forge-recipes/compare/0.9.1...0.9.2

0.9.1

1 year ago

0.9.0

2 years ago
  • Breaking changes: Deprecated XarrayZarrRecipe manual stage methods. Also deprecated FilePattern(..., is_opendap=True) kwarg, which is superseded by FilePattern(..., file_type="opendap"). https://github.com/pangeo-forge/pangeo-forge-recipes/pull/362
  • Added serialization module along with BaseRecipe.sha256 and FilePattern.sha256 methods. Collectively, this provides for generation of deterministic hashes for both recipe and file pattern instances. Checking these hashes against those from a prior version of the recipe can be used to determine whether or not a particular recipe instance in a Python module (which may contain arbitrary numbers of recipe instances) has changed since the last time the instances in that module were executed. The file pattern hashes are based on a merkle tree built cumulatively from all of the index:filepath pairs yielded by the pattern's self.items() method. As such, in cases where a new pattern is intended to append to an existing dataset which was built from a prior version of that pattern, the pattern hash can be used to determine the index from which to begin appending. This is demonstrated in the tests. https://github.com/pangeo-forge/pangeo-forge-recipes/pull/349
  • Created new Prefect executor which wraps the Dask executor in a single Task. This should mitigate problems related to large numbers of Prefect Tasks (https://github.com/pangeo-forge/pangeo-forge-recipes/issues/347).
  • Implemented feature to cap cached filename lengths at 255 bytes on local filesystems, to accommodate the POSIX filename length limit. Cached filename lengths are not truncated on any other filesystem. https://github.com/pangeo-forge/pangeo-forge-recipes/pull/353

0.8.3

2 years ago
  • Added .file_type attribute to pangeo_forge_recipes.patterns.FilePattern. This attribute will eventually supercede .is_opendap, which will be deprecated in 0.9.0. Until then, FilePattern(..., is_opendap=True) is supported as equivalent to FilePattern(..., file_type="opendap"). https://github.com/pangeo-forge/pangeo-forge-recipes/pull/322

0.8.2

2 years ago
  • Removed click from dependencies and removed cli entrypoint.

0.8.1

2 years ago

0.8.0

2 years ago

0.6.1

2 years ago

0.6.0

2 years ago