radarlib 1.4.6
|
OdimH5 v2.1 Polar Volume. More...
#include <radarlib/odimh5v21_classes.hpp>
Public Member Functions | |
virtual void | setLongitude (double val) |
Set the value of 'longitude' attribute. More... | |
virtual double | getLatitude () |
Get the value of 'longitude' attribute. More... | |
virtual void | setLatitude (double val) |
Set the value of 'latitude' attribute. More... | |
virtual double | getAltitude () |
Get the value of 'altitude' attribute. More... | |
virtual void | setAltitude (double val) |
Set the value of 'altitude' attribute. More... | |
virtual std::string | getTaskOrProdGen () |
Get the 'task' attribute value. More... | |
virtual void | setTaskOrProdGen (const std::string &val) |
Set the 'task' attribute value. More... | |
virtual time_t | getStartEpochs () |
Get the 'startepochs' attribute value. More... | |
virtual void | setStartEpochs (time_t val) |
Set the 'startepochs' attribute value. More... | |
virtual time_t | getEndEpochs () |
Get the 'endepochs' attribute value. More... | |
virtual void | setEndEpochs (time_t val) |
Set the 'endepochs' attribute value. More... | |
virtual std::string | getSystem () |
Get the 'system' attribute value. More... | |
virtual void | setSystem (const std::string &val) |
Set the 'system' attribute value. More... | |
virtual std::string | getSoftware () |
Get the 'software' attribute value. More... | |
virtual void | setSoftware (const std::string &val) |
Set the 'software' attribute value. More... | |
virtual std::string | getSoftwareVer () |
Get the 'sw_version' attribute value. More... | |
virtual void | setSoftwareVer (const std::string &val) |
Set the 'sw_version' attribute value. More... | |
virtual double | getZR_A () |
Get the 'zr_a' attribute value. More... | |
virtual void | setZR_A (double val) |
Set the 'zr_a' attribute value. More... | |
virtual double | getZR_B () |
Get the 'zr_b' attribute value. More... | |
virtual void | setZR_B (double val) |
Set the 'zr_b' attribute value. More... | |
virtual double | getKR_A () |
Get the 'kr_a' attribute value. More... | |
virtual void | setKR_A (double val) |
Set the 'kr_a' attribute value. More... | |
virtual double | getKR_B () |
Get the 'kr_b' attribute value. More... | |
virtual void | setKR_B (double val) |
Set the 'kr_b' attribute value. More... | |
virtual bool | getSimulated () |
Get the 'simulated' attribute value. More... | |
virtual void | setSimulated (bool val) |
Set the 'simulated' attribute value. More... | |
virtual int | getScanCount () |
Get the number of scans store in this volume. More... | |
virtual PolarScan * | createScan () |
Create a new scan in this volume. More... | |
virtual PolarScan * | getScan (int index) |
Get a pointer to a scan of the volume. More... | |
virtual void | removeScan (int index) |
Remove a scan from the volume. More... | |
virtual std::vector< PolarScan * > | getScans () |
Get the pointers to all the scans in the volume. More... | |
virtual std::vector< PolarScan * > | getScans (double elevation, double gap=0) |
Get the pointers to all the scans at the elevation angle indicated +/- a given gap More... | |
virtual std::vector< PolarScan * > | getScansBetween (double minElevation, double maxElevation) |
Get the pointers to all the scans with an elevation angle between the given limits. More... | |
virtual std::vector< PolarScan * > | getScans (const char *quantity) |
Get the pointers to all the scans that contains indicated quantity More... | |
virtual std::vector< double > | getScanAngles () |
Get the elevation angle for each scan in the volume. More... | |
virtual std::vector< double > | getElevationAngles () |
Get the elevation angles for all the scans in the volumes without duplicates. More... | |
virtual std::set< std::string > | getStoredQuantities () |
Get the set of radar quantities stored in the scans. More... | |
virtual std::string | getConventions () |
Get OdimH5 conventions attribute value. More... | |
virtual void | setConventions () |
Set OdimH5 conventions attribute value to the value required by OdimH5 specification. More... | |
virtual H5::H5File * | getFile () |
Get the associated HDF5 file object. More... | |
virtual H5::Group * | getH5Object () |
Get the HDF5 group associated to this object. More... | |
virtual bool | existWhat () |
Test is the WHAT attributes group exist. More... | |
virtual bool | existWhere () |
Test is the WHERE attributes group exist. More... | |
virtual bool | existHow () |
Test is the HOW attributes group exist. More... | |
virtual MetadataGroup * | getWhat () |
Get the WHAT attributes group. More... | |
virtual MetadataGroup * | getWhere () |
Get the WHERE attributes group. More... | |
virtual MetadataGroup * | getHow () |
Get the HOW attributes group. More... | |
virtual std::string | getObject () |
Get the value of 'object' attribute. More... | |
virtual void | setObject (const std::string &val) |
Set the value of 'object' attribute. More... | |
virtual std::string | getVersion () |
Get the value of 'version' attribute. More... | |
virtual void | setVersion (const std::string &val) |
Set the value of 'version' attribute. More... | |
virtual time_t | getDateTime () |
Get the joined value of 'date' and 'time' attributes. More... | |
virtual void | setDateTime (const time_t val) |
Set the value of 'date' and 'time' attributes. More... | |
virtual SourceInfo | getSource () |
Get the value of 'source' attribute. More... | |
virtual void | setSource (const SourceInfo &val) |
Set the value of 'source' attribute. More... | |
virtual int | getDatasetCount () |
Get the number of datasets in the file. More... | |
virtual OdimDataset * | createDataset () |
Create a new dataset. More... | |
virtual OdimDataset * | getDataset (int index) |
Get a dataset More... | |
virtual void | removeDataset (int index) |
Delete a odim dataset group from the odim object. More... | |
OdimH5 v2.1 Polar Volume.
This class represents an OdimH5 PVOL composed of SCAN objects.
Polar volume specific attributes can be manipulated using specific methods.
Generic data manipulations can be done using methods provided by the OdimObject interface.
|
virtual |
Set the value of 'longitude' attribute.
val | the value to write |
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::WHERERootMetadata.
|
virtual |
Get the value of 'longitude' attribute.
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::WHERERootMetadata.
|
virtual |
Set the value of 'latitude' attribute.
val | the value to write |
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::WHERERootMetadata.
|
virtual |
Get the value of 'altitude' attribute.
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::WHERERootMetadata.
|
virtual |
Set the value of 'altitude' attribute.
val | the value to write |
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::WHERERootMetadata.
|
virtual |
Get the 'task' attribute value.
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::HOWRootMetadata.
|
virtual |
Set the 'task' attribute value.
val | the value to write |
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::HOWRootMetadata.
|
virtual |
Get the 'startepochs' attribute value.
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::HOWRootMetadata.
|
virtual |
Set the 'startepochs' attribute value.
val | the value to write |
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::HOWRootMetadata.
|
virtual |
Get the 'endepochs' attribute value.
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::HOWRootMetadata.
|
virtual |
Set the 'endepochs' attribute value.
val | the value to write |
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::HOWRootMetadata.
|
virtual |
Get the 'system' attribute value.
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::HOWRootMetadata.
|
virtual |
Set the 'system' attribute value.
val | the value to write |
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::HOWRootMetadata.
|
virtual |
Get the 'software' attribute value.
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::HOWRootMetadata.
|
virtual |
Set the 'software' attribute value.
val | the value to write |
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::HOWRootMetadata.
|
virtual |
Get the 'sw_version' attribute value.
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::HOWRootMetadata.
|
virtual |
Set the 'sw_version' attribute value.
val | the value to write |
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::HOWRootMetadata.
|
virtual |
Get the 'zr_a' attribute value.
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::HOWRootMetadata.
|
virtual |
Set the 'zr_a' attribute value.
val | the value to write |
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::HOWRootMetadata.
|
virtual |
Get the 'zr_b' attribute value.
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::HOWRootMetadata.
|
virtual |
Set the 'zr_b' attribute value.
val | the value to write |
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::HOWRootMetadata.
|
virtual |
Get the 'kr_a' attribute value.
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::HOWRootMetadata.
|
virtual |
Set the 'kr_a' attribute value.
val | the value to write |
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::HOWRootMetadata.
|
virtual |
Get the 'kr_b' attribute value.
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::HOWRootMetadata.
|
virtual |
Set the 'kr_b' attribute value.
val | the value to write |
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::HOWRootMetadata.
|
virtual |
Get the 'simulated' attribute value.
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::HOWRootMetadata.
|
virtual |
Set the 'simulated' attribute value.
val | the value to write |
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::HOWRootMetadata.
|
virtual |
Get the number of scans store in this volume.
OdimH5Exception | Throwed if an error occurs |
|
virtual |
Create a new scan in this volume.
OdimH5Exception | Throwed if an error occurs |
|
virtual |
Get a pointer to a scan of the volume.
index | The scan number (from 0 to n-1) |
OdimH5Exception | Throwed if an error occurs |
|
virtual |
Remove a scan from the volume.
index | The scan number (from 0 to n-1) |
OdimH5Exception | Throwed if an error occurs |
|
virtual |
Get the pointers to all the scans in the volume.
OdimH5Exception | Throwed if an error occurs |
|
virtual |
Get the pointers to all the scans at the elevation angle indicated +/- a given gap
elevation | The base elevation angle |
gap | The allowed gap between the scan angle and the base angle |
OdimH5Exception | Throwed if an error occurs |
|
virtual |
Get the pointers to all the scans with an elevation angle between the given limits.
minElevation | The lowest allowed angle |
maxElevation | The highest allowed angle |
OdimH5Exception | Throwed if an error occurs |
|
virtual |
Get the pointers to all the scans that contains indicated quantity
quantity | The quanty name |
OdimH5Exception | Throwed if an error occurs |
|
virtual |
Get the elevation angle for each scan in the volume.
OdimH5Exception | Throwed if an error occurs |
|
virtual |
Get the elevation angles for all the scans in the volumes without duplicates.
OdimH5Exception | Throwed if an error occurs |
|
virtual |
Get the set of radar quantities stored in the scans.
OdimH5Exception | Throwed if an error occurs |
|
virtualinherited |
Get OdimH5 conventions attribute value.
OdimH5Exception | if an unexpected error occurs |
|
virtualinherited |
Set OdimH5 conventions attribute value to the value required by OdimH5 specification.
OdimH5Exception | if an unexpected error occurs |
|
virtualinherited |
Get the associated HDF5 file object.
Get the associated HDF5 file object
OdimH5Exception | if an unexpected error occurs |
|
virtualinherited |
Get the HDF5 group associated to this object.
Get the HDF5 group associated to this object
OdimH5Exception | if an unexpected error occurs |
|
virtualinherited |
Test is the WHAT attributes group exist.
Check if the WHAT attributes group of this object exist.
OdimH5Exception | if an unexpected error occurs |
|
virtualinherited |
Test is the WHERE attributes group exist.
Check if the WHERE attributes group of this object exist.
OdimH5Exception | if an unexpected error occurs |
|
virtualinherited |
Test is the HOW attributes group exist.
Check if the HOW attributes group of this object exist.
OdimH5Exception | if an unexpected error occurs |
|
virtualinherited |
Get the WHAT attributes group.
Get the WHAT attributes group of this object. If it does not exist it will be created
OdimH5Exception | if an unexpected error occurs |
|
virtualinherited |
Get the WHERE attributes group.
Get the WHERE attributes group of this object. If it does not exist it will be created
OdimH5Exception | if an unexpected error occurs |
|
virtualinherited |
Get the HOW attributes group.
Get the HOW attributes group of this object. If it does not exist it will be created
OdimH5Exception | if an unexpected error occurs |
|
virtualinherited |
Get the value of 'object' attribute.
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::WHATRootMetadata.
|
virtualinherited |
Set the value of 'object' attribute.
val | the value to write |
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::WHATRootMetadata.
|
virtualinherited |
Get the value of 'version' attribute.
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::WHATRootMetadata.
|
virtualinherited |
Set the value of 'version' attribute.
val | the value to write |
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::WHATRootMetadata.
|
virtualinherited |
Get the joined value of 'date' and 'time' attributes.
Get the joined value of 'date' and 'time' attributes in a single time_t value
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::WHATRootMetadata.
|
virtualinherited |
Set the value of 'date' and 'time' attributes.
Set the value of 'date' and 'time' attributes using the given time_t value
val | the value to write |
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::WHATRootMetadata.
|
virtualinherited |
Get the value of 'source' attribute.
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::WHATRootMetadata.
|
virtualinherited |
Set the value of 'source' attribute.
Set the value of 'source' attribute according to OdimH5 format, using the values stored in a SourceInfo object
val | the value to write |
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::WHATRootMetadata.
|
virtualinherited |
Get the number of datasets in the file.
Get the number of datasets in the odim object
OdimH5Exception | if an unexpected error occurs |
|
virtualinherited |
Create a new dataset.
Create a new dataset in the odim object
OdimH5Exception | if an unexpected error occurs |
|
virtualinherited |
Get a dataset
Get the existing dataset with the given index
index | the dataset index from 0 to n-1 |
OdimH5Exception | if an unexpected error occurs |
|
virtualinherited |
Delete a odim dataset group from the odim object.
Delete the odim dataset with the given index. Nothing is done if the dataset does not exist
index | the dataset index from 0 to n-1 |
OdimH5Exception | if an unexpected error occurs |