Commits
clee83 committed 18ac0d076f6
Fix a bug regarding one-dimensional Longitude and Latitude geo-location field under Swath. Previously, I assumed that Longitude and Latitude included in a Swath group are always two-dimensional. It turns out that there is at least an exception. The following file has one-dimensional Longitude and Latitude. abridged/HDFEOS2/LaRC/MOP02/MOP02-20000303-L2V5.7.1.val.hdf , which came from ftp://l4ftl01.larc.nasa.gov/MOPITT/MOP02.003/2000.03.03/MOP02-20000303-L2V5.7.1.val.hdf The HDF-EOS2 discreminate one-dimensional field and multi-dimensional field; the former is implemented by a Vdata and the latter is implemented by an SDS. Previously, only SDS handling routine has had a complete implementation regarding Longitude and Latitude. So, if one dimensional Lontitude or Latitude is used, incomplete Vdata handling routine has been called.