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
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
4.50.1 SCIA LV1 RD SRS<br />
Identifier SCIA LV1 RD SRS<br />
Purpose read Sun <strong>Reference</strong> Spectrum records<br />
Usage nr dsr = SCIA LV1 RD SRS( fd, num dsd, dsd, &srs );<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 srs scia **srs : Sun reference spectrum (E.14)<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.50.2 SCIA LV1 WR SRS<br />
Identifier SCIA LV1 WR SRS<br />
Purpose write Sun <strong>Reference</strong> Spectrum records<br />
Usage SCIA LV1 WR SRS( fd, num srs, srs );<br />
Input FILE *fd : stream pointer<br />
unsigned int num srs : number <strong>of</strong> SRS records<br />
struct srs scia *srs : Sun reference spectrum (E.14)<br />
Returns nothing<br />
error status passed by global variable “<strong>nadc</strong> stat”<br />
Comment none<br />
4.51 SCIA LV1 PDS SRSN<br />
Identifier SCIA LV1 PDS SRSN<br />
Author R.M. van Hees<br />
Language ANSI C<br />
Purpose read/write Sun <strong>Reference</strong> Spectrum (newly calculated)<br />
Comment contains SCIA LV1 RD SRSN <strong>and</strong> SCIA LV1 WR SRSN<br />
4.51.1 SCIA LV1 RD SRSN<br />
Identifier SCIA LV1 RD SRSN<br />
Purpose read Sun <strong>Reference</strong> Spectrum (newly calculated)<br />
Usage nr dsr = SCIA LV1 RD SRSN( fd, num dsd, dsd, &srsn );<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 srsn scia **srsn : Sun reference spectrum (new) (E.29)<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 />
111