bulum.maps.station_maps module
- simple_station_map(centroid_coords, area_geojson, station_df: DataFrame, zoom_level=10, extra_geojson1=None, extra_geojson2=None) Map
Returns a map of stations with pop up of information provided for each station
- Parameters:
centroid_coords (array of doubles) – Centroid coordinates for your map
area_geojson (geojson layer) – Outline layer for your map (i.e., catchment, reach, state)
station_df (pd.DataFrame) – Dataframe with station details. Must include ‘Station name’, ‘Station number’, ‘Latitude’ and ‘Longitude’. Any other columns are fine and information will be included in map pop up.
zoom_level (int, optional) – Zoom level for your map. Defaults to 10.
extra_geojson1 (geojson layer, optional) – Additional mapping layer. Defaults to None.
extra_geojson2 (geojson layer, optional) – Additional mapping layer. Defaults to None.
- Return type:
folium.Map
- station_map_plots(centroid_coords, area_geojson, station_df: DataFrame, data_df: Iterable[DataFrame], data_label='data', zoom_level=10) Map
Returns a map of markers with pop up of daily data plot
- Parameters:
centroid_coords (array of doubles) – Centroid coordinates for your map
area_geojson (geojson layer) – Outline layer for your map (i.e., catchment, reach, state)
station_df (DataFrame) – Dataframe with station details. Must include ‘Name’, ‘Latitude’ and ‘Longitude’. Any other columns ignored.
data_df (array of DataFrame) – Daily data to plot in pop up
data_label (str, optional) – Description of data, used in plot title. Defaults to ‘data’.
zoom_level (int, optional) – Zoom level for your map. Defaults to 10.
- Returns:
map of stations with daily data plots
- Return type:
_type_