#include "MetadataP.h"
#include "Preprocess.h"
#include "L1B_Tables.h"
#include "PGS_TD.h"
#include "HDF_Lib.h"
#include "FNames.h"
#include "PGS_Error_Codes.h"
#include <time.h>
#include <libgen.h>
#include "granule_extract_metadata.h"
Go to the source code of this file.
|
PGSt_SMF_status | Write_Gran_Metadata (Run_Time_Parameters_t *runtime_params, L1B_Gran_Metadata_t *L1B_Gran_Meta, QA_Data_t *QA, Preprocess_Data_t *PP, lookup_tables_t *tables, L1A_granule_t *L1A_Gran, boolean skip_night_hi_res) |
|
void | get_attr (char *field, void *value) |
|
void | get_string_attr (char *field, char *value) |
|
void | set_attr (char *field, void *value) |
|
void | set_string_attr (char *field, char *value) |
|
void | set_ptrstring_attr (char *field, char **value) |
|
void | copy_attr (char *field, void *value) |
|
void | copy_string_attr (char *field, char *value) |
|
PGSt_SMF_status | Gran_Meta_Cal (L1A_granule_t *L1A_Gran, L1B_granule_t *L1B_Gran, Preprocess_Data_t *PP, QA_Data_t *QA, L1B_Scan_Metadata_t *L1B_Scan_Meta, L1B_Gran_Metadata_t *L1B_Gran_Meta) |
|
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) |
|
◆ ALGORITHMPACKAGENAME_MACRO
#define ALGORITHMPACKAGENAME_MACRO "MODIS Level 1B Algorithm Package" |
◆ ANCILLARYINPUTTYPE_MACRO
#define ANCILLARYINPUTTYPE_MACRO "Geolocation" |
◆ AUTOMATICQUALITYFLAG_MACRO
#define AUTOMATICQUALITYFLAG_MACRO "Suspect" |
◆ AUTOMATICQUALITYFLAGEXPLANATION_MACRO
#define AUTOMATICQUALITYFLAGEXPLANATION_MACRO "not being investigated" |
◆ CALIBRATIONQUALITY_MACRO
#define CALIBRATIONQUALITY_MACRO "marginal" |
◆ INSTRUMENTNAME_MACRO
#define INSTRUMENTNAME_MACRO "Moderate Resolution Imaging SpectroRadiometer" |
◆ MECS_ARCH
#define MECS_ARCH "ArchiveMetadata.0" |
◆ MECS_CORE
#define MECS_CORE "CoreMetadata.0" |
◆ NADIRPOINTING_MACRO
#define NADIRPOINTING_MACRO "Y" |
◆ TIMECODEASIZE
◆ copy_attr()
void copy_attr |
( |
char * |
field, |
|
|
void * |
value |
|
) |
| |
◆ copy_string_attr()
void copy_string_attr |
( |
char * |
field, |
|
|
char * |
value |
|
) |
| |
◆ get_attr()
void get_attr |
( |
char * |
field, |
|
|
void * |
value |
|
) |
| |
◆ 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 |
|
) |
| |
◆ 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 |
|
) |
| |
◆ 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 |
|
) |
| |
◆ get_string_attr()
void get_string_attr |
( |
char * |
field, |
|
|
char * |
value |
|
) |
| |
◆ Gran_Meta_Cal()
◆ set_attr()
void set_attr |
( |
char * |
field, |
|
|
void * |
value |
|
) |
| |
◆ set_ptrstring_attr()
void set_ptrstring_attr |
( |
char * |
field, |
|
|
char ** |
value |
|
) |
| |
◆ set_string_attr()
void set_string_attr |
( |
char * |
field, |
|
|
char * |
value |
|
) |
| |
◆ Write_Global_Metadata()
◆ Write_Gran_Metadata()
◆ pgs_in
◆ pgs_out_mdHandle