Changelog¶
Unreleased¶
Breaking Changes:
resolve_data_pathno longer accepts flat keyword arguments (project_root,local_root,storage,registry,extra_registry_dicts,extra_reader_aliases). Pass aResolverContextobject to thectxparameter instead.- The
hydro_setting.ymlconfig keylocal_data_pathhas been replaced bystorage.local.root(and optionallystorage.s3.*for cloud access).
New Features:
ResolverContextdataclass — consolidates all resolver configuration (project root, storage, registry, extra dicts, extra aliases) into a single typed object. Exported directly from the top-levelhydrodatasetpackage.Source = Literal["local", "cloud"]type alias for thesourceparameter ofresolve_data_path(defined inconfigs/data_resolver.py; import it from there, not from the top-level package).resolve_data_pathnow supports cloud (S3) resolution viasource="cloud"and aResolverContextwithstorage.s3.*configured.- New
hydrodatasetCLI (hydrodataset list|resolve|info|ids|read-ts|read-attr|config) exposing resolver, dataset inspection and data reads from the command line. - Added native
CAMELS-PEsupport viaCamelsPe, wrappingaqua_fetch.CAMELS_PE(introduced in aqua-fetch 1.1.0).
Improvements:
resolve_data_pathrefactored into focused private helpers (_load_registry,_lookup_relative_path,_resolve_local,_resolve_cloud) for better readability and testability.- Reader-alias and path-safety validation moved to
_load_registryso errors surface at load time rather than on the first path resolution call. - Upgraded
aqua-fetchdependency to>=1.1.0. - Fixed streamflow unit metadata from
mm^3/stom^3/sand corrected temperature-unit mojibake (掳C→°C) across dataset wrappers.
v0.2.5 (dev)¶
Unreleased; see the entries above for changes accumulated since the last published release.