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.
2.3.1 ENVI RD DSD<br />
Identifier ENVI RD DSD<br />
Purpose read Data Set Description records <strong>of</strong> <strong>the</strong> Envisat PDS product<br />
Usage nr dsd = ENVI RD DSD( fd, mph, &dsd );<br />
Input FILE *fd : (open) stream pointer<br />
struct mph envi mph : main product header (A.5)<br />
Output struct dsd envi *dsd : structure for <strong>the</strong> DSD (A.6)<br />
Returns number <strong>of</strong> DSD read (unsigned int)<br />
error status passed by global variable “<strong>nadc</strong> stat”<br />
Comment none<br />
2.3.2 ENVI WR DSD<br />
Identifier ENVI WR DSD<br />
Purpose write Data Set Description records <strong>of</strong> <strong>the</strong> Envisat PDS product<br />
Usage ENVI WR DSD( fd, num dsd, dsd );<br />
Input FILE *fd : (open) stream pointer<br />
unsigned int num dsd : number <strong>of</strong> DSD records<br />
struct dsd envi *dsd : structure for <strong>the</strong> DSD (A.6)<br />
Returns nothing<br />
Comment none<br />
2.4 ENVI RD PDS INFO<br />
Identifier ENVI RD PDS INFO<br />
Author R.M. van Hees<br />
Language ANSI C<br />
Purpose read one SCIAMACHY header-line,<br />
split line in keyword <strong>and</strong> keyvalue<br />
Usage nbyte = ENVI RD PDS INFO( fd, keyword, keyvalue );<br />
Input FILE *fd : open stream pointer<br />
Output char *keyword : string with keyword name<br />
char *keyvalue : string with keyword value<br />
Returns number <strong>of</strong> bytes read (unsigned int)<br />
Comment None<br />
2.5 ENVI PDS MPH<br />
Identifier ENVI PDS MPH<br />
Author R.M. van Hees<br />
Language ANSI C<br />
Purpose read/write Main Product Header <strong>of</strong> <strong>the</strong> Envisat PDS product<br />
Comment contains ENVI RD MPH <strong>and</strong> ENVI WR MPH<br />
24