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.11 GomeJDAY2adaguc<br />

Identifier GomeJDAY2adaguc<br />

Purpose Converts julian (1950) decimal day into a dateTime string<br />

Usage GomeJDAY2adaguc( jday, dateTime );<br />

Input double jday : decimal days elapsed since 1.1.1950<br />

Output char *dateTime : returned as yyyyMMddThhmmss<br />

Returns nothing<br />

Comment none<br />

2.20.12 Adaguc2gomeJDAY<br />

Identifier Adaguc2gomeJDAY<br />

Purpose Converts dateTime string to julian (1950) decimal day<br />

Usage jday = Adaguc2gomeJDAY2( dateTime );<br />

Input char *dateTime : dateTime given as yyyyMMddThhmmss<br />

Returns decimal days elapsed since 1.1.1950 (double)<br />

Comment see GOME date specification<br />

2.21 NADC ERROR<br />

Identifier NADC ERROR<br />

Author R.M. van Hees<br />

Language ANSI C<br />

Purpose error h<strong>and</strong>ling <strong>and</strong> display routines<br />

Comment contains NADC Err Push, NADC Err Clear, NADC Err Keep,<br />

NADC Err Trace<br />

used global variables: <strong>nadc</strong> stat <strong>and</strong> <strong>nadc</strong> err stack<br />

2.21.1 NADC Err Push<br />

Identifier NADC Err Push<br />

Purpose push error message on stack<br />

Usage NADC Err Push( mesg num, file name, func name, line, desc );<br />

Input NADC err t mesg num : id <strong>of</strong> error message<br />

char *file name : name <strong>of</strong> <strong>the</strong> module,<br />

where <strong>the</strong> error was issued<br />

char *func name : name <strong>of</strong> <strong>the</strong> function,<br />

where <strong>the</strong> error was issued<br />

int line : line where <strong>the</strong> error was issued<br />

char *desc : string with additional info<br />

Returns nothing<br />

Comment none<br />

2.21.2 NADC Err Clear<br />

Identifier NADC Err Clear<br />

Purpose clear error stack<br />

Usage NADC Err Clear();<br />

Returns nothing<br />

Comment none<br />

38

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

Saved successfully!

Ooh no, something went wrong!