ocssw
V2022
|
Go to the source code of this file.
Functions | |
EPR_SDSD * | epr_create_dsd (int dsd_index) |
void | epr_free_dsd (EPR_SDSD *dsd) |
EPR_SDSD * | epr_read_each_dsd (FILE *envisat_source_file, int *pos) |
EPR_SPtrArray * | epr_read_all_dsds (EPR_SProductId *product_id) |
epr_uint | epr_find_first_dsd (FILE *envisat_source_file, epr_uint sph_length) |
int | epr_detect_meris_iodd_version (EPR_SProductId *product_id) |
Function Documentation
◆ epr_create_dsd()
EPR_SDSD* epr_create_dsd | ( | int | dsd_index | ) |
◆ epr_detect_meris_iodd_version()
int epr_detect_meris_iodd_version | ( | EPR_SProductId * | product_id | ) |
◆ epr_find_first_dsd()
Finds the first dataset description from an ENVISAT product file.
- Parameters
-
envisat_source_file the handle of the given ENVISAT product file, must not be NULL
sph_length [bytes] the length of SPH part from the given ENVISAT product file, must not be NULL
- Returns
- the offset to first founded dsd or
0
if not found.
Finds the first dataset description from an ENVISAT product file.
- Parameters
-
envisat_source_file the handle of the given ENVISAT product file, must not be NULL
sph_length [bytes] the length of SPH part from the given ENVISAT product file, must not be NULL
- Returns
- the offset to first searched for dsd or
0
if not found.
◆ epr_free_dsd()
void epr_free_dsd | ( | EPR_SDSD * | dsd | ) |
Release the memory allocated through a dataset description, obtained from an ENVISAT product file.
- Parameters
-
dsd the file identifier, if NULL
the function immediately returns zero.
- Returns
- zero for success, an error code otherwise
- See also
- epr_free_dsd_id
Release the memory allocated through a dataset ID.
- Parameters
-
dsd the dataset description identifier, if NULL
the function immediately returns zero.
- Returns
- zero for success, an error code otherwise
◆ epr_read_all_dsds()
EPR_SPtrArray* epr_read_all_dsds | ( | EPR_SProductId * | product_id | ) |
◆ epr_read_each_dsd()
EPR_SDSD* epr_read_each_dsd | ( | FILE * | envisat_source_file, |
int * | pos | ||
) |
Reads a dataset description from an ENVISAT product file.
- Parameters
-
envisat_source_file the handle of the given ENVISAT product file, must not be NULL
pos number of the dataset description in ENVISAT product file,
- Returns
- a new dataset description or
NULL
if an error occured.