Alpine3D  Alpine3D-3.2.0
SnGrids Class Reference

#include <MeteoObj.h>

Public Types

enum  Parameters {
  firstparam =0, TA =firstparam, RH, VW,
  DW, ISWR, ISWR_DIFF, ISWR_DIR,
  ILWR, HS, PSUM, PSUM_PH,
  PSUM_TECH, GROOMING, TSG, TSS,
  TS0, TSNOW, TSNOW_AVG, RHOSNOW_AVG,
  SWE, RSNO, TOP_ALB, SURF_ALB,
  SP, RB, RG, N3,
  MS_SNOWPACK_RUNOFF, MS_SOIL_RUNOFF, MS_WATER, SFC_SUBL,
  STORE, GLACIER, GLACIER_EXPOSED, ET,
  TSOIL1, TSOIL2, TSOIL3, TSOIL4,
  TSOIL5, lastparam =TSOIL5
}
 

Static Public Member Functions

static const std::string & getParameterName (const size_t &parindex)
 
static size_t getParameterIndex (const std::string &parname)
 

Static Public Attributes

static const size_t nrOfParameters = SnGrids::lastparam - SnGrids::firstparam + 1
 holds the number of meteo parameters stored in MeteoData More...
 

Member Enumeration Documentation

◆ Parameters

this enum provides names for possible Snowpack grids

Enumerator
firstparam 
TA 

Air temperature.

RH 

Relative humidity.

VW 

Wind velocity.

DW 

Wind direction (deg)

ISWR 

Incoming short wave radiation.

ISWR_DIFF 

Incoming short wave, diffuse.

ISWR_DIR 

Incoming short wave, direct.

ILWR 

Incoming long wave radiation.

HS 

Height of snow.

PSUM 

Water equivalent of precipitations, either solid or liquid.

PSUM_PH 

Precipitation phase, between 0 (fully solid) and 1 (fully liquid)

PSUM_TECH 

Water equivalent precipitation from artificial snow production.

GROOMING 

Used as a boolean flag to decide whever a pixel is scheduled for grooming or not.

TSG 

Temperature ground surface.

TSS 

Temperature snow surface.

TS0 

Temperature soil surface.

TSNOW 

Snow temperature at depth xxx m.

TSNOW_AVG 

Average snow temperature in the top xxx m.

RHOSNOW_AVG 

Average snow density in the top xxx m.

SWE 

Snow Water Equivalent.

RSNO 

Snow mean density.

TOP_ALB 

Albedo from the top (ie above canopy)

SURF_ALB 

Albedo of the surface (ie below canopy)

SP 

sphericity

RB 

bond radius

RG 

grain radius

N3 

grain Coordination number

MS_SNOWPACK_RUNOFF 

runoff on the surface of the soil (vitual lysimeter)

MS_SOIL_RUNOFF 

runoff at the bottom of the snow/soil column

MS_WATER 

The total amount of water in the snowpack at the present time.

SFC_SUBL 

The mass loss or gain of the top element due to snow (ice) sublimating.

STORE 

internal usage (precipitation events that are delayed because they are too small)

GLACIER 

mask showing the glaciated pixels

GLACIER_EXPOSED 

mask showing the exposed glaciated pixels (ie not snow covered)

ET 

Evapotranspiration.

TSOIL1 
TSOIL2 
TSOIL3 
TSOIL4 
TSOIL5 

Temperature within the soil, at a given depth.

lastparam 

Member Function Documentation

◆ getParameterIndex()

size_t SnGrids::getParameterIndex ( const std::string &  parname)
static

◆ getParameterName()

const std::string & SnGrids::getParameterName ( const size_t &  parindex)
static

Member Data Documentation

◆ nrOfParameters

const size_t SnGrids::nrOfParameters = SnGrids::lastparam - SnGrids::firstparam + 1
static

holds the number of meteo parameters stored in MeteoData


The documentation for this class was generated from the following files: