ENVISAT Product Reader API for C

Data Fields
EPR_ProductId Struct Reference

The EPR_ProductId structure contains information about an ENVISAT product file which has been opened with the epr_open_product() function. More...

#include <epr_api.h>

Data Fields

EPR_Magic magic
 The magic number for this structure. More...
 
char * file_path
 The file's path including the file name. More...
 
FILE * istream
 The input stream as returned by the ANSI C fopen function for the given file path. More...
 
uint tot_size
 The total size in bytes of the product file. More...
 
uint scene_width
 The total width of product's scene raster in pixels. More...
 
uint scene_height
 The total height of product's scene raster in pixels. More...
 
char id_string [EPR_PRODUCT_ID_STRLEN+1]
 The product identifier string obtained from the MPH parameter 'PRODUCT'. More...
 
EPR_SRecordmph_record
 The record representing the main product header (MPH). More...
 
EPR_SRecordsph_record
 The record representing the specific product header (SPH). More...
 
EPR_SPtrArray * dsd_array
 An array containing all (!) DSDs read from the product's specific product header (SPH). More...
 
EPR_SPtrArray * record_info_cache
 Cache for record infos. More...
 
EPR_SPtrArray * param_table
 A table containing dynamic field info parameters. More...
 
EPR_SPtrArray * dataset_ids
 Contains and array of all dataset IDs for the product (type EPR_SDatasetId*) More...
 
EPR_SPtrArray * band_ids
 Contains and array of all band IDs for the product (type EPR_SBandId*) More...
 
int meris_iodd_version
 For MERIS L1b and RR and FR to provide backward compatibility. More...
 

Detailed Description

The EPR_ProductId structure contains information about an ENVISAT product file which has been opened with the epr_open_product() function.

See also
epr_open_product

Field Documentation

◆ magic

EPR_Magic EPR_ProductId::magic

The magic number for this structure.

IMPORTANT: This must always be the first member of this structure.

◆ file_path

char* EPR_ProductId::file_path

The file's path including the file name.

◆ istream

FILE* EPR_ProductId::istream

The input stream as returned by the ANSI C fopen function for the given file path.

◆ tot_size

uint EPR_ProductId::tot_size

The total size in bytes of the product file.

◆ scene_width

uint EPR_ProductId::scene_width

The total width of product's scene raster in pixels.

◆ scene_height

uint EPR_ProductId::scene_height

The total height of product's scene raster in pixels.

◆ id_string

char EPR_ProductId::id_string[EPR_PRODUCT_ID_STRLEN+1]

The product identifier string obtained from the MPH parameter 'PRODUCT'.

The first 10 characters of this string identify the the product type, e.g. "MER_1P__FR" for a MERIS Level 1b full resolution product. The rest of the string decodes product instance properties.

◆ mph_record

EPR_SRecord* EPR_ProductId::mph_record

The record representing the main product header (MPH).

◆ sph_record

EPR_SRecord* EPR_ProductId::sph_record

The record representing the specific product header (SPH).

◆ dsd_array

EPR_SPtrArray* EPR_ProductId::dsd_array

An array containing all (!) DSDs read from the product's specific product header (SPH).

◆ record_info_cache

EPR_SPtrArray* EPR_ProductId::record_info_cache

Cache for record infos.

Contains all record infos read from the database for this file so far.

The reason for caching record infos on a per-file-base is that a some record infos instances can contain file related content such as the number of pixels in a measurecment dataset record (MDSR).

◆ param_table

EPR_SPtrArray* EPR_ProductId::param_table

A table containing dynamic field info parameters.

Dynamic field info parameters are created at runtime because the are derived from the product file contents and can not be staically stored in the record info database.

◆ dataset_ids

EPR_SPtrArray* EPR_ProductId::dataset_ids

Contains and array of all dataset IDs for the product (type EPR_SDatasetId*)

◆ band_ids

EPR_SPtrArray* EPR_ProductId::band_ids

Contains and array of all band IDs for the product (type EPR_SBandId*)

◆ meris_iodd_version

int EPR_ProductId::meris_iodd_version

For MERIS L1b and RR and FR to provide backward compatibility.


The documentation for this struct was generated from the following file:

Generated on Sun Jun 25 2017 13:50:44

ENVISAT Product Reader C API

Written by Brockmann Consult, © 2002     Brockmann Consult      Eropean Space Agency