Class Dodson_NSA_ta

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

Class Documentation

class Dodson_NSA_ta : public module_base

Implements the neutral stability algorithm for air temperature from Dodson and Marks (1994). The neutral stability algorithm (NSA), uses the hydrostatic and potential temperature equations to convert measured temperatures and elevations to sea-level potential temperatures. The potential temperatures are spatially interpolated and then mapped to the elevation.

Requires from met:

  • Air temperature “t” [ \( {}^\circ C \)]

Provides:

  • Air temperature “t” [ \( {}^\circ C \) ]

  • Lapse rate “t_lapse_rate” [ \( {}^\circ C \cdot m^{-1} \)]

Configuration keys:

  • None *

Reference: Dodson, R. and Marks, D.: Daily air temperature interpolated at high spatial resolution over a large mountainous region, Clim. Res., 8(Myers 1994), 1–20, doi:10.3354/cr008001, 1997.

Public Functions

Dodson_NSA_ta(config_file cfg)
~Dodson_NSA_ta()
virtual void run(mesh_elem &face)

Needs to be implemented by each data parallel module. This will be called and executed for each timestep

Parameters:
  • face – The terrain element (triangle) to be worked upon for an element parallel domain

  • global_param – A pointer to the shared global paramter space with domain-wide paramters

virtual void init(mesh &domain)
struct data : public face_info

Public Members

interpolation interp