Defines structure for snow profile layers.
#include <DataClasses.h>
Public Member Functions | |
| SnowProfileLayer () | |
| void | average (const double &w1, const double &w2, const SnowProfileLayer &Pdata) |
| Determines the averaged quantities of the current layer with another layer. More... | |
Static Public Member Functions | |
| static std::vector< SnowProfileLayer > | generateProfile (const mio::Date &dateOfProfile, const SnowStation &Xdata, const double hoar_density_surf, const double hoar_min_size_surf) |
| Generates a snow profile from snow station data (1 element = 1 layer) More... | |
Public Attributes | |
| mio::Date | profileDate |
| Date of profile. More... | |
| std::string | stationname |
| unsigned char | loc_for_snow |
| unsigned char | loc_for_wind |
| mio::Date | depositionDate |
| Date of deposition (mainly used for snow layers) More... | |
| double | height |
| Height of snow or snow depth; 0 to 1000 (cm) More... | |
| double | rho |
| 0 to 1000 (kg m-3) More... | |
| double | T |
| -50 to 50, snow temperature at top of layer (degC) More... | |
| double | gradT |
| -1000 to 1000, temperature gradient across layer (K m-1) More... | |
| double | v_strain_rate |
| 0 to 1.0e-5, viscous strain rate (s-1) More... | |
| double | theta_i |
| 0 to 1, volume fraction of ice (-) More... | |
| double | theta_w |
| 0 to 1, volume fraction of water (-) More... | |
| double | theta_a |
| 0 to 1, volume fraction of air (-) More... | |
| double | grain_size |
| 0 to 100 (mm) More... | |
| double | bond_size |
| 0 to 100 (mm) More... | |
| double | dendricity |
| 0 to 1 (1) More... | |
| double | sphericity |
| 0 to 1 (1) More... | |
| double | ogs |
| 0 to 100, optical equivalent grain size (mm) More... | |
| double | coordin_num |
| 0 to 10 (1) More... | |
| unsigned short int | marker |
| 0 to 999 (1) More... | |
| short unsigned int | type |
| 0 to 999 (1) More... | |
| double | hard |
| 0. to 5. (1) More... | |
| SnowProfileLayer::SnowProfileLayer | ( | ) |
| void SnowProfileLayer::average | ( | const double & | Lp0, |
| const double & | Lp1, | ||
| const SnowProfileLayer & | profile_layer | ||
| ) |
Determines the averaged quantities of the current layer with another layer.
| Lp1 | Thickness (weight) of layer Pdata |
| Lp0 | Thickness (weight) of current layer |
| profile_layer | to average with |
|
static |
Generates a snow profile from snow station data (1 element = 1 layer)
| dateOfProfile | |
| Xdata | |
| hoar_density_surf | |
| hoar_min_size_surf |
| double SnowProfileLayer::bond_size |
0 to 100 (mm)
| double SnowProfileLayer::coordin_num |
0 to 10 (1)
| double SnowProfileLayer::dendricity |
0 to 1 (1)
| mio::Date SnowProfileLayer::depositionDate |
Date of deposition (mainly used for snow layers)
| double SnowProfileLayer::gradT |
-1000 to 1000, temperature gradient across layer (K m-1)
| double SnowProfileLayer::grain_size |
0 to 100 (mm)
| double SnowProfileLayer::hard |
0. to 5. (1)
| double SnowProfileLayer::height |
Height of snow or snow depth; 0 to 1000 (cm)
| unsigned char SnowProfileLayer::loc_for_snow |
| unsigned char SnowProfileLayer::loc_for_wind |
| unsigned short int SnowProfileLayer::marker |
0 to 999 (1)
| double SnowProfileLayer::ogs |
0 to 100, optical equivalent grain size (mm)
| mio::Date SnowProfileLayer::profileDate |
Date of profile.
| double SnowProfileLayer::rho |
0 to 1000 (kg m-3)
| double SnowProfileLayer::sphericity |
0 to 1 (1)
| std::string SnowProfileLayer::stationname |
| double SnowProfileLayer::T |
-50 to 50, snow temperature at top of layer (degC)
| double SnowProfileLayer::theta_a |
0 to 1, volume fraction of air (-)
| double SnowProfileLayer::theta_i |
0 to 1, volume fraction of ice (-)
| double SnowProfileLayer::theta_w |
0 to 1, volume fraction of water (-)
| short unsigned int SnowProfileLayer::type |
0 to 999 (1)
| double SnowProfileLayer::v_strain_rate |
0 to 1.0e-5, viscous strain rate (s-1)