Learn R Programming

htsr (version 2.1.6)

w_temp_alt: Compute temperature, function of altitude

Description

Compute temperature, function of altitude

Usage

w_temp_alt(file, alt0 = 0, alt, grad = -0.0065)

Value

An hts file with the suffix _<alt>

Arguments

file

File name of the known air temperature ts (°C)

alt0

Altitude of the known air temperature ts - default = 0 (m)

alt

Altitude of the computed air- temperature ts (m)

grad

Temperature gradient vs elevation - default = -0.0065 (°C/m)

Author

P. Chevallier - Nov 2021

Details

The function computes an air temperature time-series at a given altitude, based on a known air temperature time-series at a known altitude.