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.

4.44 SCIA LV1 PDS SCP<br />

Identifier SCIA LV1 PDS SCP<br />

Author R.M. van Hees<br />

Language ANSI C<br />

Purpose read/write Spectral Calibration Parameters records<br />

Comment contains SCIA LV1 RD SCP <strong>and</strong> SCIA LV1 WR SCP<br />

4.44.1 SCIA LV1 RD SCP<br />

Identifier SCIA LV1 RD SCP<br />

Purpose read Spectral Calibration Parameters records<br />

Usage nr dsr = SCIA LV1 RD SCP( fd, num dsd, dsd, &scp );<br />

Input FILE *fd : stream pointer<br />

unsigned int num dsd : number <strong>of</strong> DSDs<br />

struct dsd envi dsd : structure for <strong>the</strong> DSDs (A.6)<br />

Output struct scp scia **scp : Spectral Calibration Parameters (E.13)<br />

Returns number <strong>of</strong> data set records read (unsigned int)<br />

error status passed by global variable “<strong>nadc</strong> stat”<br />

Comment none<br />

4.44.2 SCIA LV1 WR SCP<br />

Identifier SCIA LV1 WR SCP<br />

Purpose write Spectral Calibration Parameters records<br />

Usage SCIA LV1 WR SCP( fd, num scp, scp );<br />

Input FILE *fd : stream pointer<br />

unsigned int num scp : number <strong>of</strong> SCP records<br />

struct scp scia *scp : Spectral Calibration Parameters (E.13)<br />

Returns nothing<br />

error status passed by global variable “<strong>nadc</strong> stat”<br />

Comment none<br />

4.45 SCIA LV1 PDS SCPN<br />

Identifier SCIA LV1 PDS SCPN<br />

Author R.M. van Hees<br />

Language ANSI C<br />

Purpose read/write Spectral Calibration Parameters (newly calculated)<br />

Comment contains SCIA LV1 RD SCPN <strong>and</strong> SCIA LV1 WR SCPN<br />

4.45.1 SCIA LV1 RD SCPN<br />

Identifier SCIA LV1 RD SCPN<br />

Purpose read Spectral Calibration Parameters (newly calculated)<br />

Usage nbyte = SCIA LV1 RD SCPN( fd, num dsd, dsd, &scpn );<br />

Input FILE *fd : stream pointer<br />

unsigned int num dsd : number <strong>of</strong> DSDs<br />

struct dsd envi *dsd : structure for <strong>the</strong> DSDs (A.6)<br />

Output struct scpn scia **scpn : spectral calibration parameters (new) (E.28)<br />

Returns number <strong>of</strong> data set records read (unsigned int)<br />

error status passed by global variable “<strong>nadc</strong> stat”<br />

Comment none<br />

107

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

Saved successfully!

Ooh no, something went wrong!