OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
bin_climatology.c File Reference
#include "l12_proto.h"
Include dependency graph for bin_climatology.c:

Go to the source code of this file.

Macros

#define MAXNVDATA   50
 
#define MAXCPROD   3
 
#define CHLORA   0
 
#define NLW412   1
 
#define ANGSTROM   2
 

Functions

int32 open_l3b (char *l3file, int32_t day)
 
int32 close_l3b ()
 
int32 nearest_bin (int32 bin_num)
 
void initbin (void)
 
void closebin (void)
 
double constrain_lat (double lat)
 
double constrain_lon (double lon)
 
int16 lat2row (double lat)
 
int32 rowlon2bin (int16 row, double lon)
 
int32 latlon2bin (double lat, double lon)
 
float bin_climatology (char *l3file, int32_t day, float lon, float lat, char *prodname)
 

Macro Definition Documentation

◆ ANGSTROM

#define ANGSTROM   2

Definition at line 13 of file bin_climatology.c.

◆ CHLORA

#define CHLORA   0

Definition at line 11 of file bin_climatology.c.

◆ MAXCPROD

#define MAXCPROD   3

Definition at line 10 of file bin_climatology.c.

◆ MAXNVDATA

#define MAXNVDATA   50

Definition at line 8 of file bin_climatology.c.

◆ NLW412

#define NLW412   1

Definition at line 12 of file bin_climatology.c.

Function Documentation

◆ bin_climatology()

float bin_climatology ( char *  l3file,
int32_t  day,
float  lon,
float  lat,
char *  prodname 
)

Definition at line 287 of file bin_climatology.c.

◆ close_l3b()

int32 close_l3b ( )

Definition at line 142 of file bin_climatology.c.

◆ closebin()

void closebin ( void  )

Definition at line 218 of file bin_climatology.c.

◆ constrain_lat()

double constrain_lat ( double  lat)

Definition at line 226 of file bin_climatology.c.

◆ constrain_lon()

double constrain_lon ( double  lon)

Definition at line 235 of file bin_climatology.c.

◆ initbin()

void initbin ( void  )

Definition at line 189 of file bin_climatology.c.

◆ lat2row()

int16 lat2row ( double  lat)

Definition at line 244 of file bin_climatology.c.

◆ latlon2bin()

int32 latlon2bin ( double  lat,
double  lon 
)

Definition at line 269 of file bin_climatology.c.

◆ nearest_bin()

int32 nearest_bin ( int32  bin_num)

Definition at line 166 of file bin_climatology.c.

◆ open_l3b()

int32 open_l3b ( char *  l3file,
int32_t  day 
)

Definition at line 30 of file bin_climatology.c.

◆ rowlon2bin()

int32 rowlon2bin ( int16  row,
double  lon 
)

Definition at line 255 of file bin_climatology.c.