oggm_edu.GlacierCollection

oggm_edu.GlacierCollection#

class oggm_edu.GlacierCollection(glacier_list=None)#

This is an object used to store multiple glaciers.

It provides methods to progress and compare the glaciers in the collection.

__init__(glacier_list=None)#

Initialise the glacier collection.

Parameters:
glacier_listlist of glaciers objects

Defaults to none. Has the possibility to add glaciers on the go. Glaciers need to have the same bed slope.

Methods

__init__([glacier_list])

Initialise the glacier collection.

add(glacier)

Adds one or more glaciers to the collection.

change_attributes(attributes_to_change)

Change the attribute(s) of the glaciers in the collection.

fill(glacier, n[, attributes_to_change, ids])

Fill the collection with a desired number of glaciers.

plot()

Plot the glaciers in the collection to compare them.

plot_history()

Plot the histories of the collection.

plot_mass_balance()

Plot the mass balance(s) for the glaciers in the collection.

plot_side_by_side()

Plot the collection but side by side.

progress_to_equilibrium([years, t_rate])

Progress the glaciers to equilibrium.

progress_to_year(year)

Progress the glaciers within the collection to the specified year.

reset()

Reset all glaciers in the collection

summary()

Returns a summary of the collection in the form of a pandas dataframe.

Attributes

annual_mass_balance

Glaciers mass balances

glaciers

Glaciers stored in the collection