ocssw
V2022
|
#include <assert.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "epr_api.h"
#include "epr_core.h"
#include "epr_string.h"
#include "epr_ptrarray.h"
#include "epr_swap.h"
#include "epr_field.h"
#include "epr_record.h"
#include "epr_param.h"
#include "epr_dsd.h"
#include "epr_msph.h"
#include "epr_band.h"
#include "epr_bitmask.h"
Go to the source code of this file.
Functions | |
EPR_SRecord * | epr_read_mph (EPR_SProductId *product_id) |
EPR_SRecord * | epr_read_sph (EPR_SProductId *product_id) |
void | epr_store_header (const char *header_name, const char *ascii_source) |
EPR_SRecord * | epr_parse_header (const char *header_name, const char *ascii_source) |
void | epr_parse_string_token (EPR_SPtrArray *header_values, char *token_value, epr_uint *num_elems, epr_uint *num_bytes, EPR_EDataTypeId *tp) |
void | epr_parse_double_token (EPR_SPtrArray *header_values, char *token_value, epr_uint *num_elems, epr_uint *num_bytes, EPR_EDataTypeId *tp) |
void | epr_parse_int_token (EPR_SPtrArray *header_values, char *token_value, epr_uint *num_elems, epr_uint *num_bytes, EPR_EDataTypeId *tp) |
void | epr_set_header_field_values (EPR_SRecord *record, EPR_SPtrArray *header_values) |
epr_uint | epr_compare_param (EPR_SProductId *product_id) |
Function Documentation
◆ epr_compare_param()
epr_uint epr_compare_param | ( | EPR_SProductId * | product_id | ) |
Definition at line 532 of file epr_msph.c.
◆ epr_parse_double_token()
void epr_parse_double_token | ( | EPR_SPtrArray * | header_values, |
char * | token_value, | ||
epr_uint * | num_elems, | ||
epr_uint * | num_bytes, | ||
EPR_EDataTypeId * | tp | ||
) |
Definition at line 358 of file epr_msph.c.
◆ epr_parse_header()
Parses the header ASCII information.
- Parameters
-
header_name name of the header ascii information; ascii_source the header ascii information was read; record the identifier of header ascii information.
Definition at line 174 of file epr_msph.c.
◆ epr_parse_int_token()
void epr_parse_int_token | ( | EPR_SPtrArray * | header_values, |
char * | token_value, | ||
epr_uint * | num_elems, | ||
epr_uint * | num_bytes, | ||
EPR_EDataTypeId * | tp | ||
) |
Definition at line 388 of file epr_msph.c.
◆ epr_parse_string_token()
void epr_parse_string_token | ( | EPR_SPtrArray * | header_values, |
char * | token_value, | ||
epr_uint * | num_elems, | ||
epr_uint * | num_bytes, | ||
EPR_EDataTypeId * | tp | ||
) |
Definition at line 329 of file epr_msph.c.
◆ epr_read_mph()
EPR_SRecord* epr_read_mph | ( | EPR_SProductId * | product_id | ) |
Reads the full main product header (MPH) of the ENVISAT product file by the given product identifier.
- Parameters
-
product_id the product identifier, must not be NULL
- Returns
- a record representing the MPH of the specified product file or
NULL
if an error occured.
Definition at line 47 of file epr_msph.c.
◆ epr_read_sph()
EPR_SRecord* epr_read_sph | ( | EPR_SProductId * | product_id | ) |
Reads the full specific product header (SPH) of the ENVISAT product file by the given product identifier.
- Parameters
-
product_id the product identifier, must not be NULL
- Returns
- a record representing the MPH of the specified product file or
NULL
if an error occured.
Definition at line 92 of file epr_msph.c.
◆ epr_set_header_field_values()
void epr_set_header_field_values | ( | EPR_SRecord * | record, |
EPR_SPtrArray * | header_values | ||
) |
Fills the record for the header ASCII information.
- Parameters
-
record to fill; header_values values from the given product file; record beeng filling.
Definition at line 487 of file epr_msph.c.
◆ epr_store_header()
Definition at line 157 of file epr_msph.c.