-
Notifications
You must be signed in to change notification settings - Fork 11
Home
Lisflood Utilities is a set of tools to help LISFLOOD users (or any users of PCRaster/NetCDF files)
to execute some mundane tasks that are necessary to operate lisflood.
Here's a list of the tools you can find in lisflood-utilities
package.
-
catchstats
calculates catchment statistics (mean, sum, std, min, max...) from NetCDF4 files given masks created withcutmaps
. -
cddmap is a tool to generate correlation decay distance (CDD) maps starting from station timeseries
-
compare is a package containing a set of simple Python classes that helps to compare NetCDF, PCRaster and TSS files.
-
cutmaps
is a tool to cut NetCDF files in order to reduce size. There are several options to define the extent, either as a bounding box or a catchment. -
gridding is a tool to interpolate meteo variables observations stored in text files containing (lon, lat, value) into grids.
-
lfcoords
is a tool that finds the appropriate coordinates in the LISFLOOD river network for any point (gauging station, dam...). -
nc2pcr is a tool to convert a NetCDF file into PCRaster maps.
-
ncextract
is a tool to extract values from NetCDF4 (or GRIB) file(s) at specific coordinates. -
pcr2nc is a tool to convert PCRaster maps to NetCDF4 files.
Note: PCRaster must be installed in the Conda environment.
-
thresholds is a tool to compute the discharge return period thresholds from NetCDF4 file containing a discharge time series.
-
water-demand-historic is a package allowing to generate sectoral (domestic, livestock, industry, and thermoelectric) water demand maps with monthly to yearly temporal steps for a range of past years, at the users’ defined spatial resolution and geographical extent. These maps are required by the LISFLOOD OS water use module
-
waterregions is a package containing two scripts that allow to create and verify a water regions map, respectively.
The package contains convenient classes for reading/writing:
- PCRasterMap
- PCRasterReader
- NetCDFMap
- NetCDFWriter