Fill dst with data from src, coping with the two volumes having a different number of beams per scan.
Merger is the function used to merge beams from src into dst. It takes the source PolarScan, the destination PolarScan and a vector with the indices of the beams of src that need to be used.
99 dst.load_info = src.load_info;
100 dst.quantity = src.quantity;
101 dst.units = src.units;
102 dst.radarSite=src.radarSite;
103 for (
unsigned iel = 0; iel < src.size(); ++iel)
105 const PolarScan<T>& src_scan = src.at(iel);
106 PolarScan<T>& dst_scan = dst.append_scan(src_scan.beam_size, src_scan.elevation, src_scan.cell_size);
108 dst_scan.nodata = src_scan.nodata;
109 dst_scan.undetect = src_scan.undetect;
110 dst_scan.gain = src_scan.gain;
111 dst_scan.offset = src_scan.offset;
virtual void resample_polarscan(const PolarScan< T > &src, PolarScan< T > &dst, double src_beam_width) const =0
Fill dst with data from src, using the given merger function.