SNOWPACK  SNOWPACK-3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CanopyData Class Reference

Detailed Description

Canopy data used as a pointer in the SnowStation structure

  1. INSTANTANEOUS VARIABLES
    1. Canopy "state" variables, and some auxiliaries
    2. Properties which could be given here or as a parameter field
    3. Aerodynamic resistances
  2. CUMULATED/AVERAGE VARIABLES
    cumulated between time series output timesteps - these variables can be moved or mirrored in a canopy "surface" data structure
    1. Albedo and similar auxiliaries
    2. Radiation fluxes
    3. Canopy turbulent heat fluxes
    4. Canopy evaporative fluxes
    5. Canopy mass fluxes.

#include <DataClasses.h>

Public Member Functions

 CanopyData ()
 
void reset (const bool &cumsum_mass)
 
void initializeSurfaceExchangeData ()
 Function called to initialize the canopy "Surface" exchange data (to enable accumulated mass and energy fluxes) More...
 
void multiplyFluxes (const double &factor)
 If multiple fluxes have been summed over multiple time steps, the fluxes then need to be averaged by the number of steps. The albedos are also averaged in this method. More...
 
const std::string toString () const
 

Public Attributes

double storage
 intercepted water (mm or kg m-2) More...
 
double temp
 temperature (K) More...
 
double sigf
 radiation transmissivity (1) More...
 
double ec
 longwave emissivity (1) More...
 
double lai
 
double z0m
 
double z0h
 
double zdispl
 
double height
 
double direct_throughfall
 
double ra
 from canopy air to reference height More...
 
double rc
 from canopy to canopy air More...
 
double rs
 from subsurface to canpopy air More...
 
double rstransp
 stomatal surface resistance for transpiration More...
 
double canopyalb
 canopy albedo [-] More...
 
double totalalb
 total albedo above canopy and snow/soil surface [-] More...
 
double wetfraction
 fraction of canopy covered by interception [-] More...
 
double intcapacity
 maximum interception storage [mm] More...
 
double rswrac
 upward shortwave above canopy More...
 
double iswrac
 downward shortwave radiation above canopy More...
 
double rswrbc
 upward shortwave below canopy More...
 
double iswrbc
 downward shortwave radiation below canopy More...
 
double ilwrac
 downward longwave radiation ABOVE canopy More...
 
double rlwrac
 upward longwave radiation ABOVE canopy More...
 
double ilwrbc
 downward longwave radiation BELOW canopy More...
 
double rlwrbc
 upward longwave radiation BELOW canopy More...
 
double rsnet
 net shortwave radiation More...
 
double rlnet
 net longwave radiation More...
 
double sensible
 
double latent
 
double latentcorr
 
double transp
 
double intevap
 
double interception
 
double throughfall
 
double snowunload
 
double snowfac
 snowfall above canopy More...
 
double rainfac
 rainfall above canopy More...
 
double liquidfraction
 
double sigftrunk
 radiation interception cross section for trunk layer () More...
 
double Ttrunk
 trunk temperature (K) More...
 
double CondFluxCanop
 biomass heat storage flux towards Canopy (if 1L) towards Leaves (if 2L). (>0 towards canopy) More...
 
double CondFluxTrunks
 biomass heat storage flux towards Trunks (if 2L) More...
 
double LWnet_Trunks
 net LW to trunks (>0 towards trunks) More...
 
double SWnet_Trunks
 net SW to trunks (>0 towards trunks) More...
 
double QStrunks
 sensible heat flux from trunks (>0 if heat lost from trunk) More...
 
double forestfloor_alb
 albedo of the forest floor More...
 
double BasalArea
 basal area of trees on the stand More...
 
double HMLeaves
 Leaves heat mass (J K-1 /m2 ground surface) More...
 
double HMTrunks
 Trunks heat mass (J K-1 /m2 ground surface) More...
 

Friends

