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:
idstrThe id property.
ageintSet the age of the glacier.
annual_mass_balancearrayThe annual mass balance at each grid point of the glacier.
basal_slidingfloatSet the sliding parameter of the glacier
- bedoggm_edu.GlacierBed
The bed of the glacier.
creepfloatSet the value for the creep parameter A in Glens equation.
eq_statesdictGlacier equilibrium states.
historyxArray datasetThe history of the glacier.
mass_balanceoggm_edu.MassBalanceGlacier mass balance.
specific_mass_balancefloatThe specific mass balance of the glacier [m w.e.
state_historyxArray datasetThe state history of the glacier, i.e.
response_timeintThe 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 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_ratioThe accumulation area ratio.
Set the age of the glacier.
The annual mass balance at each grid point of the glacier.
Set the sliding parameter of the glacier
basal_sliding_strSet the value for the creep parameter A in Glens equation.
creep_strFor advanced users: get access to the current OGGM
Flowlineobject.Expose the mass balance ela for the glacier.
Glacier equilibrium states.
The history of the glacier.
idThe id property.
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.