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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2.20.2 ASCII 2 MJD<br />

Identifier ASCII 2 MJD<br />

Purpose Converts ASCII time into SCIAMACHY MJD<br />

Usage ASCII 2 MJD( ASCII Time, &mjd2000, &second, &mu sec );<br />

Input char *ASCII Time : given as DD-MMM-YYYY HH:MM:SS.SSSSSS<br />

Output signed int *mjd2000 : number <strong>of</strong> days elapsed since 1.1.2000<br />

unsigned int *second : seconds elepsed since midnight<br />

unsigned int *mu sec : micro-seconds since last second<br />

Returns error status<br />

Comment none<br />

2.20.3 UTC 2 ASCII<br />

Identifier UTC 2 ASCII<br />

Purpose Converts ESA UTC time into a ASCII time<br />

Usage UTC 2 ASCII( utc day, utc msec, ASCII Time );<br />

Input unsigned int utc day : ESA UTC days since 01.01.1950<br />

unsigned int utc msec : ESA UTC milli-seconds since midnight<br />

Output char *ASCII Time : returned as DD-MMM-YYYY HH:MM:SS.SSS<br />

Returns nothing<br />

Comment see GOME date specification<br />

2.20.4 MJD 2 ASCII<br />

Identifier MJD 2 ASCII<br />

Purpose Converts SCIAMACHY MJD into a ASCII time<br />

Usage MJD 2 ASCII( mjd2000, second, mu sec, ASCII Time );<br />

Input signed int mjd2000 : number <strong>of</strong> days elapsed since 1.1.2000<br />

unsigned int second : seconds elepsed since midnight<br />

unsigned int mu sec : micro-seconds since last second<br />

Output char *ASCII Time : returned as DD-MMM-YYYY HH:MM:SS.SSSSSS<br />

Returns nothing<br />

Comment see SCIAMACHY date specification<br />

2.20.5 UTC 2 DATETIME<br />

Identifier UTC 2 DATETIME<br />

Purpose Converts ESA UTC time into a MySQL dateTime string<br />

Usage UTC 2 DATETIME( utc day, utc msec, dateTime );<br />

Input unsigned int utc day : ESA UTC days since 01.01.1950<br />

unsigned int utc msec : ESA UTC milli-seconds since midnight<br />

Output char *dateTime : returned as YYYY-MM-DD HH:MM:SS.SSS<br />

Returns nothing<br />

Comment see GOME date specification<br />

36

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

Saved successfully!

Ooh no, something went wrong!