MapPlotter¶
-
class
mss_dataserver.postprocess.map_plotter.
MapPlotter
(supplement_dir, map_dir, output_dir, basemap='mss_basemap_desaturate.tif', boundary='mss_network_hull.geojson')[source]¶ Bases:
object
Create map images and movies using mssds geojson data.
- Parameters
supplement_dir (str) – The directory where the supplement data is saved.
map_dir (str) – The directory where the map data is saved.
output_dir (str) – The directory where to save the computed map images.
basemap (str) – The filename of the background map in geotiff file format.
boundary (str) – The filename of the network boundary in geojson file format.
Methods¶
|
Initialize the instance. |
Remove all data artists from the map. |
|
Create the movie of the detection sequence. |
|
Create the event PGV map. |
|
|
Create a movie using ffmpeg. |
Create a map of the event pgv contours. |
|
Create the movie of the pgv contour sequence. |
|
Draw the map data contribution note. |
|
Draw the MSS network boundary. |
|
|
Draw the PGV contours. |
|
Deprecated. |
|
The the maximum pgv markers in the colorbar axes. |
|
Draw the detecion stations. |
Draw the PGV colorbar. |
|
|
The the maximum pgv marker in the colorbar axes. |
|
Draw the detection simplices. |
|
Draw the max pgv values of the stations. |
|
Draw the detection frame time marker. |
|
Draw PGV Voronoi cells. |
|
Initialize the map plot. |
|
Set the event to process. |