Skip to content

lut_csv

LutCSV(bounds, params)

Bases: LutDataLoader

import_data(bounds)

Import a list of .csv files, assign regions a value specified in config params, regions outside this are numpy nan values.

Parameters:

Name Type Description Default
bounds Boundary

Initial boundary to limit the dataset to

required

Returns:

Name Type Description
exclusion_df DataFrame

Dataframe of polygons with value specified in config. DataFrame has columns 'geometry' and data_name (read from CSV by default)