oggm_edu.Glacier
oggm_edu.Glacier#
- class oggm_edu.Glacier(bed, mass_balance)#
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
age
intSet the age of the glacier.
annual_mass_balance
arrayThe annual mass balance at each grid point of the glacier.
basal_sliding
floatSet the sliding parameter of the glacier
- bedoggm_edu.GlacierBed
The bed of the glacier.
creep
floatSet the value for glen_a creep
eq_states
dictGlacier equilibrium states.
history
xArray datasetThe history of the glacier.
mass_balance
oggm_edu.MassBalanceGlacier mass balance.
specific_mass_balance
floatThe specific mass balance of the glacier [m w.e.
state_history
xArray datasetThe state history of the glacier, i.e.
response_time
intThe response time of the glacier.
- __init__(bed, mass_balance)#
Initialise a glacier object from a oggm_edu.GlacierBed and a oggm_edu.MassBalance.
- Parameters
- bedoggm_edu.GlacierBed
- mass_balanceoggm_edu.MassBalance
Methods
__init__
(bed, mass_balance)Initialise a glacier object from a oggm_edu.GlacierBed and a oggm_edu.MassBalance.
add_temperature_bias
(bias, duration)Add a temperature bias to the mass balance of the glacier.
copy
()Return a copy of the glacier.
plot
()Plot the current state of the glacier.
Plot the history of the glacier.
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.
Attributes
Set the age of the glacier.
The annual mass balance at each grid point of the glacier.
Set the sliding parameter of the glacier
Set the value for glen_a creep
For advanced users: get access to the current OGGM
Flowline
object.Expose the mass balance ela for the glacier.
Glacier equilibrium states.
The history of the glacier.
Glacier mass balance.
Expose the mass balance gradient.
The response time of the glacier.
The specific mass balance of the glacier [m w.e.
The state history of the glacier, i.e. geometrical changes over time.