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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.102.2 SCIA OL2 WR SPH<br />

Identifier SCIA OL2 WR SPH<br />

Purpose write Specific Product Header <strong>of</strong> Level 2 Offline Product<br />

Usage SCIA OL2 WR SPH( fd, mph, sph );<br />

Input FILE *fd : (open) stream pointer<br />

struct mph envi mph : main product header (A.5)<br />

struct sph sci ol sph : structure for <strong>the</strong> SPH (F.11)<br />

Returns nothing<br />

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

Comment none<br />

4.103 SCIA OL2 RD CLD<br />

Identifier SCIA OL2 RD CLD<br />

Author R.M. van Hees<br />

Language ANSI C<br />

Purpose read Cloud <strong>and</strong> Aerosol Data sets<br />

Usage nbyte = SCIA OL2 RD CLD( fd, num dsd, dsd, &cld );<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 cld sci ol **cld : Cloud <strong>and</strong> Aerosol Data sets (F.15)<br />

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

Comment None<br />

4.104 SCIA OL2 RD GEO<br />

Identifier SCIA OL2 RD GEO<br />

Author R.M. van Hees<br />

Language ANSI C<br />

Purpose read Geolocation Data Sets<br />

Usage nr dsr = SCIA OL2 RD NGEO( fd, num dsd, dsd, &geo );<br />

nr dsr = SCIA OL2 RD LGEO( fd, num dsd, dsd, &geo );<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 ngeo scia *geo : Nadir Geolocation Data sets (F.13)<br />

struct lgeo scia *geo : Limb/Occultation Geolocation Data sets (F.14)<br />

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

Comment None<br />

138

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

Saved successfully!

Ooh no, something went wrong!