SNOWPACK 20240329.2d1c245
SN_SNOWSOIL_DATA Class Reference

Detailed Description

SN_SNOWSOIL_DATA includes all important station parameters as well as LayerData.

This data structure will have to be replaced by something a little more complicated soon ??? For now it is simply an efficient way of creating a snowpack to investigate.

#include <DataClasses.h>

Public Member Functions

 SN_SNOWSOIL_DATA ()
 
const std::string toString () const
 

Public Attributes

mio::StationData meta
 Station meta data. More...
 
mio::Date profileDate
 Date of profile. More...
 
size_t nN
 Total number of FE nodes after loading. More...
 
double Height
 Total height of soil-snow column in m (sum of the layer heights) More...
 
size_t nLayers
 Total number of soil and snow layers at loading. More...
 
std::vector< LayerDataLdata
 contains all the information required to construct the Xdata More...
 
double HS_last
 
double Albedo
 REQUIRED PARAMETERS, an error will be thrown at reading (SnowpackIO) if no parameter are provided. More...
 
double SoilAlb
 Soil albedo, default 0.2. More...
 
double BareSoil_z0
 Bare soil roughness in m, default 0.02 m. More...
 
double Canopy_Height
 Canopy Height in m. More...
 
double Canopy_LAI
 Canopy Leaf Area Index in m2 m-2. More...
 
double Canopy_Direct_Throughfall
 Direct throughfall [fraction of precipitation]. More...
 
double WindScalingFactor
 Local scaling factor for wind at drift station. More...
 
int ErosionLevel
 Erosion Level in operational mode (flat field virtual erosion) More...
 
double TimeCountDeltaHS
 
double Canopy_BasalArea
 OPTIONAL PARAMETERS, a warning will be thrown in CANOPY::Initialize if no value is provided. More...
 
double Canopy_diameter
 Average canopy (tree) diameter [m], parameter in the new radiation transfer model. More...
 
double Canopy_lai_frac_top_default
 fraction of total LAI that is attributed to the uppermost layer. Here calibrated for Alptal. More...
 
double Canopy_int_cap_snow
 Specific interception capacity for rain (I_LAI) (mm/LAI) More...
 
double Canopy_alb_dry
 
double Canopy_alb_wet
 
double Canopy_alb_snow
 
double Emissivity_soil
 OPTIONAL PARAMETERS, if not provided Constants::emissivity_soil will be used. More...
 

Friends

std::ostream & operator<< (std::ostream &os, const SN_SNOWSOIL_DATA &data)
 
std::istream & operator>> (std::istream &is, SN_SNOWSOIL_DATA &data)
 

Constructor & Destructor Documentation

◆ SN_SNOWSOIL_DATA()

SN_SNOWSOIL_DATA::SN_SNOWSOIL_DATA ( )
inline

Member Function Documentation

◆ toString()

const std::string SN_SNOWSOIL_DATA::toString ( ) const

Friends And Related Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const SN_SNOWSOIL_DATA data 
)
friend

◆ operator>>

std::istream & operator>> ( std::istream &  is,
SN_SNOWSOIL_DATA data 
)
friend

Member Data Documentation

◆ Albedo

double SN_SNOWSOIL_DATA::Albedo

REQUIRED PARAMETERS, an error will be thrown at reading (SnowpackIO) if no parameter are provided.

Snow albedo

◆ BareSoil_z0

double SN_SNOWSOIL_DATA::BareSoil_z0

Bare soil roughness in m, default 0.02 m.

◆ Canopy_alb_dry

double SN_SNOWSOIL_DATA::Canopy_alb_dry

◆ Canopy_alb_snow

double SN_SNOWSOIL_DATA::Canopy_alb_snow

◆ Canopy_alb_wet

double SN_SNOWSOIL_DATA::Canopy_alb_wet

◆ Canopy_BasalArea

double SN_SNOWSOIL_DATA::Canopy_BasalArea

OPTIONAL PARAMETERS, a warning will be thrown in CANOPY::Initialize if no value is provided.

Canopy Basal Area in m2 m-2

◆ Canopy_diameter

double SN_SNOWSOIL_DATA::Canopy_diameter

Average canopy (tree) diameter [m], parameter in the new radiation transfer model.

◆ Canopy_Direct_Throughfall

double SN_SNOWSOIL_DATA::Canopy_Direct_Throughfall

Direct throughfall [fraction of precipitation].

◆ Canopy_Height

double SN_SNOWSOIL_DATA::Canopy_Height

Canopy Height in m.

◆ Canopy_int_cap_snow

double SN_SNOWSOIL_DATA::Canopy_int_cap_snow

Specific interception capacity for rain (I_LAI) (mm/LAI)

◆ Canopy_LAI

double SN_SNOWSOIL_DATA::Canopy_LAI

Canopy Leaf Area Index in m2 m-2.

◆ Canopy_lai_frac_top_default

double SN_SNOWSOIL_DATA::Canopy_lai_frac_top_default

fraction of total LAI that is attributed to the uppermost layer. Here calibrated for Alptal.

◆ Emissivity_soil

double SN_SNOWSOIL_DATA::Emissivity_soil

OPTIONAL PARAMETERS, if not provided Constants::emissivity_soil will be used.

◆ ErosionLevel

int SN_SNOWSOIL_DATA::ErosionLevel

Erosion Level in operational mode (flat field virtual erosion)

◆ Height

double SN_SNOWSOIL_DATA::Height

Total height of soil-snow column in m (sum of the layer heights)

◆ HS_last

double SN_SNOWSOIL_DATA::HS_last

Last checked calculated snow depth used for albedo control

◆ Ldata

std::vector<LayerData> SN_SNOWSOIL_DATA::Ldata

contains all the information required to construct the Xdata

◆ meta

mio::StationData SN_SNOWSOIL_DATA::meta

Station meta data.

◆ nLayers

size_t SN_SNOWSOIL_DATA::nLayers

Total number of soil and snow layers at loading.

◆ nN

size_t SN_SNOWSOIL_DATA::nN

Total number of FE nodes after loading.

◆ profileDate

mio::Date SN_SNOWSOIL_DATA::profileDate

Date of profile.

◆ SoilAlb

double SN_SNOWSOIL_DATA::SoilAlb

Soil albedo, default 0.2.

◆ TimeCountDeltaHS

double SN_SNOWSOIL_DATA::TimeCountDeltaHS

Time counter tracking erroneous settlement in operational mode

◆ WindScalingFactor

double SN_SNOWSOIL_DATA::WindScalingFactor

Local scaling factor for wind at drift station.


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