MeteoIODoc 20241221.207bde49
mio::MeteoGrids Class Reference

Detailed Description

A class to represent the meteorological parameters that could be contained in a grid. This should be very close to MeteoData with a few additions (like the wind u,v,w)

Author
Mathias Bavay
Date
2011-12-22

#include <MeteoData.h>

Public Types

enum  Parameters {
  firstparam =0 , TA =firstparam , RH , QI ,
  TD , VW , DW , VW_MAX ,
  ISWR , RSWR , ISWR_DIFF , ISWR_DIR ,
  ILWR , OLWR , TAU_CLD , CLD ,
  HS , PSUM , PSUM_PH , PSUM_L ,
  PSUM_S , TSG , TSS , TSOIL ,
  TSNOW , P , P_SEA , U ,
  V , W , SWE , RSNO ,
  ROT , ALB , DEM , SHADE ,
  SLOPE , AZI , lastparam =AZI
}
 this enum provides names for possible meteogrids (from an ARPS file, etc) More...
 

Static Public Member Functions

static size_t getParameterIndex (const std::string &parname)
 
static const std::string getParameterName (const size_t &parindex)
 
static const std::string getParameterDescription (const size_t &parindex, const bool &allow_ws=true)
 
static const std::string getParameterUnits (const size_t &parindex)
 

Static Public Attributes

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

Member Enumeration Documentation

◆ Parameters

this enum provides names for possible meteogrids (from an ARPS file, etc)

Enumerator
firstparam 
TA 

Air temperature.

RH 

Relative humidity.

QI 

Specific humidity.

TD 

Dew Point temperature.

VW 

Wind velocity.

DW 

Wind direction.

VW_MAX 

Maximum wind velocity.

ISWR 

Incoming short wave radiation.

RSWR 

Reflected short wave radiation.

ISWR_DIFF 

Incoming short wave, diffuse.

ISWR_DIR 

Incoming short wave, direct.

ILWR 

Incoming long wave radiation.

OLWR 

Outgoing long wave radiation.

TAU_CLD 

Cloud transmissivity or ISWR/ISWR_clear_sky.

CLD 

Total cloud cover in oktas (see https://en.wikipedia.org/wiki/Okta)

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_L 

Water equivalent of liquid precipitation.

PSUM_S 

Water equivalent of solid precipitation.

TSG 

Temperature ground surface.

TSS 

Temperature snow surface.

TSOIL 

Temperature within the soil, at a given depth.

TSNOW 

Temperature within the snow, at a given depth.

Air pressure.

P_SEA 

Sea level air pressure.

East component of wind.

North component of wind.

Vertical component of wind.

SWE 

Snow Water Equivalent.

RSNO 

Snow mean density.

ROT 

Total generated runoff.

ALB 

Albedo.

DEM 

Digital Elevation Model.

SHADE 

Hillshade.

SLOPE 

DEM slope angle.

AZI 

DEM slope azimuth.

lastparam 

Member Function Documentation

◆ getParameterDescription()

const std::string mio::MeteoGrids::getParameterDescription ( const size_t &  parindex,
const bool &  allow_ws = true 
)
static

◆ getParameterIndex()

size_t mio::MeteoGrids::getParameterIndex ( const std::string &  parname)
static

◆ getParameterName()

const std::string mio::MeteoGrids::getParameterName ( const size_t &  parindex)
static

◆ getParameterUnits()

const std::string mio::MeteoGrids::getParameterUnits ( const size_t &  parindex)
static

Member Data Documentation

◆ nrOfParameters

const size_t mio::MeteoGrids::nrOfParameters = MeteoGrids::lastparam - MeteoGrids::firstparam + 1
static

holds the number of meteo parameters stored in MeteoData


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