[Model,hh] = BoundaryAtm(h,hInt,hhInt,BaseModel,[p1],...,[pN])
Maps input altitudes in the interval [hInt(1),hInt(2)] into altitudes in the interval [hhInt(1) hhInt(2)] before calling the atmospheric model 'BaseModel' with altitude hh given parameters p1,...,pN.
Intended to facilitate using atmospheric models in the earth's boundary layer where certain altitudes should be referenced to ground level, and other altitudes should be referenced to sea level. Generally, hInt(2) = hhInt(2) = boundary-layer altitude limit. However, code will accept other inputs and use them accordingly. Altitudes in interval hInt are set according to: hh = hhInt(1)+(diff(hhInt)/diff(hInt)).*(h-hInt(1)); Input altitudes less than hInt(1) are set to hhInt(1).
|
Parameters |
Description |
|
h [vector] |
Altitude above sea level (m) |
|
hInt [array] |
Altitude interval for mapping (m). Can be of size 1 x 2 or NScreens x 2. |
|
hhInt [array] |
Altitude interval for output (m). Can be of size 1 x 2 or NScreens x 2. |
|
BaseModel [string] |
Atmospheric modeling function on path |
|
p1,...,pN [arb] |
(Optional) Parameters required for BaseModel |
|
Return Values |
Description |
|
Model [vector] |
Evaluated atmospheric model for new altitudes |
|
hh [vector] |
Mapped altitudes used for evaluating model |
|
Copyright (c) 2009. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|