OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
sstref.c File Reference
#include <sys/types.h>
#include <unistd.h>
#include "l12_proto.h"
#include <netcdf.h>
#include "l12_parms.h"
#include "l1_aci_hdf.h"
#include "smi_climatology.h"
#include "l1.h"
Include dependency graph for sstref.c:

Go to the source code of this file.

Macros

#define PATHCLIM   1
 
#define OISSTBIN   2
 
#define OISSTV2D   3
 
#define AMSRE3DAY   4
 
#define AMSREDAY   5
 
#define ATSR   6
 
#define NTEV2   7
 
#define AMSRE3DN   8
 
#define ATSRDAY   9
 
#define WINDSAT3DAY   10
 
#define WINDSATDAY   11
 
#define WINDSAT3DN   12
 
#define CMC   13
 
#define CtoK   273.15 /* conversion between degree C and Kelvin*/
 
#define OI4NX   1440
 
#define OI4NY   720
 
#define OINX   360
 
#define OINY   180
 
#define OI4NX   1440
 
#define OI4NY   720
 
#define OI4NX   1440
 
#define OI4NY   720
 
#define OI4NX   1440
 
#define OI4NY   720
 
#define OI4NX   1440
 
#define OI4NY   720
 
#define OI1NX   3600
 
#define OI1NY   1800
 

Functions

float get_oisstv2d (char *sstfile, float lon, float lat)
 
float get_cmcsst (char *sstfile, float lon, float lat)
 
float get_oisst (char *sstfile, float lon, float lat)
 
float get_ntev2 (char *sstfile, float lon, float lat, int32_t year, int32_t day)
 
float get_atsr (char *sstfile, float lon, float lat, int32_t year, int32_t day, int32_t minatsrcnt)
 
float get_amsre (char *sstfile, float lon, float lat, float solz, int32_t xsatid, int32_t sensorID)
 
float get_windsat (char *sstfile, float lon, float lat, float solz, int32_t xsatid, int32_t sensorID)
 
float get_atsrday (char *sstfile, float lon, float lat)
 
float get_sstref (short reftyp, char *sstfile, l1str *l1rec, int32_t ip)
 

Macro Definition Documentation

◆ AMSRE3DAY

#define AMSRE3DAY   4

Definition at line 22 of file sstref.c.

◆ AMSRE3DN

#define AMSRE3DN   8

Definition at line 26 of file sstref.c.

◆ AMSREDAY

#define AMSREDAY   5

Definition at line 23 of file sstref.c.

◆ ATSR

#define ATSR   6

Definition at line 24 of file sstref.c.

◆ ATSRDAY

#define ATSRDAY   9

Definition at line 27 of file sstref.c.

◆ CMC

#define CMC   13

Definition at line 31 of file sstref.c.

◆ CtoK

#define CtoK   273.15 /* conversion between degree C and Kelvin*/

Definition at line 33 of file sstref.c.

◆ NTEV2

#define NTEV2   7

Definition at line 25 of file sstref.c.

◆ OI1NX

#define OI1NX   3600

Definition at line 1425 of file sstref.c.

◆ OI1NY

#define OI1NY   1800

Definition at line 1426 of file sstref.c.

◆ OI4NX [1/5]

#define OI4NX   1440

Definition at line 1196 of file sstref.c.

◆ OI4NX [2/5]

#define OI4NX   1440

Definition at line 1196 of file sstref.c.

◆ OI4NX [3/5]

#define OI4NX   1440

Definition at line 1196 of file sstref.c.

◆ OI4NX [4/5]

#define OI4NX   1440

Definition at line 1196 of file sstref.c.

◆ OI4NX [5/5]

#define OI4NX   1440

Definition at line 1196 of file sstref.c.

◆ OI4NY [1/5]

#define OI4NY   720

Definition at line 1197 of file sstref.c.

◆ OI4NY [2/5]

#define OI4NY   720

Definition at line 1197 of file sstref.c.

◆ OI4NY [3/5]

#define OI4NY   720

Definition at line 1197 of file sstref.c.

◆ OI4NY [4/5]

#define OI4NY   720

Definition at line 1197 of file sstref.c.

◆ OI4NY [5/5]

#define OI4NY   720

Definition at line 1197 of file sstref.c.

◆ OINX

#define OINX   360

Definition at line 444 of file sstref.c.

◆ OINY

#define OINY   180

Definition at line 445 of file sstref.c.

◆ OISSTBIN

#define OISSTBIN   2

Definition at line 20 of file sstref.c.

◆ OISSTV2D

#define OISSTV2D   3

Definition at line 21 of file sstref.c.

◆ PATHCLIM

#define PATHCLIM   1

Definition at line 19 of file sstref.c.

◆ WINDSAT3DAY

#define WINDSAT3DAY   10

Definition at line 28 of file sstref.c.

◆ WINDSAT3DN

#define WINDSAT3DN   12

Definition at line 30 of file sstref.c.

◆ WINDSATDAY

#define WINDSATDAY   11

Definition at line 29 of file sstref.c.

Function Documentation

◆ get_amsre()

float get_amsre ( char *  sstfile,
float  lon,
float  lat,
float  solz,
int32_t  xsatid,
int32_t  sensorID 
)

Definition at line 1007 of file sstref.c.

◆ get_atsr()

float get_atsr ( char *  sstfile,
float  lon,
float  lat,
int32_t  year,
int32_t  day,
int32_t  minatsrcnt 
)

Definition at line 735 of file sstref.c.

◆ get_atsrday()

float get_atsrday ( char *  sstfile,
float  lon,
float  lat 
)

Definition at line 1428 of file sstref.c.

◆ get_cmcsst()

float get_cmcsst ( char *  sstfile,
float  lon,
float  lat 
)

Definition at line 241 of file sstref.c.

◆ get_ntev2()

float get_ntev2 ( char *  sstfile,
float  lon,
float  lat,
int32_t  year,
int32_t  day 
)

Definition at line 583 of file sstref.c.

◆ get_oisst()

float get_oisst ( char *  sstfile,
float  lon,
float  lat 
)

Definition at line 447 of file sstref.c.

◆ get_oisstv2d()

float get_oisstv2d ( char *  sstfile,
float  lon,
float  lat 
)

Definition at line 51 of file sstref.c.

◆ get_sstref()

float get_sstref ( short  reftyp,
char *  sstfile,
l1str *  l1rec,
int32_t  ip 
)

Definition at line 1592 of file sstref.c.

◆ get_windsat()

float get_windsat ( char *  sstfile,
float  lon,
float  lat,
float  solz,
int32_t  xsatid,
int32_t  sensorID 
)

Definition at line 1199 of file sstref.c.