Plotting

In the following some functions are described for plotting the result dataset of a DAVE genereation

Plot geographical model

dave_core.plotting.plot_geographical_data(grid_data, save_image=False, output_folder=None)[source]

This function plots the geographical informations in the target area

INPUT:

grid_data (attrdict) - all Informations about the target area

OPTIONAL:

save_image* (boolean, False) - If True the plot will be saved as svg in output folder output_folder* (string, None) - absolute path to the folder where the plot should be saved

OUTPUT:

target area plot (svg file) - plot as vektor graphic

Plot grid data

dave_core.plotting.plot_grid_data(grid_data, save_image=False, output_folder=None)[source]

This function plots primary the grid data and auxillary greyed out the geographical informations in the target area

INPUT:

grid_data (dict) - all Informations about the target area and the grid

OPTIONAL:

save_image* (boolean, False) - If True the plot will be saved as svg in output folder output_folder* (string, None) - absolute path to the folder where the plot should be saved

OUTPUT:

grid data plot (svg file) - plot as vektor graphic

dave_core.plotting.plot_grid_data_osm(grid_data, save_image=False, output_folder=None)[source]

This function plots primary the grid data with a osm map in the background

INPUT:

grid_data (dict) - all Informations about the target area and the grid

OPTIONAL:

save_image* (boolean, False) - If True the plot will be saved as svg in output folder output_folder* (string, None) - absolute path to the folder where the plot should be saved

OUTPUT:

grid data osm plot (svg file) - plot as vektor graphic

Plot landuse

dave_core.plotting.plot_landuse(grid_data, save_image=False, output_folder=None)[source]

This function plots the landuses in the target area

INPUT:

grid_data (dict) - all Informations about the target area and the grid

OPTIONAL:

save_image* (boolean, False) - If True the plot will be saved as svg in output folder output_folder* (string, None) - absolute path to the folder where the plot should be saved

OUTPUT:

landuse plot (svg file) - plot as vektor graphic