std::iostream & operator<< (std::iostream &os, const CanopyData &data)
 
std::iostream & operator>> (std::iostream &is, CanopyData &data)
 

Constructor & Destructor Documentation

CanopyData::CanopyData ( )
inline

Member Function Documentation

void CanopyData::initializeSurfaceExchangeData ( )

Function called to initialize the canopy "Surface" exchange data (to enable accumulated mass and energy fluxes)

void CanopyData::multiplyFluxes ( const double &  factor)

If multiple fluxes have been summed over multiple time steps, the fluxes then need to be averaged by the number of steps. The albedos are also averaged in this method.

Parameters
factorAveraging factor (for example, 1/Nsteps)
void CanopyData::reset ( const bool &  cumsum_mass)
const std::string CanopyData::toString ( ) const

Friends And Related Function Documentation

std::iostream& operator<< ( std::iostream &  os,
const CanopyData data 
)
friend
std::iostream& operator>> ( std::iostream &  is,
CanopyData data 
)
friend

Member Data Documentation

double CanopyData::BasalArea

basal area of trees on the stand

double CanopyData::canopyalb

canopy albedo [-]

double CanopyData::CondFluxCanop

biomass heat storage flux towards Canopy (if 1L) towards Leaves (if 2L). (>0 towards canopy)

double CanopyData::CondFluxTrunks

biomass heat storage flux towards Trunks (if 2L)

double CanopyData::direct_throughfall
double CanopyData::ec

longwave emissivity (1)

double CanopyData::forestfloor_alb

albedo of the forest floor

double CanopyData::height
double CanopyData::HMLeaves

Leaves heat mass (J K-1 /m2 ground surface)

double CanopyData::HMTrunks

Trunks heat mass (J K-1 /m2 ground surface)

double CanopyData::ilwrac

downward longwave radiation ABOVE canopy

double CanopyData::ilwrbc

downward longwave radiation BELOW canopy

double CanopyData::intcapacity

maximum interception storage [mm]

double CanopyData::interception
double CanopyData::intevap
double CanopyData::iswrac

downward shortwave radiation above canopy

double CanopyData::iswrbc

downward shortwave radiation below canopy

double CanopyData::lai
double CanopyData::latent
double CanopyData::latentcorr
double CanopyData::liquidfraction
double CanopyData::LWnet_Trunks

net LW to trunks (>0 towards trunks)

double CanopyData::QStrunks

sensible heat flux from trunks (>0 if heat lost from trunk)

double CanopyData::ra

from canopy air to reference height

double CanopyData::rainfac

rainfall above canopy

double CanopyData::rc

from canopy to canopy air

double CanopyData::rlnet

net longwave radiation

double CanopyData::rlwrac

upward longwave radiation ABOVE canopy

double CanopyData::rlwrbc

upward longwave radiation BELOW canopy

double CanopyData::rs

from subsurface to canpopy air

double CanopyData::rsnet

net shortwave radiation

double CanopyData::rstransp

stomatal surface resistance for transpiration

double CanopyData::rswrac

upward shortwave above canopy

double CanopyData::rswrbc

upward shortwave below canopy

double CanopyData::sensible
double CanopyData::sigf

radiation transmissivity (1)

double CanopyData::sigftrunk

radiation interception cross section for trunk layer ()

double CanopyData::snowfac

snowfall above canopy

double CanopyData::snowunload
double CanopyData::storage

intercepted water (mm or kg m-2)

double CanopyData::SWnet_Trunks

net SW to trunks (>0 towards trunks)

double CanopyData::temp

temperature (K)

double CanopyData::throughfall
double CanopyData::totalalb

total albedo above canopy and snow/soil surface [-]

double CanopyData::transp
double CanopyData::Ttrunk

trunk temperature (K)

double CanopyData::wetfraction

fraction of canopy covered by interception [-]

double CanopyData::z0h
double CanopyData::z0m
double CanopyData::zdispl

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