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.2.8 GET SCIA LV0 DET PET<br />

Identifier GET SCIA LV0 DET PET<br />

Purpose get pixel exposure time<br />

Usage GET SCIA LV0 DET PET( chan hdr, pet, &vir chan b );<br />

Input struct chan hdr hdr : L0 MDS channel header<br />

Output float *pet : pixel exposure time [sec]<br />

if (*vir chan b != 0) pet = fltarr(2)<br />

unsigned short *vir chan b : virtual channel indicator<br />

Returns nothing<br />

Comment none<br />

4.3 GET SCIA LV0 MDS INFO<br />

Identifier GET SCIA LV0 MDS INFO<br />

Author R.M. van Hees<br />

Language ANSI C<br />

Purpose query <strong>the</strong> contents a SCIAMACHY level 0 product<br />

Usage nr info = GET SCIA LV0 MDS INFO( fd, mph, dsd, &info );<br />

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

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

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

Output struct mds0 info *info : structure holding info about MDS records (D.18)<br />

Returns number <strong>of</strong> MDS’s read (unsigned int),<br />

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

Comment None<br />

4.4 GET SCIA LV0C MDS<br />

Identifier GET SCIA LV0C MDS<br />

Author R.M. van Hees<br />

Language ANSI C<br />

Purpose convert L0 MDS DET to L1C structure<br />

Usage nr mds = GET SCIA LV0C MDS( nr det, det, mds 1c );<br />

Input unsigned int nr det : number <strong>of</strong> MDS DET structures<br />

struct mds0 det *det : Detector MDS records (level 0) (D.20)<br />

Output struct mds1c scia *mds 1c : level 1c MDS records (C.11)<br />

Returns number <strong>of</strong> level 1c MDS records<br />

Comment None<br />

77

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

Saved successfully!

Ooh no, something went wrong!