oggm_edu.Glacier

oggm_edu.Glacier#

class oggm_edu.Glacier(bed, mass_balance, id=None)#

Provides the user with an easy way to create and perform experiments on simulated glaciers.

It handles the progression and visualisation of the glacier. A glacier is constructed with a GlacierBed and MassBalance.

Attributes:
idstr

The id property.

ageint

Set the age of the glacier.

annual_mass_balancearray

The annual mass balance at each grid point of the glacier.

basal_slidingfloat

Set the sliding parameter of the glacier

bedoggm_edu.GlacierBed

The bed of the glacier.

creepfloat

Set the value for the creep parameter A in Glens equation.

eq_statesdict

Glacier equilibrium states.

historyxArray dataset

The history of the glacier.

mass_balanceoggm_edu.MassBalance

Glacier mass balance.

specific_mass_balancefloat

The specific mass balance of the glacier [m w.e.

state_historyxArray dataset

The state history of the glacier, i.e.

response_timeint

The response time of the glacier.

__init__(bed, mass_balance, id=None)#

Initialise a glacier object from a oggm_edu.GlacierBed and a oggm_edu.MassBalance.

Parameters:
bedoggm_edu.GlacierBed
mass_balanceoggm_edu.MassBalance
idstr

String identifying the glacier.

Methods

__init__(bed, mass_balance[, id])

Initialise a glacier object from a oggm_edu.GlacierBed and a oggm_edu.MassBalance.

add_random_climate(duration, temperature_range)

Append a random climate to the future mass balance of the glacier.

add_temperature_bias(bias, duration[, noise])

Add a gradual temperature bias to the future mass balance of the glacier.

copy([id])

Return a copy of the glacier.

plot([axes, title_number])

Plot the current state of the glacier.

plot_history([show_bias, window, ...])

Plot the history of the glacier.

plot_mass_balance()

Plot the mass balance profile of the glacier.

plot_state_history([interval, eq_states])

Plot the state history of the glacier (thicknesses) at specified intervals.

progress_to_equilibrium([years, t_rate])

Progress the glacier to equilibrium.

progress_to_year(year)

Progress the glacier to year n.

reset()

Reset the glacier to initial state.

summary()

A summary of the glacier, in the form of a pandas dataframe.

Attributes

accumulation_area_ratio

The accumulation area ratio.

age

Set the age of the glacier.

annual_mass_balance

The annual mass balance at each grid point of the glacier.

basal_sliding

Set the sliding parameter of the glacier

basal_sliding_str

creep

Set the value for the creep parameter A in Glens equation.

creep_str

current_state

For advanced users: get access to the current OGGM Flowline object.

ela

Expose the mass balance ela for the glacier.

eq_states

Glacier equilibrium states.

history

The history of the glacier.

id

The id property.

mass_balance

Glacier mass balance.

mb_gradient

Expose the mass balance gradient.

response_time

The response time of the glacier.

specific_mass_balance

The specific mass balance of the glacier [m w.e.

state_history

The state history of the glacier, i.e. geometrical changes over time.