OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
smeta_exploit.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "ias_logging.h"
#include "ias_math.h"
#include "ias_odl.h"
#include "ias_geo.h"
#include "smeta_exploit.h"
Include dependency graph for smeta_exploit.c:

Go to the source code of this file.

Macros

#define MAX_FIELD_NAME
 

Functions

int smeta_read (SMETA *smeta, const char *smeta_filename)
 
int smeta_read_file_header (SMETA *smeta, IAS_OBJ_DESC *smeta_odl)
 
int smeta_read_projection (SMETA_SCENE_PROJ *projection, IAS_OBJ_DESC *smeta_odl)
 
int smeta_read_band_meta (SMETA_BAND *band_smeta, IAS_OBJ_DESC *smeta_odl)
 
int smeta_read_band_meta_ls (SMETA_BAND_LS *band_smeta, IAS_OBJ_DESC *smeta_odl)
 
int smeta_load_band_model (SMETA_BAND *band_smeta)
 
int smeta_load_band_model_ls (SMETA *smeta, SMETA_BAND_LS *band_smeta)
 
int meta_write_angfile (char *root_filename, short *sat_zn, short *sat_az, short *sun_zn, short *sun_az, META_FRAME *frame)
 
int delta_date (int date1[3], int date2[3])
 

Macro Definition Documentation

◆ MAX_FIELD_NAME

#define MAX_FIELD_NAME
Value:
128 /* Maximum number of characters in an ODL
field name in the enhanced metadata file */

Definition at line 20 of file smeta_exploit.c.

Function Documentation

◆ delta_date()

int delta_date ( int  date1[3],
int  date2[3] 
)

Definition at line 1260 of file smeta_exploit.c.

◆ meta_write_angfile()

int meta_write_angfile ( char *  root_filename,
short *  sat_zn,
short *  sat_az,
short *  sun_zn,
short *  sun_az,
META_FRAME frame 
)

Definition at line 1092 of file smeta_exploit.c.

◆ smeta_load_band_model()

int smeta_load_band_model ( SMETA_BAND band_smeta)

Definition at line 528 of file smeta_exploit.c.

◆ smeta_load_band_model_ls()

int smeta_load_band_model_ls ( SMETA smeta,
SMETA_BAND_LS band_smeta 
)

Definition at line 894 of file smeta_exploit.c.

◆ smeta_read()

int smeta_read ( SMETA smeta,
const char *  smeta_filename 
)

Definition at line 22 of file smeta_exploit.c.

◆ smeta_read_band_meta()

int smeta_read_band_meta ( SMETA_BAND band_smeta,
IAS_OBJ_DESC *  smeta_odl 
)

Definition at line 362 of file smeta_exploit.c.

◆ smeta_read_band_meta_ls()

int smeta_read_band_meta_ls ( SMETA_BAND_LS band_smeta,
IAS_OBJ_DESC *  smeta_odl 
)

Definition at line 445 of file smeta_exploit.c.

◆ smeta_read_file_header()

int smeta_read_file_header ( SMETA smeta,
IAS_OBJ_DESC *  smeta_odl 
)

Definition at line 81 of file smeta_exploit.c.

◆ smeta_read_projection()

int smeta_read_projection ( SMETA_SCENE_PROJ projection,
IAS_OBJ_DESC *  smeta_odl 
)

Definition at line 261 of file smeta_exploit.c.