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.54.1 SCIA LV1 RD MDS<br />
Identifier SCIA LV1 RD MDS<br />
Purpose read MDS <strong>of</strong> one state from a SCIAMACHY level 1b product<br />
Usage nr mds = SCIA LV1 RD MDS( fd, clus mask, state, &mds );<br />
Input FILE *fd : (open) stream pointer<br />
ulong64 clus mask : mask for cluster selection<br />
In/Output struct state1 scia *state : structure with States <strong>of</strong> <strong>the</strong> product (E.22)<br />
Output struct mds1 scia **mds : structure for level 1b MDS records (E.31)<br />
Returns number <strong>of</strong> level 1b MDS read (unsigned int),<br />
error status passed by global variable “<strong>nadc</strong> stat”<br />
Comment This routine allocates memory for <strong>the</strong> following variables:<br />
sat flags, red grass, glint flags, geoN/geoL/geoC, lvl0 header,<br />
int pmd, polV<br />
<strong>and</strong> depending up on <strong>the</strong> cluster configuration:<br />
clus[].sig, clus[].sigc<br />
4.54.2 SCIA LV1C RD MDS<br />
Identifier SCIA LV1C RD MDS<br />
Purpose read SCIAMACHY level 1c MDS<br />
Usage nr mds = SCIA LV1C RD MDS( fd, clus mask, state, &mds );<br />
Input FILE *fd : (open) stream pointer<br />
ulong64 clus mask : mask for cluster selection<br />
In/Output struct state1 scia *state : structure with States <strong>of</strong> <strong>the</strong> product (E.22)<br />
Output struct mds1c scia **mds : structure for level 1c MDS (C.11)<br />
Returns number <strong>of</strong> level 1c MDS read (unsigned int),<br />
error status passed by global variable “<strong>nadc</strong> stat”<br />
Comment This routine allocates memory for <strong>the</strong> following variables:<br />
pixel ids, pixel wv, pixel wv err, pixel val, pixel err,<br />
geoN/geoL/geoC<br />
4.54.3 SCIA LV1C RD MDS PMD<br />
Identifier SCIA LV1C RD MDS PMD<br />
Purpose read SCIAMACHY level 1c PMD MDS<br />
Usage nr mds = SCIA LV1C RD MDS PMD( fd, state, &pmd );<br />
Input FILE *fd : (open) stream pointer<br />
struct state1 scia *state : structure with States <strong>of</strong> <strong>the</strong> product (E.22)<br />
Output struct mds1c pmd **pmd : structure for level 1c PMD MDS (C.12)<br />
Returns number <strong>of</strong> level 1c PMD MDS read (unsigned int),<br />
error status passed by global variable “<strong>nadc</strong> stat”<br />
Comment This routine allocates memory for <strong>the</strong> following variables:<br />
int pmd, geoN/geoL/geoC<br />
114