ocssw
V2022
|
l2brsgen_input.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <ctype.h>
#include <assert.h>
#include <genutils.h>
#include <clo.h>
#include <sensorInfo.h>
#include "l2brsgen.h"
Include dependency graph for l2brsgen_input.c:
Go to the source code of this file.
Functions | |
int | l2brsgen_init_options (clo_optionList_t *list) |
int | l2brsgen_read_options (clo_optionList_t *list, int argc, char *argv[], l2_prod *l2_str, meta_l2Type *meta_l2) |
Function Documentation
◆ l2brsgen_init_options()
int l2brsgen_init_options | ( | clo_optionList_t * | list | ) |
add all of the accepted command line options to list
Definition at line 16 of file l2brsgen_input.c.
◆ l2brsgen_read_options()
int l2brsgen_read_options | ( | clo_optionList_t * | list, |
int | argc, | ||
char * | argv[], | ||
l2_prod * | l2_str, | ||
meta_l2Type * | meta_l2 | ||
) |
Read the command line option and all of the default parameter files.
This is the order for loading the options:
- load the main program defaults file
- load sensor specific defaults file
- load the command line (including specified par files)
- re-load the command line disabling file descending so command line arguments will over ride
- opens l2_str
- loads meta_l2
Definition at line 84 of file l2brsgen_input.c.