OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
API Initialisation

Functions

int epr_init_api (EPR_ELogLevel log_level, EPR_FLogHandler log_handler, EPR_FErrHandler err_handler)
 
void epr_close_api ()
 

Detailed Description

Function Documentation

◆ epr_close_api()

void epr_close_api ( )

Closes the ENVISAT product reader API by releasing all resources allocated by the API.

Author
Norman Fomferra

Closes the ENVISAT product reader API by releasing all resources allocated by the API.

Definition at line 90 of file epr_api.c.

◆ epr_init_api()

int epr_init_api ( EPR_ELogLevel  log_level,
EPR_FLogHandler  log_handler,
EPR_FErrHandler  err_handler 
)

Initializes the ENVISAT product reader API.

Parameters
log_levelthe log level. All logging messages with a log level lower than the given one, will be supressed
log_handlerthe log handler function pointer which will be used for logging, can be NULL, if logging shall be disabled
err_handlerthe new error handler (function pointer), can be NULL, if errors shall not be reported
Returns
zero for success, an error code otherwise
Author
Norman Fomferra

Initializes the ENVISAT product reader API.

Definition at line 40 of file epr_api.c.