nagg_functions.sh
Modified CHECK_VERSION to test output of --version option.
test_nagg.sh
Added line to call CHECK_VERSION function.
Test passes, but nagg --version fails because input files are still expected.
nagg_options.c
Added function print_nagg_version.
Added calls to close elements in get_*_props functions.
test/testfiles/usage files
Removed -V from help output and from expected output.
Another partial commit of -l implementation. The products_list allocation is
defined now.
Tested: koala (compiled and debug print okay.) Make check still failed.
A partial implementation of the options structure and its related access
functions. Not tested yet.
A skeleton implementation (more like a declaration) of the get_example_props
function.
Tested: it compiles.
test/testnagg_more.sh
Added test for SVM01-16 + IICMO and GMODO as done by Paul Matinolich. Files are in /mnt/hdf/JPSS/CLASS/PaulM-2012-07-30. Make check with NAGG_TESST_MORE fails - the manyinputfilesSVM01-16.txt expected output file seems to be missing 4-SVM15-SVM16 in the filenames.
Updated version to 1.3.1-pre1.
Tested jam & koala, gcc and icc.
log for nagg-User-Examples.docx: Added a sentence to end
of first paragraph in section 1.1 regarding only having
to download data once.
log for other files: Edited for language and usage.
Tested: Adobe Acrobat
src/nagg_options.c
Added support for -v and --version command options.
src/nagg_product.c
Corrected typos in product table.
test/testfiles
Updated expected files to match changes to product table and the new command options.
doc/RELEASE.txt
Added descriptions of these changes to RELEASE.txt.
Tested jam & koala, gcc and icc.
src/nagg_product.c
Corrected granule duration for IICMO.
print_product_lists() function was printing granule duration from the
product_table for the geolocation products. Corrected to print
geolocation_table[i].duration.
test/testfiles/usage.txt
Modified expected output to match changes to the product and geolocation tables.
Tested jam & koala, h5cc with gcc and icc.
Bug fix: JPSS-59 Nagg output file name with product ID sorted
Description: the product ID list, including the Geolocation PID, in the output
file names, were not sorted.
Solution:
For the unpackaged format, since there is only one product ID per file, the
name is always sorted. For the packaged format, use a temporary buffer to hold
all the product ID plus the optional geolocation product ID, then sort it
before using it to generate the header part of the output file names.
Also, update ma...
New feature: -A aggregation time feature added. (JPSS-54)
Initial implementation of test and code to support the -A aggregation time option.
test/testfiles/usage.txt:
test/testfiles/usage-bad-option.txt:
updated with the addition of -A option.
test/testfiles/redro4.txt:
test/testfiles/redro32.txt:
added for new tests of the -A option.
test/testnagg.sh:
Added tests to validate the -A option.
src/nagg_main.c:
src/nagg.h:
src/nagg_posix.h:
src/nagg_options.c:
src/nagg_select_granul...
JPSS-49: -d output directory option
Added test to verify Output directory name, with other product names, will not
exceed the space allocated for the output name buffer.
(Notes: the length check is on the conservative side.)
src/nagg_select_granules.c:
Added code to check outdirectory length. It is on the conservative side.
It works for now.
src/nagg_main.c:
Added code to exit the tool if compose_output() returns error.
test/testnagg.sh:
Added tests to verify the output direc...
New feature: (JPSS-49)
-d is fucntional now.
test/testfiles/usage.txt:
test/testfiles/usage-bad-option.txt:
updated with new usage output.
test/testfiles/redro1-d.txt:
test/testfiles/redro1-d-redundant.txt:
Expected output files for newly added tests for -d option.
test/testnagg.sh:
New tests for the -d option added.
doc/RELEASE.txt:
Updated with the new supported -d option.
src/nagg.h:
src/nagg_options.c:
src/nagg_select_granules.c:
Implement code to support the ...
nagg_write_granules.c
The N_GEO_Ref attribute was copied for all files. Packaged files should not have the N_GEO_Ref attribute. It is now written only if required.
Tested jam & koala, gcc & icc
nagg_product.c:
print the GPID column also.
Added a statment explaining that "Products having the same GPID can be
"packaged together".
usage.tx:
Adjusted to include the printing of the GPID column. Plus some cosmetic
changes in the output.
Tested: Koala.
Added feature to dump produced output files to verify if granules are produced
correctly.
test/testfiles/redro1-dump.txt
test/testfiles/redro3-dump.txt
test/testfiles/satms_tatms2m-dump.txt
test/testfiles/redro3S-dump.txt
Newly added expected output.
test/testnagg.sh
test/nagg_functions.sh
Added dump option to TOOLTEST to dump (--debug) produced output files to
verify the correctness of granules aggregated.
Changed TRANSFORM to change creation time pattern to just the generi...
src/nagg_options.c:
A debugging print statment leaked out in production mode.
Bracketed it with #ifdef DEBUG.
src/nagg_get_granules.c:
Added a pair of label to identify the printing of granules.
Tested: koala.
nagg_get_granules.c
The geofile member of the granule structure was always printed (sometimes incorrectly) as (null). This checkin fixes that problem, and uses the stringval macro to print "(null)" for null instead of "".
test/testnagg.sh
Add a simple test with --debug to print the granules and check the output.
test/testfiles/somps_debug.txt
Output file for the test. Contains "long option debug found" and relative path to input files which will potentially be incorrect.
Teste...