HDFEOS
  1. HDFEOS

h4h5tools

Public

Network

 
AuthorCommitMessageCommit Date
swegnerswegner
0187be40dceRemove C99-style comments cholee made these changes through Scott's account
choleecholee
083f04068a4Remove one instance of C99 comment. This header file is included many files. Others are not affected, yet.
ymuqunymuqun
7c9cba8b5e3Update copyright information for h4h5tools release.
ymuqunymuqun
2401f7a0492Update copyright information for h4h4tools release
ymuqunymuqun
088c34be25a Add release and installation doc. for h4h5tools release
choleecholee
c9c5467bc67Make -nc4strict imply -nc4
swegnerswegner
9374195498fAdd a few more tuneups to the Windows h4h5tools files: -- Update example test script and move it to the root Windows directory -- Disable test generator code by default on all configurations -- Add a note about Visual Studio .NET in the documentation.
choleecholee
c54009d01f1test_ncdump.sh will print summary
swegnerswegner
94881dfd65eUpdate documentation for Windows, including new EOS functionality.
choleecholee
46df0426001Remove RIS (HDFEOS) from Copyright notice
swegnerswegner
c46f4698f79Purpose: Revise example project to work in new directory structure. Note that the example project isn't actually run by any of the scripts. This mirrors unix.
swegnerswegner
14aae32d335Purpose: Fix some of the install scripts for h4h5. Note that we no longer need install_dll.BAT, because we don't build DLL versions.
ymuqunymuqun
724431b613cUse h5diff -q to supress some irrelevant tests generated on the screen.
swegnerswegner
0d5b981ed32Purpose: Fix h4toh5 test script for EOS2 support Tested: VS2005 on WinXP
choleecholee
0cf1c0342c3Add a shell script to check if the generated file can be read by netCDF4
ymuqunymuqun
3c980610adeUpdate RELEASE document name
ymuqunymuqun
1bb93e2f017delete wrong release file. This line, and those below, will be ignored-- D release20.txt
swegnerswegner
e346293d41bMore updates to Windows test scripts. At this point, all tests pass, without EOS
choleecholee
9990294b01dRelease note
swegnerswegner
a5244883d23Purpose: First round of updates to the Windows test scripts. Note that hdfeos support is still untested.
ymuqunymuqun
237a6378d01Update
swegnerswegner
ad3b62c7f12Purpose: Dislabe h4h5testeos project by default in Windows. This is because the default setting is to not use EOS, so the test cannot build.
choleecholee
2dcd085e6d6Remove comments from reconfigure, and regenerate configure Edit h4toh5eostest.c so that it does not cause a compiler error when --with-hdfeos2 is not given
choleecholee
a3e9cd1664bAdd bin/reconfigure and regenerate Makefile.in and configure
choleecholee
7736b2b6da6Add COPYING and Copyright.c files
swegnerswegner
c1afee53369Purpose: Create new Visual Studio 2005 project files Description: This is a re-write of the Windows project files to use the latest source code, and include hdfeos support. We have dropped support for Visual Studio 6.0, and will only support Visual Studio 2005 in the future. By default, h4h5tools is built without HDFEOS support, but can easily be enabled. Note that the documentation hasn't been updated yet-- I'll get to that soon. Tested: Only built, VS2005 on WinXP
choleecholee
6485d29f4c0Modify Copyright notices in each file Two different statements: - JOINT - configure.ac - starting with dnl - Makefile.am and .sh files - starting with # - .bat files - starting with rem - .c, .h files - C-style - THGOnly - .c, .h files - C-style
choleecholee
3018b3de39fReject if an HDF-EOS2 file has any EOS2 data set that does not have any field If an EOS data set does not have any field, H4toH5_sds() cannot be reached; so, H4toH5all_dimscale() and none of EOS handling functions can be called. The conversion will succeed, but the converted file will lose dimension information because it didn't have a chance to call any HDF-EOS2 API. To prevent losing information, h4toh5 explicitly rejects those files. Perforce @305
choleecholee
b16a09417d2Expand macros * nomem1_break(msg) -> { H4TOH5ERROR_NOMEM1(msg); break; } * err1_break(code, msg) -> { H4TOH5ERROR_SET1(code, msg); break; } * err2_break(code, msg, a1) -> { H4TOH5ERROR_SET2(code, msg, a1); break; } * nomem1_flagbreak(var, msg) -> { H4TOH5ERROR_NOMEM1(msg); var = 1; break; } * err1_flagbreak(code, var, msg) -> { H4TOH5ERROR_SET1(code, msg); var = 1; break; } * err_break(code) -> { H4TOH5ERROR_SET0(code); break; } * err_flagbreak(code, var) -> { H4TOH5ERROR_SET0(c...
choleecholee
de12369c059Add -nc4strict option, more comments - if -nc4strict is given and an HDF4 vdata or sds can be an HDF5 dataset that cannot be read by netCDF4, reject it. - more comments - add two test cases that are not handled correctly; but, it will not happen in the real world Perforce @289 ~ @297
choleecholee
6a77d674d69Add more comments - Replace h4toh5open_converted_dataset() with get_converted_hdf5dataset() - Replace MAKE_HDFVIEW_HAPPY with MAKE_HDFVIEW_READABLE - Replace happy() with call_debugger() - Move macro definitions to h4toh5vector.h - Remove unnecessary comments regarding dimensional scale - Add more comments on interpolation
choleecholee
25d1f1d23b3Add comments Perforce @288
choleecholee
657846458c6Copy attributes if h4toh5 creates new dataset for dimensional scales. HDF-EOS2 Swath may have dimension maps. If they exist, h4toh5 creates interpolated datasets so that netCDF4 can find corresponding dimensional scales. For example, HDF-EOS2 Swath Geolocation field "Latitude" may have several attributes such as "long_name" and "unit". If there are dimension maps between "Latitude" and a datafield, a dimension scale like "Latitude_0:2_0:2" is created. This dimensional scale should have the s...
choleecholee
05b3fa315cfHandle HDF4 vdata which is used for EOS attribute and 1d field Check if vdata is part of EOS, don't use general h4toh5 routine; - to correctly copy EOS attribute - to correctly convert EOS 1d field Since generic h4toh5 routine is not used, it generates HDF4_OBJECT_TYPE = 'vdata' and HDF4_OBJECT_NAME. Update expected results. Perforce @258 ~ @262
choleecholee
0f0f9c78791Make hard link for EOS swath datafield. - update expected results Each SWATH has two groups: Datafield and Geolocation field, and they share the same dimension. Due to the restriction of netCDF4, dimension should be located in both Datafield and Geolocation field. So, put a hard link for each dimension so that the dimension can be read from both Datafield and Geolocation field. Expected results were regenerated. All expected results (except two cases: swath_tll, swath_tll02 which have too...
choleecholee
3fc20795c7dHandle EOS swath and fix many EOS grid bugs - make EOS swath conform to CF convention - EOS test-suite including about 30 grid and swath files and expected results - for grid: both 2d and 1d projections with different order (YX or XY) - for swath: various settings on dimensional maps - fix a bug that does not print accumulated error messages to stderr It works various cases, and for 48 nsidc real files, it was not crashed. (I'm checking correctness.) Perforce @207 ~ @250
Private HDFPrivate HDF
086a6aa399bCheck in working versions of snapshot and runtest (for daiily tests).
Private HDFPrivate HDF
a136fe9a97eRestoring previous changes for snapshot. These shouldn't affect builds outside daily test.
choleecholee
f37bdb32dbfHDF-EOS2 grid dimensional scales almost conform to CF convention. For 1-d dimscales, described in 5.1 of CF convention document, * "lon" and "lat" are both dimensions and variables For 2-d dimscales, described in 5.2 of CF convention document, * "lon" and "lat" are variables, but not dimensions * "XDim" and "YDim" are dimensions, but not variables The fact that "XDim" and "YDim" are not variables may violate CF convention. However, we didn't want to pretend "XDim" and "YDim" have mea...
ymuqunymuqun
5b8891e9961revert src build change. Now one has to build h4h5tools under the source directory.
choleecholee
1596df14df2Let test drivers for lib and h4toh5 run. - remove -q argument for h5diff - don't add AR_RnGd.hdf and MOD10A1.hdf cases because they will be removed from testh4toh5.sh.in too.
choleecholee
65399a03771Make XDim and YDim coordinate variables XDim and YDim are both dimensions and variables. Due to "This is a netCDF dimension but not a netCDF variable." attribute, they were not recognized as variables. This changelist fixed this problem.
choleecholee
577e0bcd580To prevent nc_close, which is a part of netCDF4, from causing deadly segmentation fault nc_close() causes segmentation fault while freeing a heap object. When I attached a debugger, it seemed that object is related to "coordinates" attribute. The dataspace of "coordinates" was changed from simple to scalar. After changing this type, nc_close() does not cause crash. One thing I forgot to mention in the previous commit is that the actual EOS2 files are not tested anymore because the expected ...
choleecholee
eff4268bdf7Support sinusoidal dimensional scales for HDF-EOS2 grid dataset. - create XDim, YDim as 1-dimensional array - create lon, lat variables which are 2-dimensional arrays - the grid dataset uses XDim and YDim as dimensions and has an attribute "coordinates" = "lon lat" see #5.2 Two-Dimensional Latitude, Longitude, Coordinate Variables http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.1/cf-conventions.html To implement this, control flow in H4toH5all_dimscale has been changed. Previ...
Private HDFPrivate HDF
48072dd1c45Configure and Makefile changes to support making in builddir.
choleecholee
e1685329788Add fake dimension map (EOS Swath) during conversion Swath data may not have any dimension maps, this case has not been handled correctly. This case causes an error. To handle this case without unnecessarily complicated branches, add fake dimension maps. For example, AR_Ocean has Ocean_product_quality_flag datatfield and Latitude, Longitude and Time geofields. Each field defines following dimensions: - Ocean_product_quality_flag: DataTrack_lo, DataXTrack_lo, Qual_dim - Time: ...
choleecholee
7a5aa2183c7Fix faults occurring when empty string is passed. - empty string is recognized as one element, which is incorrect - Fix - Before for (i = j = 0; j <= len; ++j) if (j == len || s[j] == ',') - After for (i = j = 0; j <= len; ++j) if ((j == len && len) || s[j] == ',')
choleecholee
d17b8802d10Add a test-suite for h4toh5 with -eos -nc4 option, and so on - create a test-suite for h4toh5 with -eos -nc4 option - AR_RnGd.hdf, MOD10A1.hdf are added (both have grid dataset) - modify codes that cause warnings regarding "const" modifier - make it compile with HDF5 1.6 - remove "-q" from h5diff for lib test cases - add H5_USE_HDFEOS2 substitution rule for test driver To build with HDF 1.8, configure option would be like: ./configure \ --prefix=/mnt/scr1/cholee/h4h5tools...
choleecholee
35da113b0caMake test run pass successfully. - remove -q option from h5diff - do not add DIMENSION_LIST, REFERENCE_LIST, NAME, CLASS attributes for ds dataset by default
choleecholee
1d9c5c8ea21Suppress error message regarding H5Aopen_name() (minor fix)