#include "cs_defs.h"
Go to the source code of this file.
Functions | |
cs_real_t | cs_intprf (int nprofz, int nproft, const cs_real_t profz[], const cs_real_t proft[], const cs_real_t profv[], cs_real_t xz, cs_real_t t) |
Temporal and z-axis interpolation for meteorological profiles. More... | |
void | cs_intprz (int nprofz, const cs_real_t profz[], const cs_real_t profv[], cs_real_t xz, int *z_lv, cs_real_t *var) |
Z-axis interpolation for meteorological profiles. More... | |
cs_real_t cs_intprf | ( | int | nprofz, |
int | nproft, | ||
const cs_real_t | profz[], | ||
const cs_real_t | proft[], | ||
const cs_real_t | profv[], | ||
cs_real_t | xz, | ||
cs_real_t | t | ||
) |
Temporal and z-axis interpolation for meteorological profiles.
An optimized linear interpolation is used.
[in] | nprofz | total number of measure points |
[in] | nproft | total number of time values |
[in] | profz | z coordinates of measure points |
[in] | proft | physical times of dataset acquisition |
[in] | profv | measured values |
[in] | xz | interpolation elevation |
[in] | t | interpolation time |
void cs_intprz | ( | int | nprofz, |
const cs_real_t | profz[], | ||
const cs_real_t | profv[], | ||
cs_real_t | xz, | ||
int * | z_lv, | ||
cs_real_t * | var | ||
) |
Z-axis interpolation for meteorological profiles.
An optimized linear interpolation is used.
[in] | nprofz | total number of measure points |
[in] | profz | z coordinates of measure points |
[in] | profv | measured values |
[in] | xz | interpolation elevation |
[out] | z_lv | index of lower and upel level (optional, size 2), or NULL |
[out] | var | interpolated value |
An optimized linear interpolation is used.
[in] | nprofz | total number of measure points |
[in] | profz | z coordinates of measure points |
[in] | profv | measured values |
[in] | xz | interpolation elevation |
[out] | z_lv | index of lower and upel level (optional, size 2), or nullptr |
[out] | var | interpolated value |