JPSS
  1. JPSS

JPSSnagg

Public

Network

 
AuthorCommitMessageCommit Date
Albert ChengAlbert Cheng
a29b509c4caUpdated tests to reflect the added requirement that product name must be provided. Tested: koala and heiwa
Albert ChengAlbert Cheng
8eac6a4fd16Renamed some the granules related variables to avoid confusions. Added code to check the validity of argument values. Tested: koala and Heiwa
Larry KnoxLarry Knox
f185aaa529dRemoved granule writer changed until configure handles HL_NPOESS.
Larry KnoxLarry Knox
236e3f36ad0Incremental check-in of granule write module. Tested on amani.
Albert ChengAlbert Cheng
e3239fd1a3eCommand syntax changed to allow multiple input file arguments instead just one argument that could "space separated multiple filenames.". Removed protocols of parse_inputFiles and get_inputFiles_bydir as they are not needed for now. nagg_get_granules.c: Fixed the protocol signature to remove the warning message. Tested: jam, koala, linew and heiwa
Elena PourmalElena Pourmal
853d4d72114Maintenance: Revised the proposal based on Richard's comments during our meeting on November 18 and added to the repository.
Albert ChengAlbert Cheng
a73ed2f4567Added a new type, granule_p_t which is *granule_t so that it is clearer to know it is a pointer to a granule structure. Changed the prototype of nagg_get_granules, nagg_print_granules, write_granules to relect this new type. No code changes. Also added NAGG_InputFiles_Max, inputfilenames used by the input file name parsing routine which is not working yet. Added a pile of HDstrXXX macros to use the strings.h routines. Tested: jam and koala but segment fault in linew, heiwas and freedom.
Albert ChengAlbert Cheng
71728ecda67Added prototype definitions of start_write(const char *outfile, const char *outgeofile, char **product_list, int nproducts); int write_granules(granule_t *granule); int end_write(void); Tested: koala
Larry KnoxLarry Knox
46419cb41b3nagg_main.c Removed debug calls to dump granules and verify that the granule table is now correctly returned by nagg_get_granules. nagg_get_granules.c Removed debug calls to dump granules and verify that the granule table is now correctly returned by nagg_get_granules. Added more function descriptions and reordered the functions from upper to lower level. Removed the granule_finder header for the iterator function that was removed in revision 12. Tested on amani.
Albert ChengAlbert Cheng
a58343d1c05Corrected the nagg_get_granules(char **file_list, int number_of_files, granule_t **granule_info_p[], int *number_of_granules_p); nagg_get_granules should received the addresses of granule_info and number_of_granules so that it can return the values. Changed name of both parameters to XX_p as pointer of XX to reflect the nature of the parameter. The debug statments of nagg_print_granules were left in to demonstrate it actually works. Should be cleaned up later. Tested: Koala. linew.
Larry KnoxLarry Knox
863b62e9a61Changed to recommended hdf5 failure detection form: if((dset = H5Dopen2(file, name)) < 0) fprintf(stderr, "unable to open the requested dataset\n"); Malloc struct for each granule as it is found. Made error messages for failure to open file more specific. Assigned &granule_info_array to **granule_info. This works in this file but still becomes 0 when back in main. Tested on amani.
Albert ChengAlbert Cheng
d78573aa138Added a test case with real data file. Tested: not working yet.
Albert ChengAlbert Cheng
6a407c833d8nagg_main.c: Hardcoded assumeing single file calling; added calls to nagg_get_granules; Turned off HDF5's automatic error printing. Still more work is needed. nagg.h: added definitions of function return values (SUCCEED and FAIL). Can be used by all function with int return values. Added nagg_print_granules() prototype. nagg_posix.h: Cosmetic change to error message. nagg_get_granules.c: Removed unused FILENAME_SIZE macro. Changed function return type from ...
Albert ChengAlbert Cheng
6a5ad10b02cMoved prototype of get_granule_info() from nagg_get_granules.c to nagg.h since it is called by main in a differenet source module. Removed duplicated definitions of EXIT_FAILURE and EXIT_SUCCESS. Removed duplicated #include of string.h. (Already included by nagg.h). Tested: koala and linew.
Larry KnoxLarry Knox
16af401e87aAdd initial code to create array of granule_t structures containing granule information from files in a list. Tested on amani.
Albert ChengAlbert Cheng
2e30e31a546Added the command line option parsing routine. (nagg_option). Added some primitive tests to testnagg.sh. Tested: koala
Albert ChengAlbert Cheng
03cbce7b904Added granule_version_number into the granule_t struct definition. Added granule_t *granule_info_array[NAGG_Granule_info_max] to hold all granules found in input files. Tested: koala
Albert ChengAlbert Cheng
d1eb93b8ef3Initial versions committed. Some are just dummy empty files. Committed for structure sake. Tested: compiled alright in Jam. Parse_options is not called yet.
Albert ChengAlbert Cheng
40d8a536001Added more basic build files. Added dummy testnagg.sh and nagg_main.c files. Tested: koala
Albert ChengAlbert Cheng
9f23092d455Initial structure of the nagg tool directory.
Albert ChengAlbert Cheng
082630bf748Added standard source, test and doc directories.
Albert ChengAlbert Cheng
2efb5f05b5dCreate standard svn directories, trunk, branches and tags.