1 #ifndef RADARELAB_ALGO_VPR_H
2 #define RADARELAB_ALGO_VPR_H
12 constexpr
unsigned VPR_NMAXLAYER = 70;
13 constexpr
float VPR_MISSING = -9999.;
17 std::array<float, VPR_NMAXLAYER> val;
18 std::array<long int, VPR_NMAXLAYER> area;
20 VPR(
const VPR&) =
default;
22 VPR& operator=(
const VPR&) =
default;
23 VPR& operator=(VPR&&) =
default;
26 for (
unsigned i = 0; i < size(); ++i)
33 size_t size()
const {
return VPR_NMAXLAYER; }
48 Livmin(
const VPR& vpr);
52 struct InstantaneousVPR
54 const Volume<double>& volume;
55 const Volume<unsigned char>& qual;
57 Volume<unsigned char>& flag_vpr;
79 int func_vpr(
long int *cv,
long int *ct, std::vector<float>& vpr1, std::vector<long int>& area_vpr);
82 InstantaneousVPR(
const Volume<double>& volume,
const Volume<unsigned char>& qual, Volume<unsigned char>& flag_vpr,
int az_min,
int az_max);
91 VPR combine_profiles(
const VPR& vpr0,
const VPR& vpr1,
long int cv,
long int ct);
Definisce le principali strutture che contengono i dati.