Commits
clee83 committed 8bc09ec4538
When an option is given, SDS objects that do not belong to any of HDF-EOS2 grids or swaths will be converted. Previously, -nc4strict rejected it, and -nc4 converted without error, but the generated file couldn't be read by netCDF-4. With a new option, users have another option. The converter does not reject it, but creates "fake dimensions" so that netCDF-4 does not complain about the absence of dimensions. In this context, the "fake" dimension is an empty HDF5 dimensional scale. The fake dimension does not have any values; it just gives the dimension name and the length of a dimension. The name is not fake, though. This change asssumes that SDS objects define associated dimension name. This additional feature is implemented to handle bugzilla #1373.