DataLME

source

DataLME(
   file
)

Creates a data object for the LME Meant to only read in the data once and provide the data for each LME as needed

Methods:

.read_data_lme

source

.read_data_lme()

read in the file

Arguments

None

Returns

None

.sort_data_lme

source

.sort_data_lme()

Sorts as a dictionary of pandas dataframes The data is ocean data after nuclear war seperated by Large Marine Ecosystems (LME)

Arguments

None

Returns

None

.provide_data_lme

source

.provide_data_lme(
   lme_number
)

Provides the data for a given LME

Arguments

  • lme_number : the LME number

Returns

a dataframe


DataGrid

source

DataGrid(
   file
)

Creates a data object for the gridded data Meant to only read in the data once and provide the data for each grid cell as needed

Methods:

.read_data_grid

source

.read_data_grid()

Reads in the gridded data

Arguments

None

Returns

None

.provide_data_grid

source

.provide_data_grid(
   lat_lon
)

Provides the data for a given grid cell

Arguments

  • lat_lon : the lat_lon coordinates as tuple of floats

Returns

a geodataframe with all the environmental data for this grid cell


read_area_file

source

.read_area_file(
   path, file
)

Reads in the area file

Arguments

  • file : the file to read in

Returns

a dataframe with the area of each LME