v2.3.0
What's Changed
- Added drivers for components
esg_grid
,global_equiv_resol
,make_hgrid
,make_solo_mosaic
,shave
, andupp
. - Added documentation for the
jedi
driver. - Added a
--key-path
argument touw config realize
that supports selection of an arbitrary subtree of the input config for output. - Added a
--key-path
argument to all drivers that supports selection of an arbitrary subtree to be used to configure the component. - Added optional
--cycle
and--leadtime
flags touw file copy
anduw file link
. User-supplied values are made available as Pythondatetime
andtimedelta
objects, respectively, to Jinja2 expressions in the input config. - Added final validation of namelist files created by drivers (including those provided by users and taken as-is), against their
uwtools
-internal schemas. - Added an
env
Jinja2 filter to make environment-variable values available to Jinja2 expressions in configs and templates. - Updated
uw config realize
, replacing positional supplemental-file positional arguments with a single--update-file
and--update-format
option pair, allowing use of arbitrarily named value-providing files, and provision of either the primary input or update values (but not both concurrently) onstdin
. - Updated
uw rocoto realize
, replacing the--input-file
option with--config-file
, for consistency with other parts of the CLI. - Updated driver schemas to make the
namelist:
config item required for drivers that create namelist files. - Updated the
--values-needed
option ofuw config realize
to no longer report "empty" values, which is not a concept compatible with supported config formats (e.g. an empty YAML value is treated asnull
, and empty INI value is treated as an empty string). - Fixed a bug whereby
file copy
did not correctly create all parent directories needed by a destination file. - Fixed a bug whereby use of
datetime.UTC
would fail for Python < 3.12.
Full Changelog: v2.2.0...v2.3.0