ENVISAT Product Reader API for C |
Functions | |
EPR_SProductId * | epr_open_product (const char *product_file_path) |
Opens the ENVISAT product file with the given file path, reads MPH, SPH and all DSDs, organized the table with parameter of line length and tie points number; returns a file identifier for the product. | |
int | epr_close_product (EPR_SProductId *product_id) |
Closes the ENVISAT product file determined by the given product identifier. |
EPR_SProductId* epr_open_product | ( | const char * | product_file_path | ) |
Opens the ENVISAT product file with the given file path,
reads MPH, SPH and all DSDs,
organized the table with parameter of line length and tie points number;
returns a file identifier for the product.
The ENVISAT product reader API must be initialized before.
product_file_path | the path to the ENVISAT product file |
NULL
if the file could not be opened. epr_get_error_code()
should be called in this case in order to obtain the error code. int epr_close_product | ( | EPR_SProductId * | product_id | ) |
Closes the ENVISAT product file determined by the given product identifier.
product_id | the product identifier, if NULL the function immediately returns zero. |
Generated on Mon Aug 2 15:24:00 2010
ENVISAT Product Reader C API
Written by Brockmann Consult, © 2002