wradlib: [3D Matching]: Read hdf4 files with netcdf4 fails.

Read the TRMM hdf4 files with netCDF4 fails:

>>> nc.Dataset(trmm_2a23_file, 'r')
...
netCDF4\_netCDF4.pyx in netCDF4._netCDF4.Dataset.__init__ (netCDF4\_netCDF4.c:12617)()

IOError: NetCDF: Unknown file format

Same with

nc.Dataset(trmm_2a23_file, 'r', disk_format="HDF4")

Is this a Windows issue with linking the correct libraries and stuff (see e.g. here)?

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 19 (9 by maintainers)

Most upvoted comments

Ain’t them great: self-describing formats!

Then, we can further differentiate “days” by comparing the first element. The greater one is DayofYear, the lesser one DayOfMonth. If they are equal, it’s January 😬.

The “s” is integer in the case of Second and floating point in the case of scanTime_sec.

I searched for other ways, but to no avail. For now, I guess we have to trust that the order of indices/names of those hidden subdatasets is same for each TRMM hdf4 file…