set_data_paths module

data_input.py<br> python 3.6.7<br> Definition of a function that returns the paths to the data and<br> a function that makes subsets out of the raster dictionary<br> @author: Lisa Stubert<br> @date: 2019-05-30<br>

set_data_paths.data_input()[source]

Return data paths

This script defines the data basis used. The correct paths to the predictor variable rasters have to be defined here.

Returns:all_raster_data – Names an paths of predictor variable rasters
Return type:dict
set_data_paths.rasterfilter(all_raster_data, variables)[source]

Get subset out of raster dictionary

Parameters:
  • all_raster_data (dict) –
  • variables (list) –
Returns:

raster_data – Subset of raster dictionary

Return type:

dict