ROPO
Loading...
Searching...
No Matches
ropo_hdf.h
1#ifndef _ROPO_HDF_H_
2#define _ROPO_HDF_H_
3
4/* Checks if a file is of hdf format.
5 */
6
7extern int is_hdf_file(char *filename);
8
9/* Reads radar data from an odim hdf5 file using rave, and fills in a ropo
10 FmiImage object. The returned rave object can be used to fill in the missing
11 values when converting back from ropo to rave.
12 */
13extern PolarVolume_t *read_h5_radar_data(char *pvol_file, FmiImage **target);
14
15/* Writes the radar data to file, in odim hdf5 format using rave. Uses a ropo
16 object as data source, and a rave template to fill the missing data. A good
17 choice for the template would be the originating PolarVolume_t object
18 returned by read_h5_radar_data.
19 */
20
21extern int write_h5_radar_data(FmiImage *source, char *pvol_file,
22 PolarVolume_t *template);
23
24#endif /* _ROPO_HDF_H_ */