This release addresses bugs associated with terrain metrics, cross sections concave hulls for sub models, and discharge bounds for sub models. The documentation has also been updated, and a new optional argument is also added to the create_fim_lib endpoint.
- An lru_cache was added to the RasGeomText cross_sections property. the htab error fixing step needed to be moved because it was found that it was not being applied to RasGeomText classes instantiated with the from_gpkg method. This would throw off the caching by making cross_sections return an empty list for class instances generated with the from_gpkg method.
- Areas where a ras river line intersects a cross-section at multiple locations will default to treating the first intersection as the only intersection
- A minimum of one cross-section elevation-based terrain agreement metric is now generated even when section endpoints are lower than the thalweg
- Cross-sections vertices where a user did not enter a value for either station or elevation will be ignored.
- A bug that was effecting the cross section concave hull for the subset models. has been resolved In some instances the entire concave hull of the source model was being used for the subset model. This has been remedied.
- An optional arg was added to the
create_fim_libendpoint. The new arg iscogwhich is a Boolean indicating whether the output geotiffs should be cloud optimized geotiffs or not. The default is False. - A frequently asked questions (FAQ) section has been added to the readthedocs page to provide quick responses to common ripple1d questions.
- A bug that was incorrectly handling the NWM flows has been identified and fixed. Previously we were multiplying the
high_flow_thresholdby 1.2 to represent the low flow applied in ripple. This was incorrect. The low flow for ripple should be simply thehigh_flow_threshold. The high flow for ripple should be the100yrfrom the NWM multiplied by 1.2. These default values have been updated. Additionally, the multiplier values have been exposed through the API for theconflate_modelendpoint and new multipliers for the RAS flows have been exposed in theextract_submodelendpoint. Furthermore, flags have been added to give the user the option to ignore ras flows, ignore nwm flows, or take the highest and lowest of the two as the submodel flow bounds. - New ras_to_gpkg code has been ported from the
hecstacrepo. - A bug in flow file parsing has been addressed. See #365
- A new concave hull method has been developed, and documentation has been added for it in the ReadTheDocs.
closes #359
closes #358
closes #336
closes #346
closes #253
closes #344
closes #366
closes #365
closes #361
closes #360