(r8202/r4879)
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#include "hdf.h"
#include "hdfhdr.h"
#include "hdfmac.h"
#include "usrhdr.h"
#include "usrmac.h"
#include "generic.h"
#include "ffm.h"
#include "cdl_object.h"
#include "hdf_object.h"
#include "SeaWiFS.h"
#include "navigation.h"
#include "l1a.h"
#include "level_1a_index.h"
#include "datatype.h"
#include "tlm.h"
#include "l1a_proto.h"
#include "WIFSHDF.h"
#include "st_lt.h"
#include "cal_l1a.h"
#include "get_cal.h"
#include "l2_flags.h"
Go to the source code of this file.
Defines |
| #define | FIRST_GET_L1A_OPEN 1 |
| #define | DEFAULT_BUFFER_BLKSIZE 10 |
| #define | BLKSIZE_NOT_CHANGED 0 |
| #define | BLKSIZE_CHANGED 1 |
| #define | CLEAR 0 |
| #define | INIT 1 |
| #define | RECORDS 2 |
| #define | FIRST_KNEE 1 |
| #define | STRAY_LIGHT_COMPLETE 0 |
| #define | STRAY_LIGHT_LATE_START 1 |
| #define | STRAY_LIGHT_EARLY_STOP 2 |
| #define | STRAY_LIGHT_RANDOM 4 |
| #define | PIX_SUB_V 4.0 |
| #define | GAC_STRAY_LIGHT_COEF(v) (ceil(roundingup = v/PIX_SUB_V)) |
| #define | LAC_STRAY_LIGHT_COEF(v) (v) |
| #define | STRAY_LIGHT_COEF(v, dtyp) (strcmp(dtyp,"GAC")?LAC_STRAY_LIGHT_COEF(v):GAC_STRAY_LIGHT_COEF(v)) |
| #define | NTRY_WARNING 5 |
| #define | NTRY_LIMIT 20 |
Functions |
| int | dark_rest_stat (int16 *data, int nrec, float *dark_mean, float *dark_std) |
| void | d_stats (int32 num, int16 *arr, float *median, float *sd) |
| int | i16comp (int16 *p1, int16 *p2) |
| void | d_sd (int32 num, int16 *arr, float *mean, float *sd) |
Variables |
| PRIVATE int | fid [MAX_HDF_L1AGET] |
| PRIVATE int | blksize [MAX_HDF_L1AGET] |
| PRIVATE int | blksrec [MAX_HDF_L1AGET] |
| PRIVATE int | blksize_changed [MAX_HDF_L1AGET] |
| float32 | cal_counts [BANDS_DIMS_1A][GAINS_DIMS_1A][KNEES_DIMS_1A] |
| float32 | cal_rads [BANDS_DIMS_1A][GAINS_DIMS_1A][KNEES_DIMS_1A] |
| short | gain8 |
| PRIVATE char * | cal_table_file [MAX_HDF_L1AGET] |
| PRIVATE short | stray_light_flag [MAX_HDF_L1AGET] |
| PRIVATE short | stray_light_calling_flag [MAX_HDF_L1AGET] |
| PRIVATE short | stray_light_scan_no [MAX_HDF_L1AGET] |
| PRIVATE float | ltyp_frac_coef [MAX_HDF_L1AGET] |
| PRIVATE short | out_band_flag [MAX_HDF_L1AGET] |
| PRIVATE short | recursive_flag [MAX_HDF_L1AGET] |
| PRIVATE short | recursive_free |
Define Documentation
Function Documentation
| void d_sd |
( |
int32 |
num, |
|
|
int16 * |
arr, |
|
|
float * |
mean, |
|
|
float * |
sd |
|
) |
| |
| void d_stats |
( |
int32 |
num, |
|
|
int16 * |
arr, |
|
|
float * |
median, |
|
|
float * |
sd |
|
) |
| |
| int dark_rest_stat |
( |
int16 * |
data, |
|
|
int |
nrec, |
|
|
float * |
dark_mean, |
|
|
float * |
dark_std |
|
) |
| |
| int i16comp |
( |
int16 * |
p1, |
|
|
int16 * |
p2 |
|
) |
| |
Variable Documentation