Change log
2021-06-22
- Replaced
gpd.clip()bygpd.sjoin - Added exposure to roads in
getHazardExposure
2021-06-21
- Added the example for
PDCinMASTER_example.pyand fixed bugs - Added the option for roads in
getExposure - Added the exposure analysis to roads in
getBufferExposure
2021-06-15
- Fixed a problem in
volcgis.exposureAnalysis.getRNDS()that returned wrong results without raising an error. This was due to polygons with complex shapes (e.g. holes in the polygon), which caused problem when clipping withgpd. The more I dug, the more I found that small hazard footprints (e.g. BAF) or those with irregular outlines (e.g. PDC) could produce "noisy" polygons at the periphery when contoured withrio. I added some filters, which are hopefully flexible enough to handle most case studies.
2021-06-10
- Added
v0.2.0 - Documented module is now
volcgis.eruption.py - Added documentation with
MASTER_example.pynotebook volcgis.exposureAnalysisis still here for the paper, but it will be replaced by the new functionsprocessHazard_v2.pyis an update for compatibility withv0.2.0
2021-03-04
- Moved all exposure analysis functions to
volcgis.exposureAnalysis
Road Exposure
Updated road exposure from Josh's commit. Namely:
- Removed ROAD_EXPOSURE variable and added content to EXPOSURE
- Remove updateRoads and added to updateExposure
getRNDS
getRNDSnow returns three arguments, includingroadLengthandRSDSroadLengthis added toEXPOSURERSDSis a pd.DataFrame that containsRSDSvalue for each road segment defined byRoad_ID. Each column is a different hazard occurrence (i.e. hazard type, VEI, prob etc)
Gekko
- Prepared
processHazard.pyfor parallel processing on Gekko using Job Arrays