Python library for building Pangeo Forge recipes.
Full Changelog: https://github.com/pangeo-forge/pangeo-forge-recipes/compare/0.9.1...0.9.2
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
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
.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
.storage_config
of type pangeo_forge_recipes.storage.StorageConfig
. https://github.com/pangeo-forge/pangeo-forge-recipes/pull/288
setup_logging
convenience function. https://github.com/pangeo-forge/pangeo-forge-recipes/pull/287
fsspec>=2021.11.1
. https://github.com/pangeo-forge/pangeo-forge-recipes/pull/247
recipe.prepare_target()
) in favor of module functions.open_input_with_fsspec_reference
option on pangeo_forge_recipes.recipes.XarrayZarrRecipe
, permitting the bypassing of h5py when opening inputs. https://github.com/pangeo-forge/pangeo-forge-recipes/pull/218.pangeo_forge_recipes.recipes.HDFReferenceRecipe
class to create virtual Zarrs from collections of
NetCDF / HDF5 files. https://github.com/pangeo-forge/pangeo-forge-recipes/pull/174
fsspec_open_kwargs
and is_opendap
parameters out of pangeo_forge_recipes.recipes.XarrayZarrRecipe
and into pangeo_forge_recipes.patterns.FilePattern
. Add query_string_secrets
as attribute of pangeo_forge_recipes.patterns.FilePattern
. https://github.com/pangeo-forge/pangeo-forge-recipes/pull/167