usgs / groundmotion-processing

Parsing and processing ground motion data
Other
54 stars 42 forks source link

Use Folium (Remove Cartopy Dependence) #946

Closed gferragu closed 2 years ago

gferragu commented 2 years ago

This PR changes the mapping utilities used by the gmprocess subcommand generate_station_maps by removing the static PNG station map created with CartoPy and opting for an interactive map saved as an HTML file.

Without the need for CartoPy directly, or for portions of impactutils reliant on Cartopy, we should be one step closer to having a simpler/pip-installable gmprocess.

The existing interactive map made with Folium has also been updated to have improved formatting for station/event information that pops up when the map symbols are clicked on.

The CLI tutorial in the docs has also been updated to reflect this and now has an embedded interactive station map users can use as reference.

This would close #941 and be a step towards completing #891