What Interpolate_1d do? #2710
-
interpolate_1dappears in the calculation of many functions. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
t750 = interpolate_1d(units.Quantity(750, 'hPa'), units.Quantity([1000, 500], 'hPa'), units.Quantity([20, 25], 'degC'))
|
Beta Was this translation helpful? Give feedback.
interpolate_1d
interpolates to calculate a value within a set of discrete values. For instance, if you have two temperature values, say 20 degC and 25 degC, given at 1000 hPa and 500 hPa, you could calculate an estimate of the value at 750 hPa using this:I should also note thatinterpolate_1d
is only intended for internal use and isn't part of the supported API. It is not guaranteed to exist within the codebase for future use.