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
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
4.36.2 SCIA LV1 WR DARK<br />
Identifier SCIA LV1 WR DARK<br />
Purpose write average <strong>of</strong> <strong>the</strong> Dark Measurements per State<br />
Usage SCIA LV1 WR DARK( fd, num dark, dark );<br />
Input FILE *fd : stream pointer<br />
unsigned int num dark : number <strong>of</strong> Dark records<br />
struct dark scia *dark : average <strong>of</strong> <strong>the</strong> dark measurements (E.26)<br />
Returns nothing<br />
error status passed by global variable “<strong>nadc</strong> stat”<br />
Comment none<br />
4.37 SCIA LV1 PDS EKD<br />
Identifier SCIA LV1 PDS EKD<br />
Author R.M. van Hees<br />
Language ANSI C<br />
Purpose read/write Errors on Key Data<br />
Comment contains SCIA LV1 RD EKD <strong>and</strong> SCIA LV1 WR EKD<br />
4.37.1 SCIA LV1 RD EKD<br />
Identifier SCIA LV1 RD EKD<br />
Purpose read Errors on Key Data<br />
Usage nr dsr = SCIA LV1 RD EKD( fd, num dsd, dsd, &ekd );<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 ekd scia *ekd : errors on key data (E.19)<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.37.2 SCIA LV1 WR EKD<br />
Identifier SCIA LV1 WR EKD<br />
Purpose write Errors on Key Data<br />
Usage SCIA LV1 WR EKD( fd, num ekd, ekd );<br />
Input FILE *fd : stream pointer<br />
unsigned int num ekd : number <strong>of</strong> EKD records<br />
struct ekd scia ekd : errors on key data (E.19)<br />
Returns nothing<br />
error status passed by global variable “<strong>nadc</strong> stat”<br />
Comment none<br />
4.38 SCIA LV1 PDS LCPN<br />
Identifier SCIA LV1 PDS LCPN<br />
Author R.M. van Hees<br />
Language ANSI C<br />
Purpose read/write Leakage Current Parameters (newly calculated)<br />
Comment contains SCIA LV1 RD LCPN <strong>and</strong> SCIA LV1 WR LCPN<br />
100