Append a scan to this volume.
It is required that scans are added in increasing elevation order, because higher scan indices need to correspond to higher elevation angles.
It is required that beam_size is lower than
- Parametri
-
[in] | beam_count | |
[in] | beam_size | |
[in] | elevation | - PolarScan elevation (degrees) |
[in] | cell_size | - PolarScan cell size [m] |
Definizione alla linea 317 del file volume.h.
Referenziato da radarelab::Volume< unsigned char >::append_scan(), radarelab::volume::ODIMLoader::load(), e elaboradar::CUM_BAC::read_odim_volume().
320 if (!this->empty() && elevation <= this->back().elevation)
322 LOG_CATEGORY(
"radar.io");
323 LOG_ERROR(
"append_scan(beam_count=%u, beam_size=%u, elevation=%f, cell_size=%f) called with an elevation that is not above the last one (%f)", beam_count, beam_size, elevation, cell_size, this->back().elevation);
324 throw std::runtime_error(
"elevation not greather than the last one");
327 this->push_back(PolarScan<T>(beam_count, beam_size));
328 this->back().elevation = elevation;
329 this->back().cell_size = cell_size;