1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
|
include <math.h>
include "skywcsdef.h"
include "skywcs.h"
# SK_ULTRAN -- Transform the sky coordinates from the input coordinate
# system to the output coordinate system using the units conversions as
# appropriate.
procedure sk_ultran (cooin, cooout, ilng, ilat, olng, olat, npts)
pointer cooin #I pointer to the input coordinate system structure
pointer cooout #I pointer to the output coordinate system structure
double ilng[ARB] #I the input ra/longitude in radians
double ilat[ARB] #I the input dec/latitude in radians
double olng[ARB] #O the output ra/longitude in radians
double olat[ARB] #O the output dec/latitude in radians
int npts #I the number of points to be converted
double tilng, tilat, tolng, tolat
int i
begin
do i = 1, npts {
switch (SKY_NLNGUNITS(cooin)) {
case SKY_HOURS:
tilng = DEGTORAD(15.0d0 * ilng[i])
case SKY_DEGREES:
tilng = DEGTORAD(ilng[i])
case SKY_RADIANS:
tilng = ilng[i]
default:
tilng = ilng[i]
}
switch (SKY_NLATUNITS(cooin)) {
case SKY_HOURS:
tilat = DEGTORAD(15.0d0 * ilat[i])
case SKY_DEGREES:
tilat = DEGTORAD(ilat[i])
case SKY_RADIANS:
tilat = ilat[i]
default:
tilat = ilat[i]
}
call sk_lltran (cooin, cooout, tilng, tilat, INDEFD, INDEFD,
0.0d0, 0.0d0, tolng, tolat)
switch (SKY_NLNGUNITS(cooout)) {
case SKY_HOURS:
olng[i] = RADTODEG(tolng) / 15.0d0
case SKY_DEGREES:
olng[i] = RADTODEG(tolng)
case SKY_RADIANS:
olng[i] = tolng
default:
olng[i] = tolng
}
switch (SKY_NLATUNITS(cooout)) {
case SKY_HOURS:
olat[i] = RADTODEG(tolat) / 15.0d0
case SKY_DEGREES:
olat[i] = RADTODEG(tolat)
case SKY_RADIANS:
olat[i] = tolat
default:
olat[i] = tolat
}
}
end
# SK_LLTRAN -- Transform the sky coordinate from the input coordinate
# system to the output coordinate system assuming that all the coordinate
# are in radians.
procedure sk_lltran (cooin, cooout, ilng, ilat, ipmlng, ipmlat, px, rv,
olng, olat)
pointer cooin #I pointer to the input coordinate system structure
pointer cooout #I pointer to the output coordinate system structure
double ilng #I the input ra/longitude in radians
double ilat #I the input dec/latitude in radians
double ipmlng #I the input proper motion in ra in radians
double ipmlat #I the input proper motion in dec in radians
double px #I the input parallax in arcseconds
double rv #I the input radial velocity in km / second
double olng #O the output ra/longitude in radians
double olat #O the output dec/latitude in radians
int pmflag
double pmr, pmd
double sl_epj(), sl_epb()
begin
# Test for the case where the input coordinate system is the
# same as the output coordinate system.
if (SKY_CTYPE(cooin) == SKY_CTYPE(cooout)) {
switch (SKY_CTYPE(cooin)) {
case CTYPE_EQUATORIAL:
call sk_equatorial (cooin, cooout, ilng, ilat, ipmlng,
ipmlat, px, rv, olng, olat)
case CTYPE_ECLIPTIC:
if (SKY_EPOCH(cooin) == SKY_EPOCH(cooout)) {
olng = ilng
olat = ilat
} else {
call sl_eceq (ilng, ilat, SKY_EPOCH(cooin), olng, olat)
call sl_eqec (olng, olat, SKY_EPOCH(cooout), olng, olat)
}
default:
olng = ilng
olat = ilat
}
return
}
# Compute proper motions ?
if (! IS_INDEFD(ipmlng) && ! IS_INDEFD(ipmlat))
pmflag = YES
else
pmflag = NO
# Cover the remaining cases.
switch (SKY_CTYPE(cooin)) {
# The input system is equatorial.
case CTYPE_EQUATORIAL:
switch (SKY_RADECSYS(cooin)) {
case EQTYPE_FK4, EQTYPE_FK4NOE:
if (pmflag == YES) {
call sl_pm (ilng, ilat, ipmlng, ipmlat, px, rv,
sl_epb (SKY_EPOCH(cooin)), sl_epb (SKY_EPOCH(cooout)),
olng, olat)
} else {
olng = ilng
olat = ilat
}
if (SKY_RADECSYS(cooin) == EQTYPE_FK4)
call sl_suet (olng, olat, SKY_EQUINOX(cooin), olng, olat)
if (SKY_EQUINOX(cooin) != 1950.0d0)
call sl_prcs (1, SKY_EQUINOX(cooin), 1950.0d0, olng, olat)
call sl_adet (olng, olat, 1950.0d0, olng, olat)
if (pmflag == YES)
call sl_f45z (olng, olat, sl_epb(SKY_EPOCH(cooout)),
olng, olat)
else
call sl_f45z (olng, olat, sl_epb (SKY_EPOCH(cooin)),
olng, olat)
case EQTYPE_FK5:
if (pmflag == YES) {
call sl_pm (ilng, ilat, ipmlng, ipmlat, px, rv,
sl_epj (SKY_EPOCH(cooin)), sl_epj(SKY_EPOCH(cooout)),
olng, olat)
} else {
olng = ilng
olat = ilat
}
if (SKY_EQUINOX(cooin) != 2000.0d0)
call sl_prcs (2, SKY_EQUINOX(cooin), 2000.0d0, olng, olat)
case EQTYPE_ICRS:
if (pmflag == YES) {
call sl_pm (ilng, ilat, ipmlng, ipmlat, px, rv,
sl_epj (SKY_EPOCH(cooin)), sl_epj(SKY_EPOCH(cooout)),
olng, olat)
} else {
olng = ilng
olat = ilat
}
if (SKY_EQUINOX(cooin) != 2000.0d0)
call sl_prcs (2, SKY_EQUINOX(cooin), 2000.0d0, olng, olat)
call sl_hf5z (olng, olat, 2000.0d0, olng, olat, pmr, pmd)
case EQTYPE_GAPPT:
call sl_amp (ilng, ilat, SKY_EPOCH(cooin), 2000.0d0, olng, olat)
}
switch (SKY_CTYPE(cooout)) {
# The output coordinate system is ecliptic.
case CTYPE_ECLIPTIC:
call sl_eqec (olng, olat, SKY_EPOCH(cooout), olng, olat)
# The output coordinate system is galactic.
case CTYPE_GALACTIC:
call sl_eqga (olng, olat, olng, olat)
# The output coordinate system is supergalactic.
case CTYPE_SUPERGALACTIC:
call sl_eqga (olng, olat, olng, olat)
call sl_gasu (olng, olat, olng, olat)
default:
olng = ilng
olat = ilat
}
# The input coordinate system is ecliptic.
case CTYPE_ECLIPTIC:
call sl_eceq (ilng, ilat, SKY_EPOCH(cooin), olng, olat)
switch (SKY_CTYPE(cooout)) {
# The output coordinate system is equatorial.
case CTYPE_EQUATORIAL:
switch (SKY_RADECSYS(cooout)) {
case EQTYPE_FK4, EQTYPE_FK4NOE:
call sl_f54z (olng, olat, sl_epb(SKY_EPOCH(cooout)),
olng, olat, pmr, pmd)
call sl_suet (olng, olat, 1950.0d0, olng, olat)
if (SKY_EQUINOX(cooout) != 1950.0d0)
call sl_prcs (1, 1950.0d0, SKY_EQUINOX(cooout),
olng, olat)
if (SKY_RADECSYS(cooout) == EQTYPE_FK4)
call sl_adet (olng, olat, SKY_EQUINOX(cooout),
olng, olat)
case EQTYPE_FK5:
if (SKY_EQUINOX(cooout) != 2000.0d0)
call sl_prcs (2, 2000.0d0, SKY_EQUINOX(cooout),
olng, olat)
case EQTYPE_ICRS:
#call sl_f5hz (olng, olat, sl_epj(SKY_EPOCH(cooin)),
#olng, olat)
call sl_f5hz (olng, olat, 2000.0d0, olng, olat)
if (SKY_EQUINOX(cooout) != 2000.0d0)
call sl_prcs (2, 2000.0d0, SKY_EQUINOX(cooout),
olng, olat)
case EQTYPE_GAPPT:
call sl_map (olng, olat, 0.0d0, 0.0d0, px, 0.0d0,
2000.0d0, SKY_EPOCH(cooout), olng, olat)
}
# The output coordinate system is galactic.
case CTYPE_GALACTIC:
call sl_eqga (olng, olat, olng, olat)
# The output system is supergalactic.
case CTYPE_SUPERGALACTIC:
call sl_eqga (olng, olat, olng, olat)
call sl_gasu (olng, olat, olng, olat)
default:
olng = ilng
olat = ilat
}
# The input coordinate system is galactic.
case CTYPE_GALACTIC:
switch (SKY_CTYPE(cooout)) {
# The output coordinate system is equatorial.
case CTYPE_EQUATORIAL:
call sl_gaeq (ilng, ilat, olng, olat)
switch (SKY_RADECSYS(cooout)) {
case EQTYPE_FK4, EQTYPE_FK4NOE:
call sl_f54z (olng, olat, sl_epb(SKY_EPOCH(cooout)),
olng, olat, pmr, pmd)
call sl_suet (olng, olat, 1950.0d0, olng, olat)
if (SKY_EQUINOX(cooout) != 1950.0d0)
call sl_prcs (1, 1950.0d0, SKY_EQUINOX(cooout),
olng, olat)
if (SKY_RADECSYS(cooout) == EQTYPE_FK4)
call sl_adet (olng, olat, SKY_EQUINOX(cooout),
olng, olat)
case EQTYPE_FK5:
if (SKY_EQUINOX(cooout) != 2000.0d0)
call sl_prcs (2, 2000.0d0, SKY_EQUINOX(cooout),
olng, olat)
case EQTYPE_ICRS:
call sl_f5hz (olng, olat, 2000.0d0, olng, olat)
if (SKY_EQUINOX(cooout) != 2000.0d0)
call sl_prcs (2, 2000.0d0, SKY_EQUINOX(cooout),
olng, olat)
case EQTYPE_GAPPT:
call sl_map (olng, olat, 0.0d0, 0.0d0, px, 0.0d0,
2000.0d0, SKY_EPOCH(cooout), olng, olat)
}
# The output coordinate system is ecliptic.
case CTYPE_ECLIPTIC:
call sl_gaeq (ilng, ilat, olng, olat)
call sl_eqec (olng, olat, SKY_EPOCH(cooout), olng, olat)
# The output coordinate system is supergalactic.
case CTYPE_SUPERGALACTIC:
call sl_gasu (ilng, ilat, olng, olat)
default:
olng = ilng
olat = ilat
}
# The input coordinates are supergalactic.
case CTYPE_SUPERGALACTIC:
switch (SKY_CTYPE(cooout)) {
case CTYPE_EQUATORIAL:
call sl_suga (ilng, ilat, olng, olat)
switch (SKY_RADECSYS(cooout)) {
case EQTYPE_FK4:
call sl_gaeq (olng, olat, olng, olat)
call sl_f54z (olng, olat, sl_epb (SKY_EPOCH(cooout)),
olng, olat, pmr, pmd)
call sl_suet (olng, olat, 1950.0d0, olng, olat)
if (SKY_EQUINOX(cooout) != 1950.0d0)
call sl_prcs (1, 1950.0d0, SKY_EQUINOX(cooout),
olng, olat)
call sl_adet (olng, olat, SKY_EQUINOX(cooout), olng, olat)
case EQTYPE_FK4NOE:
call sl_gaeq (olng, olat, olng, olat)
call sl_f54z (olng, olat, sl_epb (SKY_EPOCH(cooout)),
olng, olat, pmr, pmd)
call sl_suet (olng, olat, 1950.0d0, olng, olat)
if (SKY_EQUINOX(cooout) != 1950.0d0)
call sl_prcs (1, 1950.0d0, SKY_EQUINOX(cooout),
olng, olat)
case EQTYPE_FK5:
call sl_gaeq (olng, olat, olng, olat)
if (SKY_EQUINOX(cooout) != 2000.0d0)
call sl_prcs (2, 2000.0d0, SKY_EQUINOX(cooout),
olng, olat)
case EQTYPE_ICRS:
call sl_gaeq (olng, olat, olng, olat)
call sl_f5hz (olng, olat, 2000.0d0, olng, olat)
if (SKY_EQUINOX(cooout) != 2000.0d0)
call sl_prcs (2, 2000.0d0, SKY_EQUINOX(cooout),
olng, olat)
case EQTYPE_GAPPT:
call sl_gaeq (olng, olat, olng, olat)
call sl_map (olng, olat, 0.0d0, 0.0d0, px, 0.0d0,
2000.0d0, SKY_EPOCH(cooout), olng, olat)
}
case CTYPE_ECLIPTIC:
call sl_suga (ilng, ilat, olng, olat)
call sl_gaeq (olng, olat, olng, olat)
call sl_eqec (olng, olat, SKY_EPOCH(cooout), olng, olat)
case CTYPE_GALACTIC:
call sl_suga (ilng, ilat, olng, olat)
default:
olng = ilng
olat = ilat
}
default:
olng = ilng
olat = ilat
}
end
# SK_EQUATORIAL -- Convert / precess equatorial coordinates.
procedure sk_equatorial (cooin, cooout, ilng, ilat, ipmlng, ipmlat,
px, rv, olng, olat)
pointer cooin #I the input coordinate system structure
pointer cooout #I the output coordinate system structure
double ilng #I the input ra in radians
double ilat #I the input dec in radians
double ipmlng #I the input proper motion in ra in radians
double ipmlat #I the input proper motion in dec in radians
double px #I the input parallax in arcseconds
double rv #I the input radial valocity in km / second
double olng #O the output ra in radians
double olat #O the output dec in radians
int pmflag
double pmr, pmd
double sl_epb(), sl_epj()
begin
# Check to see whether or not conversion / precession is necessary.
if ((SKY_RADECSYS(cooin) == SKY_RADECSYS(cooout)) &&
(SKY_EQUINOX(cooin) == SKY_EQUINOX(cooout)) &&
(SKY_EPOCH(cooin) == SKY_EPOCH(cooout))) {
olng = ilng
olat = ilat
return
}
# Compute proper motions ?
if (! IS_INDEFD(ipmlng) && ! IS_INDEFD(ipmlat))
pmflag = YES
else
pmflag = NO
switch (SKY_RADECSYS(cooin)) {
# The input coordinate system is FK4 with or without the E terms.
case EQTYPE_FK4, EQTYPE_FK4NOE:
if (pmflag == YES) {
call sl_pm (ilng, ilat, ipmlng, ipmlat, px, rv,
sl_epb (SKY_EPOCH(cooin)), sl_epb (SKY_EPOCH(cooout)),
olng, olat)
} else {
olng = ilng
olat = ilat
}
if (SKY_RADECSYS(cooin) == EQTYPE_FK4)
call sl_suet (olng, olat, SKY_EQUINOX(cooin), olng, olat)
if (SKY_EQUINOX(cooin) != 1950.0d0)
call sl_prcs (1, SKY_EQUINOX(cooin), 1950.0d0, olng, olat)
call sl_adet (olng, olat, 1950.0d0, olng, olat)
if (pmflag == YES)
call sl_f45z (olng, olat, sl_epb (SKY_EPOCH(cooout)),
olng, olat)
else
call sl_f45z (olng, olat, sl_epb (SKY_EPOCH(cooin)),
olng, olat)
switch (SKY_RADECSYS(cooout)) {
# The output coordinate system is FK4 with and without the E terms.
case EQTYPE_FK4, EQTYPE_FK4NOE:
call sl_f54z (olng, olat, sl_epb (SKY_EPOCH(cooout)),
olng, olat, pmr, pmd)
call sl_suet (olng, olat, 1950.0d0, olng, olat)
if (SKY_EQUINOX(cooout) != 1950.0d0)
call sl_prcs (1, 1950.0d0, SKY_EQUINOX(cooout),
olng, olat)
if (SKY_RADECSYS(cooout) == EQTYPE_FK4)
call sl_adet (olng, olat, SKY_EQUINOX(cooout), olng, olat)
# The output coordinate system is FK5.
case EQTYPE_FK5:
if (SKY_EQUINOX(cooout) != 2000.0d0)
call sl_prcs (2, 2000.0d0, SKY_EQUINOX(cooout), olng, olat)
# The output coordinate system is ICRS (Hipparcos).
case EQTYPE_ICRS:
call sl_f5hz (olng, olat, 2000.0d0, olng, olat)
if (SKY_EQUINOX(cooout) != 2000.0d0)
call sl_prcs (2, 2000.0d0, SKY_EQUINOX(cooout), olng, olat)
# The output coordinate system is geocentric apparent.
case EQTYPE_GAPPT:
call sl_map (olng, olat, 0.0d0, 0.0d0, px, 0.0d0, 2000.0d0,
SKY_EPOCH(cooout), olng, olat)
}
# The input coordinate system is FK5 or geocentric apparent.
case EQTYPE_FK5, EQTYPE_GAPPT:
if (SKY_RADECSYS(cooin) == EQTYPE_FK5) {
if (pmflag == YES) {
call sl_pm (ilng, ilat, ipmlng, ipmlat, px, rv,
sl_epj (SKY_EPOCH(cooin)), sl_epj (SKY_EPOCH(cooout)),
olng, olat)
} else {
olng = ilng
olat = ilat
}
} else
call sl_amp (ilng, ilat, SKY_EPOCH(cooin), 2000.0d0, olng, olat)
switch (SKY_RADECSYS(cooout)) {
# The output coordinate system is FK4 with or without the E terms.
case EQTYPE_FK4, EQTYPE_FK4NOE:
if (SKY_EQUINOX(cooin) != 2000.0d0)
call sl_prcs (2, SKY_EQUINOX(cooin), 2000.0d0, olng, olat)
call sl_f54z (olng, olat, sl_epb(SKY_EPOCH(cooout)),
olng, olat, pmr, pmd)
call sl_suet (olng, olat, 1950.0d0, olng, olat)
if (SKY_EQUINOX(cooout) != 1950.0d0)
call sl_prcs (1, 1950.0d0, SKY_EQUINOX(cooout), olng, olat)
if (SKY_RADECSYS(cooout) == EQTYPE_FK4)
call sl_adet (olng, olat, SKY_EQUINOX(cooout), olng, olat)
# The output coordinate system is FK5.
case EQTYPE_FK5:
if (SKY_EQUINOX(cooin) != SKY_EQUINOX(cooout))
call sl_prcs (2, SKY_EQUINOX(cooin), SKY_EQUINOX(cooout),
olng, olat)
# The output coordinate system is ICRS.
case EQTYPE_ICRS:
if (SKY_EQUINOX(cooin) != 2000.0d0)
call sl_prcs (2, SKY_EQUINOX(cooin), 2000.0d0, olng, olat)
call sl_f5hz (olng, olat, sl_epj(SKY_EPOCH(cooin)), olng, olat)
if (SKY_EQUINOX(cooout) != 2000.0d0)
call sl_prcs (2, 2000.0d0, SKY_EQUINOX(cooout), olng, olat)
# The output coordinate system is geocentric apparent.
case EQTYPE_GAPPT:
if (SKY_EQUINOX(cooin) != 2000.0d0)
call sl_prcs (2, SKY_EQUINOX(cooin), 2000.0d0, olng, olat)
call sl_map (olng, olat, 0.0d0, 0.0d0, px, 0.0d0, 2000.0d0,
SKY_EPOCH(cooout), olng, olat)
}
# The input coordinate system is ICRS.
case EQTYPE_ICRS:
if (pmflag == YES) {
call sl_pm (ilng, ilat, ipmlng, ipmlat, px, rv,
sl_epj (SKY_EPOCH(cooin)), sl_epj (SKY_EPOCH(cooout)),
olng, olat)
} else {
olng = ilng
olat = ilat
}
switch (SKY_RADECSYS(cooout)) {
# The output coordinate system is FK4 with or without the E terms.
case EQTYPE_FK4, EQTYPE_FK4NOE:
if (SKY_EQUINOX(cooin) != 2000.0d0)
call sl_prcs (2, SKY_EQUINOX(cooin), 2000.0d0, olng, olat)
call sl_hf5z (olng, olat, 2000.0d0, olng, olat,
pmr, pmd)
call sl_f54z (olng, olat, sl_epb(SKY_EPOCH(cooout)), olng, olat,
pmr, pmd)
call sl_suet (olng, olat, 1950.0d0, olng, olat)
if (SKY_EQUINOX(cooout) != 1950.0d0)
call sl_prcs (1, 1950.0d0, SKY_EQUINOX(cooout), olng, olat)
if (SKY_RADECSYS(cooout) == EQTYPE_FK4)
call sl_adet (olng, olat, SKY_EQUINOX(cooout), olng, olat)
# The output coordinate system is FK5.
case EQTYPE_FK5:
if (SKY_EQUINOX(cooin) != 2000.0d0)
call sl_prcs (2, SKY_EQUINOX(cooin), 2000.0d0, olng, olat)
call sl_hf5z (olng, olat, sl_epj(SKY_EPOCH(cooout)),
olng, olat, pmr, pmd)
if (SKY_EQUINOX(cooout) != 2000.0d0)
call sl_prcs (2, 2000.0d0, SKY_EQUINOX(cooout), olng, olat)
# The output coordinate system is ICRS.
case EQTYPE_ICRS:
if (SKY_EQUINOX(cooin) != SKY_EQUINOX(cooout))
call sl_prcs (2, SKY_EQUINOX(cooin), SKY_EQUINOX(cooout),
olng, olat)
# The output coordinate system is geocentric apparent.
case EQTYPE_GAPPT:
if (SKY_EQUINOX(cooin) != 2000.0d0)
call sl_prcs (2, SKY_EQUINOX(cooin), 2000.0d0, olng, olat)
call sl_hf5z (olng, olat, sl_epj(SKY_EPOCH(cooout)),
olng, olat, pmr, pmd)
call sl_map (olng, olat, 0.0d0, 0.0d0, px, 0.0d0, 2000.0d0,
SKY_EPOCH(cooout), olng, olat)
}
}
end
|