OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
MetadataP.h File Reference
#include "Metadata.h"
Include dependency graph for MetadataP.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pgs_meta_t
 

Macros

#define L1A_MISSING_ENG_PACKET   65535
 
#define MAX_PRODUCTIONHISTORY_SIZE   255
 

Enumerations

enum  output_file_indices_t {
  INDEX_L1B_EV_250M_FILE, INDEX_L1B_EV_500M_FILE, INDEX_L1B_EV_1000M_FILE, INDEX_L1B_OBC_FILE,
  NUM_OUTPUT_FILES, INDEX_L1B_EV_250M_FILE, INDEX_L1B_EV_500M_FILE, INDEX_L1B_EV_1000M_FILE,
  INDEX_L1B_OBC_FILE, NUM_OUTPUT_FILES
}
 

Functions

PGSt_SMF_status Write_Global_Metadata (L1B_Gran_Metadata_t *L1B_Gran_Meta, QA_Data_t *QA, lookup_tables_t *tables, int32 OBC_sd_id, boolean skip_night_hi_res)
 
PGSt_SMF_status Get_Electronics_Status (int32 v_id, int32 num_scans, char *vname, char *fname, int16 *final_value, int16 *is_changed, boolean *no_valid_value)
 
PGSt_SMF_status Get_Elec_Config_Status_Per_Gran (int32 v_id, int32 num_scans, uint32 *Elec_config_status, uint32 *Elec_config_change, uint32 *Elec_config_invalid_flag)
 
PGSt_SMF_status Get_Elec_Config_Status (QA_Common_t *QA_common, int32 v_id, int32 num_scans, uint32 *Elec_config_status, uint32 *Elec_config_change)
 
void get_attr (char *, void *)
 
void get_string_attr (char *, char *)
 
void set_attr (char *, void *)
 
void set_string_attr (char *, char *)
 
void set_ptrstring_attr (char *, char **)
 
void copy_string_attr (char *, char *)
 
void copy_attr (char *, void *)
 

Macro Definition Documentation

◆ L1A_MISSING_ENG_PACKET

#define L1A_MISSING_ENG_PACKET   65535

Definition at line 48 of file MetadataP.h.

◆ MAX_PRODUCTIONHISTORY_SIZE

#define MAX_PRODUCTIONHISTORY_SIZE   255

Definition at line 49 of file MetadataP.h.

Enumeration Type Documentation

◆ output_file_indices_t

Enumerator
INDEX_L1B_EV_250M_FILE 
INDEX_L1B_EV_500M_FILE 
INDEX_L1B_EV_1000M_FILE 
INDEX_L1B_OBC_FILE 
NUM_OUTPUT_FILES 
INDEX_L1B_EV_250M_FILE 
INDEX_L1B_EV_500M_FILE 
INDEX_L1B_EV_1000M_FILE 
INDEX_L1B_OBC_FILE 
NUM_OUTPUT_FILES 

Definition at line 58 of file MetadataP.h.

Function Documentation

◆ copy_attr()

void copy_attr ( char *  ,
void *   
)

Definition at line 1121 of file Metadata.c.

◆ copy_string_attr()

void copy_string_attr ( char *  ,
char *   
)

Definition at line 1162 of file Metadata.c.

◆ get_attr()

void get_attr ( char *  ,
void *   
)

Definition at line 850 of file Metadata.c.

◆ Get_Elec_Config_Status()

PGSt_SMF_status Get_Elec_Config_Status ( QA_Common_t QA_common,
int32  v_id,
int32  num_scans,
uint32 *  Elec_config_status,
uint32 *  Elec_config_change 
)

Definition at line 2929 of file Metadata.c.

◆ Get_Elec_Config_Status_Per_Gran()

PGSt_SMF_status Get_Elec_Config_Status_Per_Gran ( int32  v_id,
int32  num_scans,
uint32 *  Elec_config_status,
uint32 *  Elec_config_change,
uint32 *  Elec_config_invalid_flag 
)

Definition at line 2706 of file Metadata.c.

◆ Get_Electronics_Status()

PGSt_SMF_status Get_Electronics_Status ( int32  v_id,
int32  num_scans,
char *  vname,
char *  fname,
int16 *  final_value,
int16 *  is_changed,
boolean no_valid_value 
)

Definition at line 2555 of file Metadata.c.

◆ get_string_attr()

void get_string_attr ( char *  ,
char *   
)

Definition at line 906 of file Metadata.c.

◆ set_attr()

void set_attr ( char *  ,
void *   
)

Definition at line 962 of file Metadata.c.

◆ set_ptrstring_attr()

void set_ptrstring_attr ( char *  ,
char **   
)

Definition at line 1069 of file Metadata.c.

◆ set_string_attr()

void set_string_attr ( char *  ,
char *   
)

Definition at line 1014 of file Metadata.c.

◆ Write_Global_Metadata()

PGSt_SMF_status Write_Global_Metadata ( L1B_Gran_Metadata_t L1B_Gran_Meta,
QA_Data_t QA,
lookup_tables_t tables,
int32  OBC_sd_id,
boolean  skip_night_hi_res 
)

Definition at line 1849 of file Metadata.c.