Natcap.invest

Latest version: v3.14.2

Safety actively analyzes 688568 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 11

3.14.2

-------------------
* General
* Validation now covers file paths contained in CSVs. CSV validation
will fail if the files listed in a CSV fail to validate.
https://github.com/natcap/invest/issues/327
* We have updated validation in several ways that will improve the
developer experience of working with InVEST models, and we hope will also
improve the user experience:

* Symbols in conditional requirement expressions now represent the values
of parameters instead of whether the value of the parameter is
sufficient. If a symbol is not present in ``args`` as a key, the
symbol will have a value of ``False``. This allows for value-based
comparisons, which is useful in models that have overlapping modes of
operation. https://github.com/natcap/invest/issues/1509
* Vector fields, CSV rows/columns and the 1st level of directory
contents may now all be conditionally required based on a python
expression.
* Under certain circumstances, validation may return more warnings than
before. This specifically applies to model inputs that have conditional
requirement expressions where their expression evaluates to ``False``,
and the user has provided a value for this parameter. Previous
versions of InVEST would skip these parameters' type-specific
validation. Now, these parameters will be validated with their
type-specific validation checks.
* Add support for latest GDAL versions; remove test-specific constraint on
GDAL versions from invest requirements.
https://github.com/natcap/invest/issues/916
* Updated to Cython 3 (https://github.com/natcap/invest/issues/556)
* Annual Water Yield
* Added the results_suffix to a few intermediate files where it was
missing. https://github.com/natcap/invest/issues/1517
* Coastal Blue Carbon
* Updated model validation to prevent the case where a user provides only
one snapshot year and no analysis year
(`1534 <https://github.com/natcap/invest/issues/1534>`_).
Also enforces that the analysis year, if provided, is greater than the
latest snapshot year. An analysis year equal to the latest snapshot year
is no longer allowed.
* Coastal Vulnerability
* Fixed a bug in handling ``nan`` as the nodata value of the bathymetry
raster. ``nan`` pixels will now be propertly ignored before calculating
mean depths along fetch rays.
https://github.com/natcap/invest/issues/1528
* HRA
* Fixed a bug where habitat and stressor vectors were not being rasterized
with the `ALL_TOUCHED=TRUE` setting.
* Scenic Quality
* Fixed an issue with viewshed calculations where some slight numerical
error was introduced on M1 Macs, but not on x86-based computers. This
numerical error was leading to slightly different visibility results.
https://github.com/natcap/invest/issues/1562
* SDR
* Fixed an issue encountered in the sediment deposition function where
rasters with more than 2^32 pixels would raise a cryptic error relating
to negative dimensions. https://github.com/natcap/invest/issues/1431
* Optimized the creation of the summary vector by minimizing the number of
times the target vector needs to be rasterized.
* Seasonal Water Yield
* Fixed an issue with the precip directory units. Units for these input
rasters are now correctly stated as mm/month.
https://github.com/natcap/invest/issues/1571
* Fixed an issue where the monthly quickflow values were being summed over
a block area and not summed pixelwise. This caused the quickflow
output ``QF.tif`` to have malformed values.
https://github.com/natcap/invest/issues/1541
* Wind Energy
* Fixed a bug where some number inputs were not being properly cast to
``float`` or ``int`` types. If the inputs happened to be passed as
a ``str`` this caused unintended side effects such as a concatenation
error. (https://github.com/natcap/invest/issues/1498)
* Urban Nature Access
* Fixed a ``NameError`` that occurred when running the model using
search radii defined per population group with an exponential search
kernel. https://github.com/natcap/invest/issues/1502
* Fixed an issue where Urban Nature Access would crash if an administrative
boundary geometry did not overlap any people in the population raster.
https://github.com/natcap/invest/issues/1503
* Fixed an issue where validation was failing to catch missing values in
the uniform search radius args key when using uniform search radii.
https://github.com/natcap/invest/issues/1509
* Fixed an issue where the output administrative units vector's
``Pund_adm`` and ``Povr_adm`` fields representing undersupplied and
oversupplied populations, respectively, had values of 0 when running the
model with search radii defined per population group. The output
administrative units vector now has the correct values for these fields,
consistent with the user's guide chapter.
https://github.com/natcap/invest/issues/1512
* Fixed an issue where certain nodata values were not being handled
correctly, leading to pixel values of +/- infinity in the urban nature
balance output raster. https://github.com/natcap/invest/issues/1519
* Fixed an issue where an LULC raster without a nodata value would
always raise in exception during reclassification.
https://github.com/natcap/invest/issues/1539

3.14.1

-------------------
* General
* In advance of the numpy 2.0 release, function calls to ``numpy.product``
have been replaced with ``numpy.prod``.
https://github.com/natcap/invest/issues/1410
* Add support for python 3.11 (`1103 <https://github.com/natcap/invest/issues/1103>`_)
* Adding a docker container that is built on each commit where a change to
model code, requirements, or the docker configuration has been made.
https://github.com/natcap/invest/issues/1115
* Vector geometry types will now be validated for all models
(`1374 <https://github.com/natcap/invest/issues/1374>`_)
* Datastack archives will now be correctly extracted
(`1308 <https://github.com/natcap/invest/issues/1308>`_)
* Validation of tables has been improved and standardized, which should
result in more readable validation errors.
(`1379 <https://github.com/natcap/invest/issues/1379>`_)
* Updated to ``pygeoprocessing`` 2.4.2. This includes an update to
``pygeoprocessing.zonal_statistics``, which is now more correct on certain
edge cases. Aggregated model results may change slightly.
* Removed the ``utils`` functions ``array_equals_nodata``,
``exponential_decay_kernel_raster``, and ``gaussian_decay_kernel_raster``,
which were obsoleted by new ``pygeoprocessing`` features.
* Version metadata at import time is now fetched with
``importlib.metadata`` instead of ``pkg_resources``.
(`1442 <https://github.com/natcap/invest/issues/1442>`_)
* The API docs logo has been updated to use the latest version of the
InVEST logo. (`1463 <https://github.com/natcap/invest/issues/1463>`_)
* Workbench
* Fixed a broken "Find my logfiles" button on MacOS.
https://github.com/natcap/invest/issues/1452
* Coastal Vulnerability
* Fixed a bug where the model would crash when processing a float type
bathymetry raster with no nodata value.
https://github.com/natcap/invest/issues/992
* Habitat Quality
* Updated the threat table column description to clarify that the threat
table columns: ``cur_path``, ``fut_path``, and ``base_path`` are meant
to be file system path strings.
https://github.com/natcap/invest/issues/1455
* HRA
* Fixed an issue preventing the HRA criteria table from loading when the
table was UTF-8 encoded with a Byte-Order Marker.
https://github.com/natcap/invest/issues/1460
* Fixed an issue with the cross-OS loading of InVEST datastack files.
https://github.com/natcap/invest/issues/1065
* Fixed an issue where habitats and stressors in the criteria table were
not being lowercased causing a comparison issue against values from the
info table that were being lowercased.
https://github.com/natcap/invest/issues/1467
* NDR
* Fixing an issue where minor geometric issues in the watersheds input
(such as a ring self-intersection) would raise an error in the model.
https://github.com/natcap/invest/issues/1412
* Fixed a task dependency issue where NDR would crash because of a race
condition when run with ``n_workers > 0``.
https://github.com/natcap/invest/issues/1426
* Fixed an issue in NDR's effective retention where, on rasters with more
than 2^31 pixels, the model would crash with an error relating to a
negative (overflowed) index. https://github.com/natcap/invest/issues/1431
* Pollination
* Fixed a regression where nodata values were not being properly compared.
This was only an issue in some development builds after 3.14.0.
(`1458 <https://github.com/natcap/invest/issues/1458>`_)
* Replaced custom kernel implementation with ``pygeoprocessing.kernels``.
Convolution results may be slightly different (more accurate).
* SDR
* Fixed an issue with SDR's sediment deposition where large regions would
become nodata in cases where the DEM has valid data but other inputs
(LULC, erosivity, erodibility) did not have valid pixels. Now, all
raster inputs are mutually masked so that only those pixel stacks
continue through to the model where all pixels in the stack are
non-nodata. (`911 <https://github.com/natcap/invest/issues/911>`_)
* RKLS, USLE, avoided erosion, and avoided export rasters will now have
nodata in streams (`1415 <https://github.com/natcap/invest/issues/1415>`_)
* Fixed an issue in SDR's sediment deposition where, on rasters with more
than 2^31 pixels, the model would crash with an error relating to a
negative (overflowed) index. https://github.com/natcap/invest/issues/1431
* Seasonal Water Yield
* Fixed an issue in Seasonal Water Yield's baseflow routing and local
recharge functions where, on rasters with more than 2^31 pixels, the
model would crash with an error relating to a negative (overflowed)
index. https://github.com/natcap/invest/issues/1431
* Urban Cooling
* Fixed a bug where model would error out if any feature in the buildings
vector was missing a geometry; now they will be skipped
(`1401 <https://github.com/natcap/invest/issues/1401>`_)
* Wind Energy
* Fixed a bug where model would error when the grid points path was empty
(`1417 <https://github.com/natcap/invest/issues/1417>`_)

3.14.0

-------------------
* General
* Fixed a bug in the CLI where ``invest getspec --json`` failed on
non-json-serializable objects such as ``pint.Unit``.
https://github.com/natcap/invest/issues/1280
* A new directory at `./doc/decision-records` has been created for
"Architecture/Any Decision Records", which will serve as a record of
nontrivial decisions that were made to InVEST and why. This is
intended for reference by our science and software teams, and also by
the community at large when inquiring about a nontrivial change.
https://github.com/natcap/invest/issues/1079
* Updated the package installation instructions in the API docs for clarity
and also to highlight the ease of installation through ``conda-forge``.
https://github.com/natcap/invest/issues/1256
* ``utils.build_lookup_from_csv`` has been deprecated and its functionality
has been merged into ``utils.read_csv_to_dataframe``
(`1319 <https://github.com/natcap/invest/issues/1319>`_),
(`1327 <https://github.com/natcap/invest/issues/1327>`_)
* Standardized on keeping the ``execute`` and ``validate`` functions
orthogonal. Now no models call ``validate`` from ``execute``. This
affected AWY, CV, UFRM, Wave Energy, and Wind Energy.
(`1373 <https://github.com/natcap/invest/issues/1373>`_)
* Improved the validation message that is returned when not all spatial
inputs overlap (`502 <https://github.com/natcap/invest/issues/502>`_)
* Standardized the name and location of the taskgraph cache directory for
all models. It is now called ``taskgraph_cache`` and located in the top
level of the workspace directory.
(`1230 <https://github.com/natcap/invest/issues/1230>`_)
* InVEST is now distributed under the Apache 2.0 License.
* Workbench
* Fixed a bug where sampledata downloads failed silently (and progress bar
became innacurate) if the Workbench did not have write permission to
the download location. https://github.com/natcap/invest/issues/1070
* The workbench app is now distributed with a valid code signature
(`727 <https://github.com/natcap/invest/issues/727>`_)
* Changing the language setting will now cause the app to relaunch
(`1168 <https://github.com/natcap/invest/issues/1168>`_)
* Closing the main window will now close any user's guide windows that are
open. Fixed a bug where the app could not be reopened after closing.
(`1258 <https://github.com/natcap/invest/issues/1258>`_)
* Fixed a bug where invalid metadata for a recent run would result
in an uncaught exception.
(`1286 <https://github.com/natcap/invest/issues/1286>`_)
* Middle clicking an InVEST model tab was opening a blank window. Now
middle clicking will close that tab as expected.
(`1261 <https://github.com/natcap/invest/issues/1261>`_)
* Updated InVEST logo to use new version with registered trademark symbol.
(`InVEST TM and Logo Use Policy
<https://naturalcapitalproject.stanford.edu/invest-trademark-and-logo-use-policy>`_)
* InVEST is licensed using a permissive open source license. But we have
decided to add back the license and agreement step to the installer to
be upfront and explicit about how InVEST is licensed.
* Coastal Blue Carbon
* Added validation for the transition table, raising a validation error if
unexpected values are encountered.
(`729 <https://github.com/natcap/invest/issues/729>`_)
* Forest Carbon
* The biophysical table is now case-insensitive.
* HRA
* Fixed a bug in HRA where the model would error when all exposure and
consequence criteria were skipped for a single habitat. The model now
correctly handles this case. https://github.com/natcap/invest/issues/1250
* Tables in the .xls format are no longer supported. This format was
deprecated by ``pandas``.
(`1271 <https://github.com/natcap/invest/issues/1271>`_)
* Fixed a bug where vector inputs could be rasterized onto a grid that is
not exactly aligned with other raster inputs.
(`1312 <https://github.com/natcap/invest/issues/1312>`_)
* Dropped support for Excel (.xlsx) files
(`1391 <https://github.com/natcap/invest/issues/1391>`_)
* NDR
* The contents of the output ``cache_dir`` have been consolidated into
``intermediate_outputs``.
* Fixed a bug where results were calculated incorrectly if the runoff proxy
raster (or the DEM or LULC) had no nodata value
(`1005 <https://github.com/natcap/invest/issues/1005>`_)
* Pollination
* Several exceptions have been tidied up so that only fieldnames are
printed instead of the python data structures representing the whole
table. https://github.com/natcap/invest/issues/1283
* RouteDEM
* RouteDEM now allows the user to calculate Strahler Stream Orders, which
will be written to a new vector in the user's workspace. This stream
order vector is dependent on the user's Threshold Flow Accumulation value
and is only available for the D8 routing model.
https://github.com/natcap/invest/issues/884
* RouteDEM now allows the user to create a vector of subwatersheds, which
are written to a new vector in the user's workspace. This vector is
dependent on the calculation of Strahler Stream Orders and is only
available for the D8 routing model. https://github.com/natcap/invest/issues/349
* Scenic Quality
* The Scenic Quality model will now raise an error when it encounters a
geometry that is not a simple Point. This is in line with the user's
guide chapter. https://github.com/natcap/invest/issues/1245
* The Scenic Quality model now supports both uppercase and lowercase
fieldnames. Leading and trailing spaces are now also stripped for the
user's convenience. https://github.com/natcap/invest/issues/1276
* SDR
* Fixed an issue with sediment deposition progress logging that was
causing the "percent complete" indicator to not progress linearly.
https://github.com/natcap/invest/issues/1262
* The contents of the output ``churn_dir_not_for_humans`` have been
consolidated into ``intermediate_outputs``.
* We implemented two major functional changes to the InVEST LS Factor
that significantly affect most outputs of SDR and will bring the LS
factor output more in line with the outputs of SAGA-GIS's LS Factor.
A discussion of differences between these two implementations can be
viewed at https://github.com/natcap/invest/tree/main/doc/decision-records/ADR-0001-Update-SDR-LS-Factor.md.
The two specific changes implemented are:

* The LS Factor's on-pixel aspect length is now calculated as
``abs(sin(slope)) + abs(cos(slope))``.
* The LS Factor's upstream contributing area is now calculated as
an estimate for the specific catchment area, calculated by
``sqrt(n_pixels_upstream * pixel_area)``.
* Seasonal Water Yield
* Fixed a bug where monthy quickflow nodata pixels were not being passed
on to the total quickflow raster, which could result in negative values
on the edges (`1105 <https://github.com/natcap/invest/issues/1105>`_)
* Removed the GDAL cache size limit on this model, which means that, by
default, the model will use up to 5% of installed memory.
https://github.com/natcap/invest/issues/1320
* Monthly quick flow nodata values will now be preserved instead of being
set to 0. The old behavior was not well documented and caused some
confusion when nodata pixels did not line up. It's safer not to fill in
unknown data. (`1317 <https://github.com/natcap/invest/issues/1317>`_)
* Negative monthly quickflow values will now be set to 0. This is because
very small negative values occasionally result from valid data, but they
should be interpreted as 0.
(`1318 <https://github.com/natcap/invest/issues/1318>`_)
* In the monthly quickflow calculation, QF_im will be set to 0 on any pixel
where s_i / a_im > 100. This is done to avoid overflow errors when
calculating edge cases where the result would round down to 0 anyway.
(`1318 <https://github.com/natcap/invest/issues/1318>`_)
* The contents of the output ``cache_dir`` have been consolidated into
``intermediate_outputs``.
* Urban Flood Risk
* Fixed a bug where the model incorrectly raised an error if the
biophysical table contained a row of all 0s.
(`1123 <https://github.com/natcap/invest/issues/1123>`_)
* The contents of the output ``temp_working_dir_not_for_humans`` have been
consolidated into ``intermediate_files``.
* Biophysical table Workbench validation now warns if there is a missing
curve number value.
(`1346 <https://github.com/natcap/invest/issues/1346>`_)
* Urban Nature Access
* Urban nature supply outputs have been renamed to add ``percapita`` to the
filename.

* In uniform search radius mode, ``urban_nature_supply.tif`` has been
renamed to ``urban_nature_supply_percapita.tif``.
* When defining search radii by urban nature class,
``urban_nature_supply_lucode_[LUCODE].tif`` has been renamed to
``urban_nature_supply_percapita_lucode_[LUCODE].tif``.
* When defining search radii by population groups,
``urban_nature_supply_to_[POP_GROUP].tif`` has been renamed to
``urban_nature_supply_percapita_to_[POP_GROUP].tif``.

* A new output for "Accessible Urban Nature" is created, indicating the
area of accessible greenspace available to people within the search
radius, weighted by the selected decay function. The outputs vary
slightly depending on the selected execution mode.

* In uniform search radius mode, a single new output is created,
``accessible_urban_nature.tif``.
* When defining search radii by urban nature class, one new
output raster is created for each class of urban nature. These files
are named ``accessible_urban_nature_lucode_[LUCODE].tif``.
* When defining search radii for population groups, one new output
raster is created for each population group. These files are named
``accessible_urban_nature_to_[POP_GROUP].tif``.

* Urban nature classes can now be defined to occupy a proportion of a
pixel, such as a park that is semi-developed. This proportion is
provided through user input as a proportion (0-1) in the
``urban_nature`` column of the LULC Attribute Table. A value of ``0``
indicates that there is no urban nature in this class, ``0.333``
indicates that a third of the area of this LULC class is urban nature,
and ``1`` would indicate that the entire LULC class's area is urban
nature. https://github.com/natcap/invest/issues/1180
* Fixed an issue where, under certain circumstances, the model would raise
a cryptic ``TypeError`` when creating the summary vector.
https://github.com/natcap/invest/issues/1350
* Visitation: Recreation and Tourism
* Fixed a bug where overlapping predictor polygons would be double-counted
in ``polygon_area_coverage`` and ``polygon_percent_coverage``
calculations. (`1310 <https://github.com/natcap/invest/issues/1310>`_)
* Changed the calculation of ``point_nearest_distance`` metric to match
the description in the User's Guide. Values are now the distance to the
centroid of the AOI polygon instead of the distance to the nearest
edge of the AOI polygon.
(`1347 <https://github.com/natcap/invest/issues/1347>`_)
* Wind Energy
* Updated a misleading error message that is raised when the AOI does
not spatially overlap another input.
(`1054 <https://github.com/natcap/invest/issues/1054>`_)

3.13.0

-------------------
* General
* During builds of the InVEST documentation, the packages
``sphinx-rtd-theme`` and ``sphinx-reredirects`` will be pulled from
conda-forge instead of PyPI.
(`1151 <https://github.com/natcap/invest/issues/1151>`_)
* The ``invest`` command-line-interface no longer opens a graphical
interface to InVEST. (`755 <https://github.com/natcap/invest/issues/755>`_)
* The classic InVEST user-interface has been removed in favor of the Workbench.
* Replace the ``ARGS_SPEC`` with ``MODEL_SPEC`` which describes all model
outputs as well as inputs in a structured format
(`596 <https://github.com/natcap/invest/issues/596>`_)
* Workbench
* Added tooltips to the model tabs so that they can be identified even when
several tabs are open (`1071 <https://github.com/natcap/invest/issues/1088>`_)
* Options' display names will now be shown in dropdown menus
(`1217 <https://github.com/natcap/invest/issues/1217>`_)
* Represent boolean inputs with a toggle switch rather than radio buttons.
* Includes local versions of the User Guide in English, Spanish, & Chinese.
https://github.com/natcap/invest/issues/851
* DelineateIt
* DelineateIt now uses ``pygeoprocessing.routing.extract_streams_d8`` for D8
stream thresholding. https://github.com/natcap/invest/issues/1143
* Habitat Quality
* The model now uses an euclidean distance implementation for decaying
threat rasters both linearly and exponentially. Since InVEST 3.3.0 a
convolution implementation has been used, which reflected how
the density of a threat or surrounding threat pixels could have an
even greater, cumulative impact and degradation over space. However, this
was never properly documented in the User's Guide and is not the approach
taken in the publication. The convolution implementation also produced
degradation and quality outputs that were difficult to interpret.
* There should be a noticeable runtime improvement from calculating
euclidean distances vs convolutions.
* HRA
* Fixed an issue where a cryptic exception was being thrown if the criteria
table's sections were not spelled exactly as expected. There is now a
much more readable error if a section is obviously missing. Leading and
trailing whitespace is also now removed from all string fields in the
criteria table, which should also help reduce the chance of errors.
https://github.com/natcap/invest/issues/1191
* GLOBIO
* Deprecated the GLOBIO model
(`1131 <https://github.com/natcap/invest/issues/1131>`_)
* RouteDEM
* RouteDEM now uses ``pygeoprocessing.routing.extract_streams_d8`` for D8
stream thresholding. https://github.com/natcap/invest/issues/1143
* Scenic Quality
* Any points over nodata (and therefore excluded from the viewshed
analysis) will now correctly have their FID reported in the logging.
https://github.com/natcap/invest/issues/1188
* Clarifying where the visual quality calculations' disk-based sorting
cache should be located, which addresses an interesting crash experienced
by some users on Windows. https://github.com/natcap/invest/issues/1189
* SDR
* The ``ws_id`` field is no longer a required field in the watershed vector.
https://github.com/natcap/invest/issues/1201
* Seasonal Water Yield
* If a soil group raster contains any pixels that are not in the set of
allowed soil groups (anything other than 1, 2, 3 or 4), a human readable
exception will now be raised. https://github.com/natcap/invest/issues/1193
* Urban Nature Access
* Added the Urban Nature Access model to InVEST. The model for urban
nature access provides a measure of both the supply of urban nature
and the demand for nature by the urban population, ultimately
calculating the balance between supply and demand. See the corresponding
User's Guide chapter for documentation.
* Visitation: Recreation and Tourism
* Fixed a ``FutureWarning`` when reading in CSVs. This fix does not
otherwise affect model behavior. https://github.com/natcap/invest/issues/1202

3.12.1

-------------------
* General
* Fixed a possible path traversal vulnerability when working with datastack
archives. This patches CVE-2007-4559, reported to us by Trellix.
https://github.com/natcap/invest/issues/1113
* Added Spanish and Chinese translations of user-facing text and an interface
to switch languages in the workbench UI.
* Updating descriptions for LULC about text and biophysical table for
clarity in model specs. https://github.com/natcap/invest/issues/1077
* Workbench
* Fixed a bug where the Workbench would become unresponsive during an
InVEST model run if the model emitted a very high volume of log messages.
* Fixed a bug where the Workbench could crash if there was too much
standard error emitted from an invest model.
* Added a new "Save as" dialog window to handle different save options, and
allow the option to use relative paths in a JSON datastack
(`1088 <https://github.com/natcap/invest/issues/1088>`_)
* Fixed a bug where uncaught exceptions in the React tree would result in
a blank browser window.
(`1119 <https://github.com/natcap/invest/issues/1119>`_)
* Habitat Quality
* All spatial inputs including the access vector and threat rasters are
now reprojected to the ``lulc_cur_path`` raster. This fixes a bug where
rasters with a different SRS would appear to not intersect the
``lulc_cur_path`` even if they did. (https://github.com/natcap/invest/issues/1093)
* Paths in the threats table may now be either absolute or relative to the
threats table.
* HRA
* Fixed a regression relative to InVEST 3.9.0 outputs where spatial
criteria vectors were being rasterized with the ``ALL_TOUCHED=TRUE``
flag, leading to a perceived buffering of spatial criteria in certain
cases. In InVEST 3.9.0, these were rasterized with ``ALL_TOUCHED=FALSE``.
https://github.com/natcap/invest/issues/1120
* Fixed an issue with the results table, ``SUMMARY_STATISTICS.csv`` where
the percentages of high, medium and low risk classifications were not
correctly reported.
* Added a column to the ``SUMMARY_STATISTICS.csv`` output table to also
report the percentage of pixels within each subregion that have no risk
classification (a risk classification of 0).
* Urban Stormwater Retention
* Added validation to check that the input soil groups raster has an
integer data type
* Urban Cooling
* Updated the text for the ``building_intensity`` column in the biophysical
table to clarify that the values of this column should be normalized
relative to one another to be between 0 and 1.

3.12.0

Not secure
-------------------
* General
* Update python packaging settings to exclude a few config files and the
workbench from source distributions and wheels
* Updating SDR test values due to an update in GDAL's mode resampling
algorithm. See https://github.com/natcap/invest/issues/905
* Updated our ``scipy`` requirement to fix a bug where invest crashed
if a Windows user had a non-Latin character in their Windows username.
* Workbench
* Fixed a bug where some model runs would not generate a new item
in the list of recent runs.
* Enhanced model input forms so that text boxes always show the
rightmost end of the filepath when they overflow the box.
* Coastal Blue Carbon
* Fixed a bug where using unaligned rasters in the preprocessor would cause
an error. The preprocessor will now correctly align input landcover
rasters and determine transitions from the aligned rasters.
* Habitat Quality
* Removed a warning about an undefined nodata value in threat rasters
because it is okay for a threat raster to have an undefined nodata value.
* HRA
* Fixed an issue with risk calculations where risk values would be much
lower than they should be. Risk values are now correctly calculated.
* Fixed an issue with risk reclassifications where most pixels would end up
classified as medium risk.
* Added an input field to the model to indicate the number of overlapping
stressors to use in risk reclassification calculations. This input
affects the numerical boundaries between high, medium and low risk
classifications.
* Various improvements to the model have resulted in a modest (~33%)
speedup in runtime.
* Coastal Vulnerability
* Fixed a bug where redundant vertices in the landmass polygon could
raise an error during shore point creation.
* NDR
* Added parameters to the sample data to support nitrogen calculations.
* Effective retention calculations have been reworked so that the source
code more closely matches the mathematical definition in the NDR User's
Guide. There should be no difference in outputs.
* SDR
* We have made a significant update to the SDR model's outputs described
here: https://github.com/natcap/peps/blob/main/pep-0010.md.

* Legacy outputs ``sed_retention_index.tif`` and ``sed_retention.tif``
have been removed from the model.
* Two new output rasters have been added, specifically
* ``avoided_export.tif``, indicating vegetation's contribution to
reducing erosion on a pixel, as well as trapping of sediment
originating upslope of the pixel, so that neither of these
proceed downslope to enter a stream.
* ``avoided_erosion.tif``, vegetation’s contribution to reducing
erosion from a pixel.
* The summary watersheds vector no longer includes the ``sed_retent``
field and two fields have been added:

* ``avoid_exp`` representing the sum of avoided export in the
watershed.
* ``avoid_eros`` representing the sum of avoided erosion in the
watershed.
* Sediment deposition, ``sed_deposition.tif``, has been clarified to
indicate the sediment that erodes from a pixel goes into the next
downstream pixel(s) where it is either trapped or exported. This
update removes a form of double-counting.
* Urban Flood Risk
* Validation of the curve number table will now catch missing ``CN_*``
columns and warn the user about the missing column.

Page 1 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.