create_fim_lib#
URL: /processes/create_fim_lib/execution
Method: POST
Description:
- ripple1d.ops.fim_lib.create_fim_lib(submodel_directory, plans, library_directory, cleanup, ras_version='631', overviews=False, resolution=3, resolution_units='Meters', dest_crs=5070)
Create a new FIM library for a NWM id.
Export depth rasters and stage-discharge rating curves from HEC-RAS to rasters and a sqlite database.
- Parameters:
submodel_directory (str) – The path to the directory containing a sub model geopackage
plans (list) – suffixes of plans to create fim library for.
library_directory (str) – No function
cleanup (bool) – whether to delete the source depth grids once they’ve been processed
ras_version (str, optional) – which version of HEC-RAS to use, by default “631”
overviews (bool, optional) – whether to generate overviews for output rasters (overviews at levels [4, 8, 16]), by default False
resolution (float, optional) – horizontal resolution to resample output raster to, by default 3
resolution_units (str, optional) – unit for resolution, by default “Meters”
dest_crs (str, optional) – Destination crs.
- Returns:
dictionary with paths to output rasters and rating curve database
- Return type:
dict