ocssw
V2022
|
streamf.c
Go to the documentation of this file.
36 const char *severity_l[] = { "debug", "info", "notice", "warning", "error", "critical", "alert", "emergency" };
37 const char *severity_u[] = { "DEBUG", "INFO", "NOTICE", "WARNING", "ERROR", "CRITICAL", "ALERT", "EMERGENCY" };
38 const char *severity_m[] = { "Debug", "Info", "Notice", "Warning", "Error", "Critical", "Alert", "Emergency" };
40 static int olog_backend_streamf_printf(olog *olog, olog_backend *backend, uint8_t severity, va_list args) {
104 static int olog_backend_streamf_func_printf(olog *olog, olog_backend *backend, uint8_t severity, va_list args) {
109 static int olog_backend_streamf_func_sev_lower(olog *olog, olog_backend *backend, uint8_t severity) {
113 static int olog_backend_streamf_func_sev_upper(olog *olog, olog_backend *backend, uint8_t severity) {
117 static int olog_backend_streamf_func_sev_mixed(olog *olog, olog_backend *backend, uint8_t severity) {
121 static int olog_backend_streamf_func_sev_numeric(olog *olog, olog_backend *backend, uint8_t severity) {
224 fprintf(stderr, "failed to compile log format: unterminated named pointer name starting at: \"%16s\"", pt);
243 fprintf(stderr, "failed to compile log format: named pointer name is not followed by either `f` or `s``");
362 olog_backend olog_backend_streamf(olog_streamf_arguments *arguments, int8_t min_log_level, int8_t max_log_level) {
an array had not been initialized Several spelling and grammar corrections were which is read from the appropriate MCF the above metadata values were hard coded A problem calculating the average background DN for SWIR bands when the moon is in the space view port was corrected The new algorithm used to calculate the average background DN for all reflective bands when the moon is in the space view port is now the same as the algorithm employed by the thermal bands For non SWIR changes in the averages are typically less than Also for non SWIR the black body DNs remain a backup in case the SV DNs are not available For SWIR the changes in computed averages were larger because the old which used the black body suffered from contamination by the micron leak As a consequence of the if SV DNs are not available for the SWIR the EV pixels will not be the granule time is used to identify the appropriate tables within the set given for one LUT the first two or last two tables respectively will be used for the interpolation If there is only one LUT in the set of it will be treated as a constant LUT The manner in which Earth View data is checked for saturation was changed Previously the raw Earth View DNs and Space View DNs were checked against the lookup table values contained in the table dn_sat The change made is to check the raw Earth and Space View DNs to be sure they are less than the maximum saturation value and to check the Space View subtracted Earth View dns against a set of values contained in the new lookup table dn_sat_ev The metadata configuration and ASSOCIATEDINSTRUMENTSHORTNAME from the MOD02HKM product The same metatdata with extensions and were removed from the MOD021KM and MOD02OBC products ASSOCIATEDSENSORSHORTNAME was set to MODIS in all products These changes are reflected in new File Specification which users may consult for exact the pow functions were eliminated in Emissive_Cal and Emissive bands replaced by more efficient code Other calculations throughout the code were also made more efficient Aside from a few round off there was no difference to the product The CPU time decreased by about for a day case and for a night case A minor bug in calculating the uncertainty index for emissive bands was corrected The frame index(0-based) was previously being used the frame number(1-based) should have been used. There were only a few minor changes to the uncertainty index(maximum of 1 digit). 3. Some inefficient arrays(Sigma_RVS_norm_sq) were eliminated and some code lines in Preprocess_L1A_Data were moved into Process_OBCEng_Emiss. There were no changes to the product. Required RAM was reduced by 20 MB. Now
Definition: streamf.h:43
Definition: argpar.c:41
int(* olog_print_callback_no_args)(olog *olog, olog_backend *backend)
Definition: streamf.h:25
Definition: streamf.h:11
A simple logger, capable of dispatching log events to multiple end points.
A simple dictionary library for storing pointers.
int(* olog_print_callback)(olog *olog, olog_backend *backend, uint8_t severity, va_list args)
Definition: streamf.h:23
olog_backend olog_backend_streamf(olog_streamf_arguments *arguments, int8_t min_log_level, int8_t max_log_level)
Definition: streamf.c:362
Definition: olog.h:64
int errno
no change in intended resolving MODur00064 Corrected handling of bad ephemeris attitude data
Definition: HISTORY.txt:356
void * phash_get(phash *h, const char *key)
Find a pointer associated with the given string.
Definition: phash.c:205
int(* olog_print_callback_no_vargs)(olog *olog, olog_backend *backend, uint8_t severity)
Definition: streamf.h:24
this program makes no use of any feature of the SDP Toolkit that could generate such a then geolocation is calculated at that and then aggregated up to Resolved feature request Bug by adding three new int8 SDSs for each high resolution offsets between the high resolution geolocation and a bi linear interpolation extrapolation of the positions This can be used to reconstruct the high resolution geolocation Resolved Bug by delaying cumulation of gflags until after validation of derived products Resolved Bug by setting Latitude and Longitude to the correct fill resolving to support Near Real Time because they may be unnecessary if use of entrained ephemeris and attitude data is turned resolving bug report Corrected to filter out Aqua attitude records with missing status helping resolve bug MOD_PR03 will still correctly write scan and pixel data that does not depend upon the start time
Definition: HISTORY.txt:248
PARAM_TYPE_NONE Default value No parameter is buried in the product name name_prefix is case insensitive string compared to the product name PARAM_TYPE_VIS_WAVE The visible wavelength bands from the sensor are buried in the product name The product name is compared by appending and name_suffix ie aph_412_giop where prod_ix will be set to PARAM_TYPE_IR_WAVE same search method as PARAM_TYPE_VIS_WAVE except only wavelength above are looped through but prod_ix is still based ie aph_2_giop for the second and prod_ix set to PARAM_TYPE_INT name_prefix is compared with the beginning of the product name If name_suffix is not empty the it must match the end of the product name The characters right after the prefix are read as an integer and prod_ix is set to that number strncpy(l2prod->name_prefix, "myprod", UNITLEN)
Definition: streamf.h:37