3.10.0
This minor release includes the following fixes and features:
-
General
- Add a
--language
argument to the command-line interface, which
will translate model names, specs, and validation messages. - Accept a
language
query parameter at the UI server endpoints,
which will translate model names, specs, and validation
messages. - Added
invest serve
entry-point to the CLI. This launches a
Flask app and server on the localhost, to support the workbench. - Major updates to each model's
ARGS_SPEC
(and some related
validation) to facilitate re-use & display in the Workbench and
User's Guide. - Standardized and de-duplicated text in
ARGS_SPEC
about
and
name
strings. - Update to FontAwesome 5 icons in the QT interface.
- In response to the deprecation of
setup.py
-based commands in
Python 3.10, the recommended way to build python distributions
ofnatcap.invest
is now with thebuild
package, and
installation should be done viapip
. TheREADME
has been
updated to reflect this change, and this should only be
noticeable for those installingnatcap.invest
from source. - A bug has been fixed in
make install
so that now the current
version ofnatcap.invest
is built and installed. The former
(buggy) version ofmake install
would install whatever the
latest version was in yourdist
folder. - Updating the
taskgraph
requirement to0.11.0
to resolve an
issue where modifying a file within a roughly 2-second window
would fooltaskgraph
into believing that the file had not been
modified. - Fixed a bug where some input rasters with NaN nodata values
would go undetected as nodata and yield unexpected behavior.
- Add a
-
Annual Water Yield
- Renamed the Windows start menu shortcut from "Water Yield" to
"Annual Water Yield".
- Renamed the Windows start menu shortcut from "Water Yield" to
-
Coastal Vulnerability
- Fixed bug where shore points were created on interior landmass
holes (i.e. lakes). - Added feature to accept raster (in addition to vector) habitat
layers. - Changed one intermediate output (geomorphology) from SHP to
GPKG. - Fixed bug where output vectors had coordinates with an
unnecessary z-dimension. Output vectors now have 2D geometry.
- Fixed bug where shore points were created on interior landmass
-
Crop Pollination
- Renamed the Windows start menu shortcut from "Pollination" to
"Crop Pollination".
- Renamed the Windows start menu shortcut from "Pollination" to
-
Fisheries and Fisheries HST
- The Fisheries models were deprecated due to lack of use, lack of
scientific support staff, and maintenance costs.
- The Fisheries models were deprecated due to lack of use, lack of
-
Finfish
- The Finfish model was deprecated due to lack of use, lack of
scientific support staff, and maintenance costs.
- The Finfish model was deprecated due to lack of use, lack of
-
Habitat Quality
- Changed how Habitat Rarity outputs are calculated to be less
confusing. Values now represent a 0 to 1 index where before
there could be negative values. Now values of 0 indicate
current/future LULC not represented in baseline LULC; values 0
to 0.5 indicate more abundance in current/future LULC and
therefore less rarity; values of 0.5 indicate same abundance
between baseline and current/future LULC; values 0.5 to 1
indicate less abundance in current/future LULC and therefore
higher rarity.
- Changed how Habitat Rarity outputs are calculated to be less
-
NDR
- Added a new raster to the model's workspace,
intermediate_outputs/what_drains_to_stream[suffix].tif
. This
raster has pixel values of 1 where DEM pixels flow to an
identified stream, and 0 where they do not.
- Added a new raster to the model's workspace,
-
Scenario Generator
- Changed an args key from
replacment_lucode
to
replacement_lucode
.
- Changed an args key from
-
Scenic Quality
- Simplify the
valuation_function
arg options. The options are
now:linear
,logarithmic
,exponential
. The names displayed
in the UI dropdown will stay the same as before. Datastacks or
scripts will need to be updated to use the new option values. - Renamed the model title from "Unobstructed Views: Scenic Quality
Provision" to "Scenic Quality".
- Simplify the
-
SDR
- Added a new raster to the model's workspace,
intermediate_outputs/what_drains_to_stream[suffix].tif
. This
raster has pixel values of 1 where DEM pixels flow to an
identified stream, and 0 where they do not.
- Added a new raster to the model's workspace,
-
Urban Flood Risk:
- Fixed broken documentation link in the user interface.
-
Urban Stormwater Retention:
- First release of this model.
-
Visitation: Recreation and Tourism
- Renamed the Windows start menu shortcut from "Recreation" to
"Visitation: Recreation and Tourism".
- Renamed the Windows start menu shortcut from "Recreation" to
-
Wave Energy
- Rename the
analysis_area_path
arg toanalysis_area
, since it
is not a path but an option string. - Simplify the
analysis_area
arg options. The options are now:
westcoast
,eastcoast
,northsea4
,northsea10
,
australia
,global
. The names displayed in the UI dropdown
will stay the same as before. Datastacks and scripts will need
to be updated to use the new option values.
- Rename the
-
Wind Energy
- No model inputs or outputs are measured in "millions of"
currency units any more. Specifically: - The
mw_coef_ac
andmw_coef_dc
values in the Global Wind
Energy Parameters table were in millions of currency units per
MW; now they should be provided in currency units per MW. - The
infield_cable_cost
,cable_coef_ac
, andcable_coef_dc
values in the Global Wind Energy Parameters table were in
millions of currency units per km; now they should be provided
in currency units per km. - The
turbine_cost
value in the Turbine Parameters table was in
millions of currency units; now it should be provided in
currency units. - The
foundation_cost
parameter was in millions of currency
units; now it should be provided in currency units. - The NPV output, formerly
npv_US_millions.tif
, is now
npv.tif
. It is now in currency units, not millions of currency
units.
- No model inputs or outputs are measured in "millions of"