Elaboradar 0.1
|
◆ read_sp20_volume()
Read from SP20 data file.
Definizione alla linea 152 del file cum_bac.cpp. 153{
154 using namespace radarelab::volume;
155 LOG_CATEGORY("radar.io");
157
158 SP20Loader loader;
159
160 Scans<double> z_volume;
161 Scans<double> w_volume;
162 Scans<double> v_volume;
163 loader.vol_z = &z_volume;
164 loader.vol_w = &w_volume;
165 loader.vol_v = &v_volume;
166 loader.load(nome_file);
167
168 // Normalise the scan elevations to match the elevations requested in Site
170 z_volume.normalize_elevations(elev_array);
171 w_volume.normalize_elevations(elev_array);
172 v_volume.normalize_elevations(elev_array);
173
174 if (do_clean)
175 {
176 for (unsigned i = 0; i < z_volume.size(); ++i) {
178 * v_volume.at(i).gain + v_volume.at(i).offset;
179 algo::Cleaner::clean(z_volume.at(i), w_volume.at(i), v_volume.at(i), bin_wind_magic_number);
180 }
181 }
182
183 algo::azimuthresample::MaxOfClosest<double> resampler;
185// Copy all radar site information to volume data
187
188}
radarelab::Volume< double > & volume Set to Z undetect value the Zpixels classified as non-meteo echoes. Definition cum_bac.h:106 void normalize_elevations(const std::vector< double > &elevations) Change the elevations in the PolarScans to match the given elevation vector. Definition volume.h:397 void resample_volume(const Volume< T > &src, Volume< T > &dst, double src_beam_width) const Merge. Definition azimuth_resample.h:72 Referenzia do_medium, radarelab::volume::Scans< T >::load_info, radarelab::volume::Scans< T >::normalize_elevations(), radarelab::volume::Scans< T >::offset, radarelab::algo::azimuthresample::LevelwiseResampler< T >::resample_volume(), site, e volume. |