ocssw
V2022
|
#include <sys/types.h>
#include <unistd.h>
#include "l12_proto.h"
#include "flags_sst.h"
#include "d3940tref.h"
#include "l1_aci_hdf.h"
#include "sst_dsdi.h"
Include dependency graph for sst.c:
Go to the source code of this file.
Classes | |
struct | stat_struct |
struct | ssestab_structv6v |
struct | ssestab_structv6v3 |
struct | ssestab_structv6m |
struct | ssestab_structv6m4 |
struct | ssestab_structv6a |
Macros | |
#define | CtoK 273.15 /* conversion between degree C and Kelvin*/ |
#define | NSSTMAXv6v 7 /* was 8 */ |
#define | NDAYMAXv6v 2 /* viirs sst now has day and night sses */ |
#define | NDAYMAXv6v3 1 /* viirs sst3 is night only */ |
#define | NQUARMAXv6v 4 |
#define | NSENZMAXv6v 4 |
#define | NDIFFMAXv6v 4 |
#define | NDIFFMAXv6v3 4 |
#define | NLATMAXv6v 6 /* was 5 */ |
#define | NQUALMAXv6v 5 /* was 4, then 5 */ |
#define | NSSESDIMv6v 7 |
#define | NSSTMAXv6m 7 /* was 8 */ |
#define | NDAYMAXv6m 2 /* sst now has day and night sses */ |
#define | NDAYMAXv6m4 1 /* sst4 is night only */ |
#define | NQUARMAXv6m 4 |
#define | NSENZMAXv6m 4 |
#define | NDIFFMAXv6m 4 |
#define | NDIFFMAXv6m4 4 |
#define | NLATMAXv6m 7 /* was 5 */ |
#define | NQUALMAXv6m 5 /* was 4, then 5 */ |
#define | NSSESDIMv6m 7 |
#define | NSSTMAXv6a 7 |
#define | NQUARMAXv6a 4 |
#define | NSENZMAXv6a 4 |
#define | NDIFFMAXv6a 4 |
#define | NLATMAXv6a 6 |
#define | NQUALMAXv6a 9 |
#define | NSSESDIMv6a 6 |
Typedefs | |
typedef float | s_array[MAXPIX] |
Functions | |
float | btrefdiffv6 (int32_t ip, float BT39, float BT40, l2str *l2rec) |
void | load_sses_sstv6v (int32_t sensorID, char *file, ssestabstrv6v *sses) |
void | load_sses_sstv6v3 (int32_t sensorID, char *file, ssestabstrv6v3 *sses) |
void | load_sses_sstv6m (int32_t sensorID, char *file, ssestabstrv6m *sses) |
void | load_sses_sstv6m4 (int32_t sensorID, char *file, ssestabstrv6m4 *sses) |
void | load_sses_sstv6a (int32_t sensorID, char *file, ssestabstrv6a *sses) |
void | isV5coef (l2str *l2rec) |
void | init_sst (l2str *l2rec) |
int | sst_ran (int recnum) |
void | read_v5_sst_coeff (l2str *l2rec, float **bounds, float **coef, float *sstrefoffday, float *sstrefoffnight) |
void | read_sst_coeff (l2str *l2rec, float **bounds, float **coef, float *sstrefoffday, float *sstrefoffnight) |
void | read_sst4_coeff (int32 sensorID, char *filename, double scantime, float **bounds, float **coef) |
int | sstcloud (int32_t ip, int32_t nx, int32_t ny, float thresh) |
int32_t | rhoCboxstats (int32_t ip, int32_t nx, int32_t ny, statstr *statrec) |
int32_t | rhotboxstats (int32_t ip, int ib, int nbands, int32_t nx, int32_t ny, statstr *statrec) |
int32_t | btboxstats (int32_t ip, int ib, int nbands, int32_t nx, int32_t ny, statstr *statrec) |
int32_t | sstboxstats (int32_t ip, int32_t nx, int32_t ny, statstr *statrec) |
void | run_sstboxstdev (int npix, float *sst_stdev) |
void | run_rhotboxmin (int npix, int btidx, int nbands, float *minarr) |
void | run_rhotboxmaxmin (int npix, int btidx, int nbands, float *maxminarr, float *maxarr) |
void | run_btboxavg (int npix, int btidx, float *avgarr) |
void | run_btboxmaxmin (int npix, int btidx, float *maxminarr) |
void | run_btboxmin (int npix, int btidx, float *minarr) |
void | run_btboxmax (int npix, int btidx, float *maxarr) |
void | run_rhoCboxmaxmin (int npix, float *maxminarr, float *minarr, float *maxarr) |
void | run_btboxstdev (int npix, int btidx, float *stdevarr) |
int32_t | btavg (int32_t ip, int is, int ib, int nbands, statstr *statrec) |
int | sstmasked (int32_t *flags, int32_t ip) |
int32_t | avhrr_ascend (int32_t ny, float *diflat) |
void | set_flags_sst (l2str *l2rec) |
void | set_flags_sst4 (l2str *l2rec) |
void | set_qual_sst (l2str *l2rec) |
void | set_qual_sst4 (l2str *l2rec) |
float | nlsst (float Bt11, float Bt12, int32_t is, float sstref, float **bounds, float **coef, float sstrefoffday, float sstrefoffnight, int32_t ip, int32_t xsatid, size_t nlatbands, size_t ncoefficients) |
float | nlsst4 (float Bt39, float Bt40, int32_t is, float **bounds, float **coef, int32_t ip, size_t nlatbands) |
void | comp_sst4 (l2str *l2rec, int32_t is) |
void | comp_sst (l2str *l2rec, int32_t is) |
void | comp_sses_sstv6v (ssestabstrv6v *sses, float diff, float lsst, float solz, float senz, int doy, float lat, int8 iqual, int16 iflags, float glintv, int iviirsnv7, float *bias, float *stdv, float *bias_mean, int16 *bias_counts) |
void | comp_sses_sstv6v3 (ssestabstrv6v3 *sses, float diff, float lsst, float solz, float senz, int doy, float lat, int8 iqual, int16 iflags, float glintv, int iviirsnv7, float *bias, float *stdv, float *bias_mean, int16 *bias_counts) |
void | comp_sses_sstv6m (ssestabstrv6m *sses, float diff, float lsst, float solz, float senz, int doy, float lat, int8 iqual, int16 iflags, float glintv, int iviirsnv7, float *bias, float *stdv, float *bias_mean, int16 *bias_counts) |
void | comp_sses_sstv6m4 (ssestabstrv6m4 *sses, float diff, float lsst, float solz, float senz, int doy, float lat, int8 iqual, int16 iflags, float glintv, int iviirsnv7, float *bias, float *stdv, float *bias_mean, int16 *bias_counts) |
void | comp_sses_sstv6a (ssestabstrv6a *sses, float diff, float lsst, float solz, float senz, int doy, float lat, int8 iqual, int16 iflags, float *bias, float *stdv, float *bias_mean, int16 *bias_counts) |
void | set_sses_sst3v6v3 (l2str *l2rec) |
void | set_sses_sst4v6m (l2str *l2rec) |
void | set_sses_sstv6 (l2str *l2rec) |
void | set_flags_sst3 (l2str *l2rec) |
void | set_qual_sst3 (l2str *l2rec) |
void | read_sst3_coeff (l2str *l2rec, float **bounds, float **coef, float sstrefoff, size_t *numbands) |
float | nlsst3 (float Bt37, float Bt11, float Bt12, int32_t is, float sstref, float **bounds, float **coef, float sstrefoff, size_t numbands, int32_t ip) |
void | comp_sst3 (l2str *l2rec, int32_t is) |
void | run_sst (l2str *l2rec) |
float * | get_sst_dust_correction (l2str *l2rec) |
float * | get_bias_sst (l2str *l2rec) |
float * | get_bias_sst4 (l2str *l2rec) |
float * | get_bias_sst_triple (l2str *l2rec) |
float * | get_stdv_sst (l2str *l2rec) |
int16 * | get_counts_sst (l2str *l2rec) |
int16 * | get_counts_sst4 (l2str *l2rec) |
int16 * | get_counts_sst_triple (l2str *l2rec) |
float * | get_stdv_sst4 (l2str *l2rec) |
float * | get_stdv_sst_triple (l2str *l2rec) |
int8 * | get_qual_sst (l2str *l2rec) |
int8 * | get_qual_sst4 (l2str *l2rec) |
int8 * | get_qual_sst_triple (l2str *l2rec) |
int16 * | get_flags_sst (l2str *l2rec) |
int16 * | get_flags_sst4 (l2str *l2rec) |
int16 * | get_flags_sst_triple (l2str *l2rec) |
float * | get_sst (l2str *l2rec) |
float * | get_sst4 (l2str *l2rec) |
float * | get_sst_triple (l2str *l2rec) |
float * | get_bias_mean_sst (l2str *l2rec) |
float * | get_bias_mean_sst4 (l2str *l2rec) |
float * | get_bias_mean_sst_triple (l2str *l2rec) |
float * | get_sst_treesum (l2str *l2rec) |
Macro Definition Documentation
◆ CtoK
◆ NDAYMAXv6m
◆ NDAYMAXv6m4
◆ NDAYMAXv6v
◆ NDAYMAXv6v3
◆ NDIFFMAXv6a
◆ NDIFFMAXv6m
◆ NDIFFMAXv6m4
◆ NDIFFMAXv6v
◆ NDIFFMAXv6v3
◆ NLATMAXv6a
◆ NLATMAXv6m
◆ NLATMAXv6v
◆ NQUALMAXv6a
◆ NQUALMAXv6m
◆ NQUALMAXv6v
◆ NQUARMAXv6a
◆ NQUARMAXv6m
◆ NQUARMAXv6v
◆ NSENZMAXv6a
◆ NSENZMAXv6m
◆ NSENZMAXv6v
◆ NSSESDIMv6a
◆ NSSESDIMv6m
◆ NSSESDIMv6v
◆ NSSTMAXv6a
◆ NSSTMAXv6m
◆ NSSTMAXv6v
Typedef Documentation
◆ s_array
Function Documentation
◆ avhrr_ascend()
◆ btavg()
int32_t btavg | ( | int32_t | ip, |
int | is, | ||
int | ib, | ||
int | nbands, | ||
statstr * | statrec | ||
) |
◆ btboxstats()
int32_t btboxstats | ( | int32_t | ip, |
int | ib, | ||
int | nbands, | ||
int32_t | nx, | ||
int32_t | ny, | ||
statstr * | statrec | ||
) |
◆ btrefdiffv6()
float btrefdiffv6 | ( | int32_t | ip, |
float | BT39, | ||
float | BT40, | ||
l2str * | l2rec | ||
) |
◆ comp_sses_sstv6a()
void comp_sses_sstv6a | ( | ssestabstrv6a * | sses, |
float | diff, | ||
float | lsst, | ||
float | solz, | ||
float | senz, | ||
int | doy, | ||
float | lat, | ||
int8 | iqual, | ||
int16 | iflags, | ||
float * | bias, | ||
float * | stdv, | ||
float * | bias_mean, | ||
int16 * | bias_counts | ||
) |
◆ comp_sses_sstv6m()
void comp_sses_sstv6m | ( | ssestabstrv6m * | sses, |
float | diff, | ||
float | lsst, | ||
float | solz, | ||
float | senz, | ||
int | doy, | ||
float | lat, | ||
int8 | iqual, | ||
int16 | iflags, | ||
float | glintv, | ||
int | iviirsnv7, | ||
float * | bias, | ||
float * | stdv, | ||
float * | bias_mean, | ||
int16 * | bias_counts | ||
) |
◆ comp_sses_sstv6m4()
void comp_sses_sstv6m4 | ( | ssestabstrv6m4 * | sses, |
float | diff, | ||
float | lsst, | ||
float | solz, | ||
float | senz, | ||
int | doy, | ||
float | lat, | ||
int8 | iqual, | ||
int16 | iflags, | ||
float | glintv, | ||
int | iviirsnv7, | ||
float * | bias, | ||
float * | stdv, | ||
float * | bias_mean, | ||
int16 * | bias_counts | ||
) |
◆ comp_sses_sstv6v()
void comp_sses_sstv6v | ( | ssestabstrv6v * | sses, |
float | diff, | ||
float | lsst, | ||
float | solz, | ||
float | senz, | ||
int | doy, | ||
float | lat, | ||
int8 | iqual, | ||
int16 | iflags, | ||
float | glintv, | ||
int | iviirsnv7, | ||
float * | bias, | ||
float * | stdv, | ||
float * | bias_mean, | ||
int16 * | bias_counts | ||
) |
◆ comp_sses_sstv6v3()
void comp_sses_sstv6v3 | ( | ssestabstrv6v3 * | sses, |
float | diff, | ||
float | lsst, | ||
float | solz, | ||
float | senz, | ||
int | doy, | ||
float | lat, | ||
int8 | iqual, | ||
int16 | iflags, | ||
float | glintv, | ||
int | iviirsnv7, | ||
float * | bias, | ||
float * | stdv, | ||
float * | bias_mean, | ||
int16 * | bias_counts | ||
) |
◆ comp_sst()
◆ comp_sst3()
◆ comp_sst4()
◆ get_bias_mean_sst()
◆ get_bias_mean_sst4()
◆ get_bias_mean_sst_triple()
◆ get_bias_sst()
◆ get_bias_sst4()
◆ get_bias_sst_triple()
◆ get_counts_sst()
◆ get_counts_sst4()
◆ get_counts_sst_triple()
◆ get_flags_sst()
◆ get_flags_sst4()
◆ get_flags_sst_triple()
◆ get_qual_sst()
◆ get_qual_sst4()
◆ get_qual_sst_triple()
◆ get_sst()
◆ get_sst4()
◆ get_sst_dust_correction()
◆ get_sst_treesum()
◆ get_sst_triple()
◆ get_stdv_sst()
◆ get_stdv_sst4()
◆ get_stdv_sst_triple()
◆ init_sst()
◆ isV5coef()
◆ load_sses_sstv6a()
void load_sses_sstv6a | ( | int32_t | sensorID, |
char * | file, | ||
ssestabstrv6a * | sses | ||
) |
◆ load_sses_sstv6m()
void load_sses_sstv6m | ( | int32_t | sensorID, |
char * | file, | ||
ssestabstrv6m * | sses | ||
) |
◆ load_sses_sstv6m4()
void load_sses_sstv6m4 | ( | int32_t | sensorID, |
char * | file, | ||
ssestabstrv6m4 * | sses | ||
) |
◆ load_sses_sstv6v()
void load_sses_sstv6v | ( | int32_t | sensorID, |
char * | file, | ||
ssestabstrv6v * | sses | ||
) |
◆ load_sses_sstv6v3()
void load_sses_sstv6v3 | ( | int32_t | sensorID, |
char * | file, | ||
ssestabstrv6v3 * | sses | ||
) |
◆ nlsst()
float nlsst | ( | float | Bt11, |
float | Bt12, | ||
int32_t | is, | ||
float | sstref, | ||
float ** | bounds, | ||
float ** | coef, | ||
float | sstrefoffday, | ||
float | sstrefoffnight, | ||
int32_t | ip, | ||
int32_t | xsatid, | ||
size_t | nlatbands, | ||
size_t | ncoefficients | ||
) |
◆ nlsst3()
float nlsst3 | ( | float | Bt37, |
float | Bt11, | ||
float | Bt12, | ||
int32_t | is, | ||
float | sstref, | ||
float ** | bounds, | ||
float ** | coef, | ||
float | sstrefoff, | ||
size_t | numbands, | ||
int32_t | ip | ||
) |
◆ nlsst4()
float nlsst4 | ( | float | Bt39, |
float | Bt40, | ||
int32_t | is, | ||
float ** | bounds, | ||
float ** | coef, | ||
int32_t | ip, | ||
size_t | nlatbands | ||
) |
◆ read_sst3_coeff()
void read_sst3_coeff | ( | l2str * | l2rec, |
float ** | bounds, | ||
float ** | coef, | ||
float | sstrefoff, | ||
size_t * | numbands | ||
) |
◆ read_sst4_coeff()
void read_sst4_coeff | ( | int32 | sensorID, |
char * | filename, | ||
double | scantime, | ||
float ** | bounds, | ||
float ** | coef | ||
) |
◆ read_sst_coeff()
void read_sst_coeff | ( | l2str * | l2rec, |
float ** | bounds, | ||
float ** | coef, | ||
float * | sstrefoffday, | ||
float * | sstrefoffnight | ||
) |
◆ read_v5_sst_coeff()
void read_v5_sst_coeff | ( | l2str * | l2rec, |
float ** | bounds, | ||
float ** | coef, | ||
float * | sstrefoffday, | ||
float * | sstrefoffnight | ||
) |
◆ rhoCboxstats()
int32_t rhoCboxstats | ( | int32_t | ip, |
int32_t | nx, | ||
int32_t | ny, | ||
statstr * | statrec | ||
) |
◆ rhotboxstats()
int32_t rhotboxstats | ( | int32_t | ip, |
int | ib, | ||
int | nbands, | ||
int32_t | nx, | ||
int32_t | ny, | ||
statstr * | statrec | ||
) |
◆ run_btboxavg()
◆ run_btboxmax()
◆ run_btboxmaxmin()
void run_btboxmaxmin | ( | int | npix, |
int | btidx, | ||
float * | maxminarr | ||
) |
◆ run_btboxmin()
◆ run_btboxstdev()
void run_btboxstdev | ( | int | npix, |
int | btidx, | ||
float * | stdevarr | ||
) |
◆ run_rhoCboxmaxmin()
void run_rhoCboxmaxmin | ( | int | npix, |
float * | maxminarr, | ||
float * | minarr, | ||
float * | maxarr | ||
) |
◆ run_rhotboxmaxmin()
void run_rhotboxmaxmin | ( | int | npix, |
int | btidx, | ||
int | nbands, | ||
float * | maxminarr, | ||
float * | maxarr | ||
) |
◆ run_rhotboxmin()
void run_rhotboxmin | ( | int | npix, |
int | btidx, | ||
int | nbands, | ||
float * | minarr | ||
) |
◆ run_sst()
◆ run_sstboxstdev()
◆ set_flags_sst()
◆ set_flags_sst3()
◆ set_flags_sst4()
◆ set_qual_sst()
◆ set_qual_sst3()
◆ set_qual_sst4()
◆ set_sses_sst3v6v3()
◆ set_sses_sst4v6m()
◆ set_sses_sstv6()
◆ sst_ran()
◆ sstboxstats()
int32_t sstboxstats | ( | int32_t | ip, |
int32_t | nx, | ||
int32_t | ny, | ||
statstr * | statrec | ||
) |
◆ sstcloud()
int sstcloud | ( | int32_t | ip, |
int32_t | nx, | ||
int32_t | ny, | ||
float | thresh | ||
) |