10.11.2012 Views

Reference Manual of the nadc-tools API and Libraries - SRON

Reference Manual of the nadc-tools API and Libraries - SRON

Reference Manual of the nadc-tools API and Libraries - SRON

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2.10.1 MERISget Version<br />

Identifier MERISget Version<br />

Purpose get version <strong>of</strong> MERIS library <strong>and</strong> release date<br />

Usage MERISget Version( &majnum, &minnum, &relnum, reldate );<br />

Output unsigned int *majnum : major revision number<br />

unsigned int *minnum : minor revision number<br />

unsigned int *relnum : release revision number<br />

char *reldate : release date<br />

Returns nothing<br />

Comment none<br />

2.10.2 MERISshow Version<br />

Identifier MERISshow Version<br />

Purpose display version <strong>of</strong> MERIS library <strong>and</strong> release date<br />

Usage MERISshow Version( stream, prognm );<br />

Output FILE *stream : file pointer<br />

char *prognm : name <strong>of</strong> <strong>the</strong> calling program<br />

Returns nothing<br />

Comment none<br />

2.11 FIT GRID AKIMA<br />

Identifier FIT GRID AKIMA<br />

Author R.M. van Hees<br />

Language ANSI C<br />

Purpose interpolates values <strong>of</strong> a given spectrum to ano<strong>the</strong>r wavelength grid<br />

Usage FIT GRID AKIMA( FLT32 T, FLT64 T, dim in, x in, y in,<br />

FLT64 T, FLT64 T, dim out, x out, y out );<br />

Input int x type in : data type <strong>of</strong> input values (float or double)<br />

int y type in : data type <strong>of</strong> input values (float or double)<br />

size t dim in : dimension <strong>of</strong> x in, y in<br />

void *x in : input (wavelength) grid<br />

void *y in : y values <strong>of</strong> <strong>the</strong> given spectrum<br />

int x type out : data type <strong>of</strong> output values (float or double)<br />

int y type out : data type <strong>of</strong> output values (float or double)<br />

size t dim out : dimension <strong>of</strong> x out, y out<br />

void *x out : output (wavelength) grid<br />

Output void *y out : y values <strong>of</strong> <strong>the</strong> spectrum fitted to grid<br />

Returns nothing<br />

Comment nothing<br />

27

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!