shakemap.coremods.raster¶
-
class
shakemap.coremods.raster.
RasterModule
(eventid)[source]¶ Bases:
shakemap.coremods.base.CoreModule
- raster – Generate GIS raster files of all IMT values from
shake_result.hdf.
Instantiate a CoreModule class with an event ID.
-
command_name
= 'raster'¶
-
targets
= ['products/raster\\.zip']¶
-
dependencies
= [('products/shake_result.hdf', True)]¶
-
execute
()[source]¶ Write raster.zip file containing ESRI Raster files of all the IMTs in shake_result.hdf.
- Raises:
NotADirectoryError – When the event data directory does not exist.
FileNotFoundError – When the the shake_result HDF file does not exist.