Commits
ymuqun committed 0a8cb7da370
Purpose: Make h4toh5 conversion library convert netCDF file to HDF5 file Description: 1. HDF SD interface can be used to read netCDF file, correspondingly h4toh5 converter should convert netCDF file to HDF5 file. However, since netCDF file can only recongnize some SD interfaces, the original conversion library handles the general HDF APIs; A middle-size code modification should be done in order to successfully convert netCDF to HDF5. 2. The modification includes rewrite H4toH5sds and add several functions: H4toH5sdscdf and H4toH5alldimscalecdf and etc. Modify H4toH5open and H4toH5open_id and H4toH5close; Modify the converter utility and H4toH5all_lone_sds function. 3. We only handle general netCDF file conversion, for special netCDF file, the conversion may be failed. User can use H4toH5all_lone_sds and H4toH5sds in H4toH5 conversion library to convert one netCDF variable. 4. The tested netCDF file includes both 2.3 and 3.2 versions. Solution: We will wait to see bugs. Platforms tested: linux 2.2.18