Commits
ymuqun committed a44d8b77328
Purpose: a bug fix Description: HDF4 implicitly supports SDS with array rank 0(A scalar value)(no documentation specified); NetCDF also supports this. H4toh5 converter didn't consider this effect. Solution: 1. This fix is only for NetCDF file only since ROMS NC file indeed has rank 0 data. 2. Add several if else blocks to make the rank 0 case convertable. In the mean time, also find several bugs related to HDF4 product; file the bug report already. [details about the changes, algorithm, etc...] [Please as detail as you can since your own explanation is better than others guessing it from the code.] Platforms tested: Very hard to use h5cc(in fact, the path to zlib library no longer valid) at solaris 2.7. Only test linux redhat 8 and solaris 2.7. [machines you have tested the changed version. This is absolute important. Test it out on at least two or three different platforms such as Big-endian-32bit (SUN/IRIX), little-endian-32(LINUX) and 64-bit (IRIX64/UNICOS/DEC-ALPHA) would be good.]