1381 lstat =
palObs( 0,
"MMT", shortname,
sizeof(shortname),
1382 longname,
sizeof(longname), &w, &p, &h );
1383 vcs ( shortname,
"MMT",
"palObs",
"1/C", status );
1384 vcs ( longname,
"MMT 6.5m, Mt Hopkins",
"palObs",
"1/NAME",
1386 vvd ( w, 1.935300584055477, 1e-8,
"palObs",
1388 vvd ( p, 0.5530735081550342238, 1e-10,
"palObs",
1390 vvd ( h, 2608, 1e-10,
"palObs",
1392 viv( lstat, 0,
"palObs",
"retval", status );
1394 lstat =
palObs ( 61, NULL, shortname,
sizeof(shortname),
1395 longname,
sizeof(longname), &w, &p, &h );
1396 vcs ( shortname,
"KECK1",
"palObs",
"2/C", status );
1397 vcs ( longname,
"Keck 10m Telescope #1",
"palObs",
1399 vvd ( w, 2.713545757918895, 1e-8,
"palObs",
1401 vvd ( p, 0.3460280563536619, 1e-8,
"palObs",
1403 vvd ( h, 4160, 1e-10,
"palObs",
1405 viv( lstat, 0,
"palObs",
"retval", status );
1407 lstat =
palObs ( 83, NULL, shortname,
sizeof(shortname),
1408 longname,
sizeof(longname), &w, &p, &h );
1409 vcs ( shortname,
"MAGELLAN2",
"palObs",
"3/C", status );
1410 vcs ( longname,
"Magellan 2, 6.5m, Las Campanas",
1411 "palObs",
"3/NAME", status );
1412 vvd ( w, 1.233819305534497, 1e-8,
"palObs",
1414 vvd ( p, -0.506389344359954, 1e-8,
"palObs",
1416 vvd ( h, 2408, 1e-10,
"palObs",
1418 viv( lstat, 0,
"palObs",
"retval", status );
1423 lstat =
palObs ( 86, NULL, shortname,
sizeof(shortname),
1424 longname,
sizeof(longname), &w, &p, &h );
1425 vcs ( longname,
"?",
"palObs",
"4/NAME", status );
1426 viv( lstat, -1,
"palObs",
"retval", status );
1428 lstat =
palObs ( 0,
"MISSING", shortname,
sizeof(shortname),
1429 longname,
sizeof(longname), &w, &p, &h );
1430 vcs ( longname,
"?",
"palObs",
"5/NAME", status );
1431 viv( lstat, -1,
"palObs",
"retval", status );
1433 lstat =
palObs( 0,
"mmt", shortname,
sizeof(shortname),
1434 longname,
sizeof(longname), &w, &p, &h );
1435 vcs ( shortname,
"MMT",
"palObs",
"6/C", status );
1436 vcs ( longname,
"MMT 6.5m, Mt Hopkins",
"palObs",
"6/NAME",
1438 vvd ( w, 1.935300584055477, 1e-8,
"palObs",
1440 vvd ( p, 0.5530735081550342238, 1e-10,
"palObs",
1442 vvd ( h, 2608, 1e-10,
"palObs",
1444 viv( lstat, 0,
"palObs",
"retval", status );
static void viv(int ival, int ivalok, const char *func, const char *test, int *status)
static void vvd(double val, double valok, double dval, const char *func, const char *test, int *status)
static void vcs(const char *val, const char *valok, const char *func, const char *test, int *status)
int palObs(size_t n, const char *c, char *ident, size_t identlen, char *name, size_t namelen, double *w, double *p, double *h)