3.8.5
This bugfix release includes the following fixes and features:
-
General
- Fix bug in
utils.build_lookup_from_csv
that was allowingkey_field
to be non unique and overwriting values. - Fix bug in
utils.build_lookup_from_csv
where trailing commas caused returned values to be malformed. - Add optional argument
column_list
toutils.build_lookup_from_csv
that takes a list of column names and only returns those in the dictionary. - Remove
warn_if_missing
argument fromutils.build_lookup_from_csv
and warning by default.
- Fix bug in
-
Urban Flood Risk Mitigation
- Fixed an issue where the output vector
flood_risk_service.shp
would only be created when the built infrastructure vector was provided. Now, theflood_risk_service.shp
vector is always created, but the fields created differ depending on whether the built infrastructure input is present during the model run. - Fixed an issue where the model would crash if an infrastructure geometry were invalid or absent. Such features are now skipped.
- Fixed an issue where the output vector
-
Scenic Quality
- Fixing an issue in Scenic Quality where the creation of the weighted sum of visibility rasters could cause "Too Many Open Files" errors and/or
MemoryError
when the model is run with many viewpoints. - Progress logging has been added to several loops that may take a longer time when the model is run with thousands of points at a time.
- A major part of the model's execution was optimized for speed, particularly when the model is run with many, many points.
- Fixing an issue in Scenic Quality where the creation of the weighted sum of visibility rasters could cause "Too Many Open Files" errors and/or
-
SDR:
- Removed the unused parameter
args['target_pixel_size']
from the SDRexecute
docstring.
- Removed the unused parameter