v2.5.0
What's Changed
- Added a
!bool
YAML tag that converts the tagged node to a Pythonbool
object - Added
!datetime
YAML tag that converts the tagged node to a Pythondatetime
object. - Added
--schema-file
option to internal drivers to support validation using user-provided schemas. - Added
--show-schema
option to drivers to display the driver's official schema. - Added a controller key path to support coupled driver applications where subcomponents defer to a "controller" component's config block for their
execution
and/orrundir
values. - Added a driver for the
UFS_UTILS
orog
pre-processing component. - Added global-domain support to MPAS driver.
- Added a
--leadtime
argument to thechgres_cube
driver. - Added default
output()
method to Driver base class and implemented this method for UPP, which describes the driver's expected output. - Added formatting to
Copier
,Linker
, andMakeDirs
class docstrings for better API docs. - Added series of Jupyter Notebook tutorials for API tools.
- Added UW YAML for Rocoto support for mixed
<cyclestr>
and text content by extending the definition ofcompoundTimeString
. - Disambiguated the term
update_values
by renaming theConfig
methodupdate_from()
. - Corrected regex to permit use of
&&
in Rocoto XML bash commands. - Exposed
schism
andww3
drivers to CLI. - Fixed bug whereby Rocoto
streq
dependencies were invalid against Rocoto RelaxNG schema by adding validation checks. - Fixed bug whereby
uwtools.api.config.realize
would prompt users forstdin_ok=True
flag when writing out from a dictionary config object. - Improved checking for external links in documentation.
- Improved error message for unrecognized file extensions.
- Improved documentation for
make_orog
. - Improved handling of Rocoto
metataskdep
entries in UW YAML. - Moved
execute()
,graph()
, andtasks()
fromuwtools.api.driver
to a newuwtools.api.execute
, to correspond better to the CLI mode name, making it easier for users to find the API docs, and renamedexecute()
inuwtools.utils.processing
toshellcmd()
to help disambiguate the term "execute". - Provided direct access to
Config
subclasses (YAMLConfig
et al.) viauwtools.api.config
. - Relaxed the pin on jsonschema to permit the range 4.18 through 4.23, inclusive.
- Renamed
file
modefs
("filesystem"), and added support foruw fs makedirs
via CLI and API. - Updated dependency packages to latest versions.
- Updated
fv3
diag_table
to be treated as a template instead of a file path and improved logic for lateral boundary conditions. - Updated JSON Schema file names from
execution
toexecution-parallel
for better contrast with the existingexecution-serial
schema. - Updated run command for
orog_gsl
driver. - Updated
uw config compare
, fixing a bug whereby two identical.sh
files could not be compared, and revamped the output with a familiar diff syntax.
Full Changelog: v2.4.2...v2.5.0