Alpine3D 20240614.0c8124b
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_SURFACE_MASS_FLUX , MS_SOIL_RUNOFF , MS_WATER ,
  MS_WATER_SOIL , MS_ICE_SOIL , SFC_SUBL , MNS ,
  STORE , GLACIER , GLACIER_EXPOSED , ET ,
  ISWR_TERRAIN , ILWR_TERRAIN , ISWR_BELOW_CAN , TSOIL1 ,
  TSOIL2 , TSOIL3 , TSOIL4 , TSOIL_MAX ,
  SOIL_RUNOFF1 , SOIL_RUNOFF2 , SOIL_RUNOFF3 , SOIL_RUNOFF4 ,
  SOIL_RUNOFF_MAX , lastparam =SOIL_RUNOFF_MAX
}
 this enum provides names for possible Snowpack grids More...
 

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_SURFACE_MASS_FLUX 

mass flux through the soil surface

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.

MS_WATER_SOIL 

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

MS_ICE_SOIL 

The total amount of ice in the soil at the present time.

SFC_SUBL 

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

MNS 

drifted mass (when snowdrift is enabled)

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.

ISWR_TERRAIN 

Short wave received by terrain reflection.

ILWR_TERRAIN 

Long wave received by terrain emission.

ISWR_BELOW_CAN 
TSOIL1 
TSOIL2 
TSOIL3 
TSOIL4 
TSOIL_MAX 

Temperature within the soil, at a given depth.

SOIL_RUNOFF1 
SOIL_RUNOFF2 
SOIL_RUNOFF3 
SOIL_RUNOFF4 
SOIL_RUNOFF_MAX 
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: