OceanSection

source

OceanSection(
   name, data
)

Class the represents a section of the ocean. alculates for every section how quickly seaweed can grow and also saves the single factors for growth

Methods:

.calculate_factors

source

.calculate_factors()

Calculates the factors and growth rate for the ocean section

Arguments

None

Returns

None

.calculate_growth_rate

source

.calculate_growth_rate()

Calculates the growth rate for the ocean section

Arguments

None

Returns

None

.create_section_df

source

.create_section_df()

Creates a dataframe that contains all the data for a given section This can only be run once the factors have been calculated

Arguments

None

Returns

None

.calculate_mean_growth_rate

source

.calculate_mean_growth_rate()

Calculates the mean growth rate and returns it

Arguments

None

Returns

the mean growth rate of the section

.select_section_df_date

source

.select_section_df_date(
   month
)

Selectes a date from the section df and returns it

Arguments

  • date : the date to select

Returns

the dataframe for the date