Changeset 42212
- Timestamp:
- May 18, 2022, 4:04:14 PM (4 years ago)
- Location:
- branches/eam_branches/ipp-20220316/Ohana/src/addstar
- Files:
-
- 1 added
- 4 edited
-
Makefile (modified) (1 diff)
-
include/ukirt_uhs.h (modified) (2 diffs)
-
src/args_loadukirt_uhs.c (modified) (2 diffs)
-
src/loadukirt_uhs_readstars.c (modified) (1 diff)
-
src/loadukirt_uhs_readstars_uhs2022.c (added)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20220316/Ohana/src/addstar/Makefile
r41563 r42212 358 358 $(SRC)/loadukirt_uhs_readstars_ugps.$(ARCH).o \ 359 359 $(SRC)/loadukirt_uhs_readstars_ulas.$(ARCH).o \ 360 $(SRC)/loadukirt_uhs_readstars_uhs2022.$(ARCH).o \ 360 361 $(SRC)/loadukirt_uhs_table.$(ARCH).o \ 361 362 $(SRC)/parse_csv.$(ARCH).o \ -
branches/eam_branches/ipp-20220316/Ohana/src/addstar/include/ukirt_uhs.h
r42166 r42212 1 1 2 typedef enum {UKIRT_MODE_NONE, UKIRT_MODE_UHS, UKIRT_MODE_UGCS, UKIRT_MODE_UGPS, UKIRT_MODE_ULAS } UkirtMode;2 typedef enum {UKIRT_MODE_NONE, UKIRT_MODE_UHS, UKIRT_MODE_UGCS, UKIRT_MODE_UGPS, UKIRT_MODE_ULAS, UKIRT_MODE_UHS2022} UkirtMode; 3 3 4 4 # define NSTARS_MAX 10000000 … … 55 55 UKIRT_Stars *loadukirt_uhs_readstars_ulas (FILE *f, char *buffer, int *nstart, AddstarClientOptions *options, int *nstars); 56 56 UKIRT_Stars *loadukirt_uhs_readstars_uhs (FILE *f, char *buffer, int *nstart, AddstarClientOptions *options, int *nstars); 57 UKIRT_Stars *loadukirt_uhs_readstars_uhs2022 (FILE *f, char *buffer, int *nstart, AddstarClientOptions *options, int *nstars); 57 58 58 59 -
branches/eam_branches/ipp-20220316/Ohana/src/addstar/src/args_loadukirt_uhs.c
r41341 r42212 34 34 UKIRT_MODE = UKIRT_MODE_ULAS; 35 35 UKIRT_NFILTER = 5; 36 remove_argument (N, argc, argv); 37 } 38 if ((N = get_argument (*argc, argv, "-uhs2022"))) { 39 UKIRT_MODE = UKIRT_MODE_UHS2022; 40 UKIRT_NFILTER = 2; 36 41 remove_argument (N, argc, argv); 37 42 } … … 152 157 static void help () { 153 158 154 fprintf (stderr, "USAGE: loadukirt_uhs [options] (file) [-uhs | -ugcs | -ulas | -ugps ] [..more files]\n");159 fprintf (stderr, "USAGE: loadukirt_uhs [options] (file) [-uhs | -ugcs | -ulas | -ugps | -uhs2022] [..more files]\n"); 155 160 fprintf (stderr, " add data from UKIRT CSV file to DVO\n"); 156 fprintf (stderr, " mode is required : -uhs | -ugcs | -ulas | -ugps \n\n");161 fprintf (stderr, " mode is required : -uhs | -ugcs | -ulas | -ugps | -uhs2022\n\n"); 157 162 158 163 fprintf (stderr, " optional flags:\n"); -
branches/eam_branches/ipp-20220316/Ohana/src/addstar/src/loadukirt_uhs_readstars.c
r42077 r42212 22 22 case UKIRT_MODE_ULAS: { 23 23 UKIRT_Stars *stars = loadukirt_uhs_readstars_ulas (f, buffer, nstart, options, nstars); 24 return stars; 25 } 26 27 case UKIRT_MODE_UHS2022: { 28 UKIRT_Stars *stars = loadukirt_uhs_readstars_uhs2022 (f, buffer, nstart, options, nstars); 24 29 return stars; 25 30 }
Note:
See TracChangeset
for help on using the changeset viewer.
