I have a HDF5 file with a field of radar observations. I'd like to read this data and produce a GeoTiff that contains the spatial metadata. I can access the data, but I can't access the geographical metadata (which I assume it must be inside the file).
The file is one of these that can be freely downloaded here.
The code I have is:
import h5py filename = 'RAD_NL25_PCP_NA_202103111340.h5' f = h5py.File(filename, 'r') data = f['image1']['image_data'][:,:]
This works to get a numpy array with the data. Now, the metadata seems to be in the group
f['geographic']['map_projection'] but this seems to be an empty without dataset.
Do you know how to inspect this file to get the metadata, or how to assert that it is really an empty group?