nsrdb.albedo.temperature_model.TemperatureModel

class TemperatureModel[source]

Bases: object

Class to handle MERRA data and compute albedo. Uses equations 1 and 2 from Journal of Geophysical Research article, A comparison of simulated and observed fluctuations in summertime Arctic surface albedo, by Becky Ross and John E. Walsh

Methods

get_ice_albedo(T)

Calculate albedo from temperature

get_snow_albedo(T)

Calculate albedo from temperature

update_snow_albedo(albedo, mask, T)

Update albedo array with calculation results

static get_snow_albedo(T)[source]

Calculate albedo from temperature

Parameters:

T (ndarray) – temperature field to use for albedo calculations

Returns:

ndarray – albedo field computed from temperature field

static get_ice_albedo(T)[source]

Calculate albedo from temperature

Parameters:

T (ndarray) – temperature field to use for albedo calculations

Returns:

ndarray – albedo field computed from temperature field

classmethod update_snow_albedo(albedo, mask, T)[source]

Update albedo array with calculation results

Parameters:
  • albedo (ndarray) – albedo data array to update (n_lats, n_lons)

  • mask (ndarray) – mask with 1 at snowy grid cells and 0 at cells without snow (n_lats, n_lons)

  • T (ndarray) – temperature array used to calculate albedo (temporal, n_lats * n_lons)