Releases: julemai/nrcan-hfe
Historical Flood Event Python Toolkit v1.0.1
Minor release
- adjust some typos in documentation
- make sure all doc strings pass
- handle occurrences that are longer than 90 days by skipping them and writing exception.token similar to how long events are handled
Historical Flood Event Python Toolkit v1.0
First release of the HFE Python Toolkit v1.0
Main wrapper scripts:
analyse_occurrence
analyse_event
Major modules:
a1_request_geomet_grib2 — request GRIB2 files from Geomet (2019-01-01 until today)
a2_request_caspar_nc — request NetCDF files from CaSPAr (1980-01-01 until 2018-12-31) (checks if files exist and if they contain all the necessary attributes)
a3_request_hfe_json — request HFE database in JSON format (dummy function; just checks if files exist)
b1_read_geomet_grib2 — read required data from GRIB2 files retrieved from Geomet
b2_read_caspar_nc — read required data from NetCDF files retrieved from CaSPAr
b3_read_hfe_json — read required data from HFE database in JSON format and filters them
cx_plot_data — plot gridded data creating PNGs, GIFs, and legends
dx_interpolate_data — interpolate gridded data to specific location using bilinear interpolation
ex_determine_bbox — determine bounding box around specific location (usable for A1, B2, Cx, Dx)
fx_determine_dates — determine time period around flooding event (usable for A1, B2, Cx)
gx_identify_precipitation_event — identify large precipitation event for a feature