Changes That Break Backward Compatibility
Version 25.1 (unreleased)
The following changes that were introduced in version 25.1 of the tools repository
are incompatible with earlier versions:
The minimum supported version of Python is 3.11. Development of the
SalishSeaToolspackage is done using Python 3.13.The erddapy package is now a required dependency to use the
evaltoolsmodule. The recommended way to adderddapyto your activatedsalishsea-toolsenvironment is with the command conda env update -f SalishSeaTools/envs/environment-dev.yamlThe
variablesargument has been dropped from theevaltools.load_ferry_ERDDAP()andevaltools.load_ONC_node_ERDDAP()functions because custom variables selection was not fully implemented.Support for atmospheric forcing data matching has been removed from the
evaltools.matchData()function. AValueErroris now raised ifmaskName="ops".mesh_mask_pathis now a required argument for theevaltools.matchData()function. Themesh_mask_pathargument was previously calledmeshPath. Requiring a mesh mask path ensures that the user can specify the correct mesh mask for the model version that they are matching data to instead of possibly using an incorrect mesh mask by default.The
sdimargument of theevaltools.matchData()function has been changed ton_spatial_dimsto make its meaning more evident.The
preIndexedargument of theevaltools.matchData()function has been changed topre_indexedto make it consistent with Python variable naming style.The
fdictargument of theevaltools.matchData()function has been changed tomodel_file_hours_resto make its meaning more evident.The
filemapargument of theevaltools.matchData()function has been changed tomodel_var_file_typesto make its meaning more evident.The
maskNameargument of theevaltools.matchData()function has been changed tomask_nameto make it consistent with Python variable naming style.The
fastSearchargument of theevaltools.matchData()function has been changed tofast_search_index_path. Its value has changed from a boolean to at string containing the path and file name of a high-resolution lon/lat to grid index mapping to use to speed up matching; e.g."~/MEOPAR/grid/grid_from_lat_lon_mask999.nc". This ensures that the user can specify the correct index mapping for the model version that they are matching data to. If no index mapping is provided,salishsea_tools.geo_tools.find_closest_model_point()is used to calculate the model grid indices for the observation data lons/lats.
Version 24.1 (2025-01-09)
The following changes that were introduced in version 24.1 of the tools repository
are incompatible with earlier versions:
Removed docs and package stub for SalishSeaNowcast package. It was moved into its own repository in late-2016.
Removed docs and package stub for SalishSeaCmd package. It was moved into its own repository in late-2016.
Changed to CalVer versioning convention. Version identifier format is now
yy.n[.devn], whereyyis the (post-2000) year of release, andnis the number of the release within the year, starting at1. After a release has been made the value ofnis incremented by 1, and.dev0is appended to the version identifier to indicate changes that will be included in the next release.24.1.dev0is an exception to that scheme. That version identifies the period of development between the2.0and24.1releases.