(r8084/r7671)
#include "epr_ptrarray.h"
#include <stdio.h>
Go to the source code of this file.
Function Documentation
Opens dsd for a dataset description, obtained from an ENVISAT product file.
- Parameters:
-
| dsd_index | the number of dsd (zero-based), emrty dsd inclusive |
- Returns:
- the the pointer at the dsd information.
Definition at line 48 of file epr_dsd.c.
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.
Definition at line 433 of file epr_dsd.c.
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
Definition at line 175 of file epr_dsd.c.
Reads all dataset descriptions from an ENVISAT product file.
- Parameters:
-
| product_id | the file identifier, if NULL the function immediately returns NULL. |
- Returns:
- an array of dataset descriptions or
NULL if an error occured.
Definition at line 469 of file epr_dsd.c.
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.
Definition at line 226 of file epr_dsd.c.