RAVE
|
Type definitions for RAVE. More...
Go to the source code of this file.
Classes | |
struct | PolarNavigationInfo |
Provides user with navigation information. More... | |
struct | PolarObservation |
struct | PolarObservationLinkedList |
Linked list version of the PolarObservation. More... | |
Macros | |
#define | RAVEIO_API_ODIM_VERSION RaveIO_ODIM_Version_2_3 |
Typedefs | |
typedef enum RaveIO_ODIM_Version | RaveIO_ODIM_Version |
The /Conventions version in a ODIM HDF5 file. | |
typedef enum RaveIO_ODIM_H5rad_Version | RaveIO_ODIM_H5rad_Version |
The /what/version in a ODIM HDF5 file. | |
typedef enum RaveValueType | RaveValueType |
Different value types. | |
typedef enum Rave_ObjectType | Rave_ObjectType |
Object types that defines the /what/object in the ODIM format. | |
typedef enum Rave_ProductType | Rave_ProductType |
Product types that defines the <datasetX>/what/product in the ODIM format. | |
typedef enum RaveDataType | RaveDataType |
Different data types that are supported during transformation. | |
typedef enum RaveTransformationMethod | RaveTransformationMethod |
Transformation methods. | |
typedef struct PolarNavigationInfo | PolarNavigationInfo |
Provides user with navigation information. | |
typedef struct PolarObservation | PolarObservation |
typedef struct PolarObservationLinkedList | PolarObservationLinkedList |
Linked list version of the PolarObservation. | |
Functions | |
int | get_ravetype_size (RaveDataType type) |
Returns the size of the datatype. | |
Rave_ProductType | RaveTypes_getProductTypeFromString (const char *name) |
Translates the string representation of the product type into the enum. | |
const char * | RaveTypes_getStringFromProductType (Rave_ProductType type) |
Returns the string representation of the product type. | |
Rave_ObjectType | RaveTypes_getObjectTypeFromString (const char *name) |
Translates the string representation of the object type into the enum. | |
const char * | RaveTypes_getStringFromObjectType (Rave_ObjectType type) |
Returns the string representation of the object type. | |
void | RaveTypes_FreePolarObservationLinkedList (PolarObservationLinkedList *obs) |
Deallocates this linked list and all its children. | |
PolarObservation * | RaveTypes_PolarObservationLinkedListToArray (PolarObservationLinkedList *obs, int *nritems) |
Creates an array of PolarObservations from a PolarObservationLinkedList. | |
PolarObservation * | RaveTypes_FilterPolarObservationDataValues (PolarObservation *observations, int nobservations, int *ndataobservations) |
Removes all items that are not data-values in the observation array. | |
void | RaveTypes_SortPolarObservations (PolarObservation *observations, int nobservations) |
Sorts the array of observations. | |
Type definitions for RAVE.
typedef struct PolarNavigationInfo PolarNavigationInfo |
Provides user with navigation information.
typedef struct PolarObservationLinkedList PolarObservationLinkedList |
Linked list version of the PolarObservation.
typedef enum Rave_ObjectType Rave_ObjectType |
Object types that defines the /what/object in the ODIM format.
typedef enum Rave_ProductType Rave_ProductType |
Product types that defines the <datasetX>/what/product in the ODIM format.
typedef enum RaveDataType RaveDataType |
Different data types that are supported during transformation.
typedef enum RaveIO_ODIM_H5rad_Version RaveIO_ODIM_H5rad_Version |
The /what/version in a ODIM HDF5 file.
typedef enum RaveIO_ODIM_Version RaveIO_ODIM_Version |
The /Conventions version in a ODIM HDF5 file.
typedef enum RaveTransformationMethod RaveTransformationMethod |
Transformation methods.
typedef enum RaveValueType RaveValueType |
Different value types.
When initializing a data field it is wise to always initiallize to nodata instead of undetect.
enum Rave_ObjectType |
Object types that defines the /what/object in the ODIM format.
enum Rave_ProductType |
Product types that defines the <datasetX>/what/product in the ODIM format.
enum RaveDataType |
Different data types that are supported during transformation.
The /what/version in a ODIM HDF5 file.
enum RaveIO_ODIM_Version |
enum RaveValueType |
int get_ravetype_size | ( | RaveDataType | type | ) |
Returns the size of the datatype.
[in] | type | - the rave data type |
PolarObservation * RaveTypes_FilterPolarObservationDataValues | ( | PolarObservation * | observations, |
int | nobservations, | ||
int * | ndataobservations ) |
Removes all items that are not data-values in the observation array.
[in] | observations | - the array to be filtered |
[in] | nobservations | - number of observations |
[out] | ndataobservations | - the number of returned observations containing data values |
void RaveTypes_FreePolarObservationLinkedList | ( | PolarObservationLinkedList * | obs | ) |
Deallocates this linked list and all its children.
[in] | obs | - the observation to release |
Rave_ObjectType RaveTypes_getObjectTypeFromString | ( | const char * | name | ) |
Translates the string representation of the object type into the enum.
[in] | name | - the string representation of the object type |
Rave_ProductType RaveTypes_getProductTypeFromString | ( | const char * | name | ) |
Translates the string representation of the product type into the enum.
[in] | name | - the string representation of the product type |
const char * RaveTypes_getStringFromObjectType | ( | Rave_ObjectType | type | ) |
Returns the string representation of the object type.
[in] | type | - the object type |
const char * RaveTypes_getStringFromProductType | ( | Rave_ProductType | type | ) |
Returns the string representation of the product type.
[in] | type | - the product type |
PolarObservation * RaveTypes_PolarObservationLinkedListToArray | ( | PolarObservationLinkedList * | obs, |
int * | nritems ) |
Creates an array of PolarObservations from a PolarObservationLinkedList.
[in] | obs | - the linked list to be transformed into an array |
[out] | nritems | - the number of items in the array |
void RaveTypes_SortPolarObservations | ( | PolarObservation * | observations, |
int | nobservations ) |
Sorts the array of observations.
All observations that are not data will be places furthest down in the array.
[in] | observations | - the observations to be sorted |
[in] | nobservations | - number of observations to be sorted |