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 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620
|
Testing WCSLIB subimage extraction routine (twcssub.c)
------------------------------------------------------
Initial contents of wcsprm struct:
flag: 137
naxis: 4
crpix: 0x<address>
1025.0 64.000 1.0000 1.0000
pc: 0x<address>
pc[0][]: 1.1000 0.0000 0.0000 0.0000
pc[1][]: 0.0000 1.0000 0.0000 0.0000
pc[2][]: 0.0000 0.0000 1.0000 0.10000
pc[3][]: 0.0000 0.0000 0.20000 1.0000
cdelt: 0x<address>
-9.2000e-06 10.000 1.0000 -1.0000
crval: 0x<address>
0.21498 -2000.0 135.00 95.000
cunit: 0x<address>
"m"
"s"
"deg"
"deg"
ctype: 0x<address>
"WAVE-F2W"
"TIME"
"XLAT-TAB"
"XLON-TAB"
lonpole: UNDEFINED
latpole: 90.000000
restfrq: 0.000000
restwav: 0.000000
npv: 6
npvmax: 64
pv: 0x<address>
3 1 1.0000
3 2 1.0000
3 3 2.0000
4 1 1.0000
4 2 1.0000
4 3 1.0000
nps: 6
npsmax: 8
ps: 0x<address>
3 0 WCSTAB
3 1 COORDS
3 2 LATIDX
4 0 WCSTAB
4 1 COORDS
4 2 LNGIDX
cd: 0x<address>
cd[0][]: 0.0000 0.0000 0.0000 0.0000
cd[1][]: 0.0000 0.0000 0.0000 0.0000
cd[2][]: 0.0000 0.0000 0.0000 0.0000
cd[3][]: 0.0000 0.0000 0.0000 0.0000
crota: 0x<address>
0.0000 0.0000 0.0000 0.0000
altlin: 0
velref: 0
alt: ' '
colnum: 0
colax: 0x<address>
0 0 0 0
cname: 0x<address>
"Wavelength"
"Time"
"Latitude"
"Longitude"
crder: 0x<address>
UNDEFINED UNDEFINED UNDEFINED UNDEFINED
csyer: 0x<address>
UNDEFINED UNDEFINED UNDEFINED UNDEFINED
czphs: 0x<address>
UNDEFINED UNDEFINED UNDEFINED UNDEFINED
cperi: 0x<address>
UNDEFINED UNDEFINED UNDEFINED UNDEFINED
wcsname: UNDEFINED
timesys: UNDEFINED
trefpos: UNDEFINED
trefdir: UNDEFINED
plephem: UNDEFINED
timeunit: UNDEFINED
dateref: UNDEFINED
mjdref: 0.000000000 0.000000000
timeoffs: UNDEFINED
dateobs: UNDEFINED
datebeg: UNDEFINED
dateavg: UNDEFINED
dateend: UNDEFINED
mjdobs: UNDEFINED
mjdbeg: UNDEFINED
mjdavg: UNDEFINED
mjdend: UNDEFINED
jepoch: UNDEFINED
bepoch: UNDEFINED
tstart: UNDEFINED
tstop: UNDEFINED
xposure: UNDEFINED
telapse: UNDEFINED
timsyer: UNDEFINED
timrder: UNDEFINED
timedel: UNDEFINED
timepixr: UNDEFINED
obsgeo: UNDEFINED UNDEFINED UNDEFINED
UNDEFINED UNDEFINED UNDEFINED
obsorbit: UNDEFINED
radesys: UNDEFINED
equinox: UNDEFINED
specsys: UNDEFINED
ssysobs: UNDEFINED
velosys: UNDEFINED
zsource: UNDEFINED
ssyssrc: UNDEFINED
velangl: UNDEFINED
aux: 0x0
ntab: 1
tab: 0x<address> (see below)
nwtb: 0
wtb: 0x0
lngtyp: "XLON"
lattyp: "XLAT"
lng: 3
lat: 2
spec: 0
time: 1
cubeface: -1
chksum: <CHECKSUM>
types: 0x<address>
3300 4000 2501 2500
lin: (see below)
cel: (see below)
spc: (see below)
err: 0x0
m_flag: 137
m_naxis: 4
m_crpix: 0x<address> (= crpix)
m_pc: 0x<address> (= pc)
m_cdelt: 0x<address> (= cdelt)
m_crval: 0x<address> (= crval)
m_cunit: 0x<address> (= cunit)
m_ctype: 0x<address> (= ctype)
m_pv: 0x<address> (= pv)
m_ps: 0x<address> (= ps)
m_cd: 0x<address> (= cd)
m_crota: 0x<address> (= crota)
m_colax: 0x<address> (= colax)
m_cname: 0x<address> (= cname)
m_crder: 0x<address> (= crder)
m_csyer: 0x<address> (= csyer)
m_czphs: 0x<address> (= czphs)
m_cperi: 0x<address> (= cperi)
m_aux: 0x0 (= aux)
m_tab: 0x0
m_wtb: 0x0 (= wtb)
tab[0].*
flag: 137
M: 2
K: 0x<address>
7 3
map: 0x<address>
3 2
crval: 0x<address>
135.00 95.000
index: 0x<address>
index[0]: 0x<address>
0.0000 1.0000 2.0000 3.0000 4.0000
5.0000 6.0000
index[1]: 0x<address>
0.0000 1.0000 2.0000
coord: 0x<address>
(*,1,1) 1.0002 -1.0042
(*,2,1) 0.0000 -1.0000
(*,3,1) -1.0002 -1.0042
(*,4,1) -2.0004 -1.0170
(*,5,1) -3.0008 -1.0382
(*,6,1) -4.0015 -1.0679
(*,7,1) -5.0024 -1.1060
(*,1,2) 1.0000 -0.0042798
(*,2,2) 0.0000 0.0000
(*,3,2) -1.0000 -0.0042798
(*,4,2) -2.0001 -0.017118
(*,5,2) -3.0003 -0.038512
(*,6,2) -4.0008 -0.068457
(*,7,2) -5.0015 -0.10695
(*,1,3) 1.0002 0.99568
(*,2,3) 0.0000 1.0000
(*,3,3) -1.0002 0.99568
(*,4,3) -2.0004 0.98273
(*,5,3) -3.0008 0.96116
(*,6,3) -4.0013 0.93095
(*,7,3) -5.0022 0.89213
nc: 21
sense: 0x<address>
1 1
p0: 0x<address>
0 0
delta: 0x<address>
0.0000 0.0000
extrema: 0x<address>
(*,*,1) -5.5029 -1.1251 -> 1.5002 -1.0000
(*,*,2) -5.5019 -0.12619 -> 1.5000 0.0000
(*,*,3) -5.5026 0.87272 -> 1.5002 1.0000
err: 0x0
m_flag: 137
m_M: 2
m_N: 42
m_K: 0x<address> (= K)
m_map: 0x<address> (= map)
m_crval: 0x<address> (= crval)
m_index: 0x<address> (= index)
m_indxs[0]: 0x<address> (= index[0])
m_indxs[1]: 0x<address> (= index[1])
m_coord: 0x<address> (= coord)
lin.*
flag: 137
naxis: 4
crpix: 0x<address>
1025.0 64.000 1.0000 1.0000
pc: 0x<address>
pc[0][]: 1.1000 0.0000 0.0000 0.0000
pc[1][]: 0.0000 1.0000 0.0000 0.0000
pc[2][]: 0.0000 0.0000 1.0000 0.10000
pc[3][]: 0.0000 0.0000 0.20000 1.0000
cdelt: 0x<address>
-9.2000e-06 10.000 1.0000 -1.0000
dispre: 0x0
disseq: 0x0
piximg[0][]: -1.0120e-05 -0.0000 -0.0000 -0.0000
piximg[1][]: 0.0000 10.000 0.0000 0.0000
piximg[2][]: 0.0000 0.0000 1.0000 0.10000
piximg[3][]: -0.0000 -0.0000 -0.20000 -1.0000
imgpix[0][]: -98814. -0.0000 -0.0000 -0.0000
imgpix[1][]: 0.0000 0.10000 0.0000 0.0000
imgpix[2][]: 0.0000 0.0000 1.0204 0.10204
imgpix[3][]: -0.0000 -0.0000 -0.20408 -1.0204
i_naxis: 4
unity: 0
affine: 1
simple: 0
err: 0x0
m_flag: 0
m_naxis: 0
m_crpix: 0x0
m_pc: 0x0
m_cdelt: 0x0
m_dispre: 0x0
m_disseq: 0x0
cel.*
flag: 0
offset: 0
phi0: UNDEFINED
theta0: UNDEFINED
ref: 0.0000 0.0000 9.8765e+107 90.000
prj: (see below)
euler: 0.0000 0.0000 0.0000 0.0000 0.0000
latpreq: -1 (UNDEFINED)
isolat: 0
err: 0x0
prj.*
flag: 0
code: " "
r0: 0.000000
pv: (not used)
phi0: UNDEFINED
theta0: UNDEFINED
bounds: 7
name: "undefined"
category: 0 (undefined)
pvrange: 0
simplezen: 0
equiareal: 0
conformal: 0
global: 0
divergent: 0
x0: 0.000000
y0: 0.000000
err: 0x0
w[]: 0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
m: 0
n: 0
prjx2s: 0x0
prjs2x: 0x0
spc.*
flag: 110
type: "WAVE"
code: "F2W"
crval: 0.21498
restfrq: 0.000000
restwav: 0.000000
pv: (not used)
w: 0.0000 1.3945e+09 -6.4866e+09 (remainder unused)
isGrism: 0
err: 0x0
spxX2P: 0x<address>
spxP2S: 0x0
spxS2P: 0x0
spxP2X: 0x<address>
------------------------------------------------------------------------
Extracted contents of wcsprm struct:
flag: 137
naxis: 4
crpix: 0x<address>
1.0000 1.0000 64.000 0.0000
pc: 0x<address>
pc[0][]: 1.0000 0.20000 0.0000 0.0000
pc[1][]: 0.10000 1.0000 0.0000 0.0000
pc[2][]: 0.0000 0.0000 1.0000 0.0000
pc[3][]: 0.0000 0.0000 0.0000 1.0000
cdelt: 0x<address>
-1.0000 1.0000 10.000 1.0000
crval: 0x<address>
95.000 135.00 -2000.0 0.0000
cunit: 0x<address>
"deg"
"deg"
"s"
""
ctype: 0x<address>
"XLON-TAB"
"XLAT-TAB"
"TIME"
""
lonpole: UNDEFINED
latpole: 90.000000
restfrq: 0.000000
restwav: 0.000000
npv: 6
npvmax: 6
pv: 0x<address>
2 1 1.0000
2 2 1.0000
2 3 2.0000
1 1 1.0000
1 2 1.0000
1 3 1.0000
nps: 6
npsmax: 6
ps: 0x<address>
2 0 WCSTAB
2 1 COORDS
2 2 LATIDX
1 0 WCSTAB
1 1 COORDS
1 2 LNGIDX
cd: 0x<address>
cd[0][]: 0.0000 0.0000 0.0000 0.0000
cd[1][]: 0.0000 0.0000 0.0000 0.0000
cd[2][]: 0.0000 0.0000 0.0000 0.0000
cd[3][]: 0.0000 0.0000 0.0000 0.0000
crota: 0x<address>
0.0000 0.0000 0.0000 0.0000
altlin: 0
velref: 0
alt: ' '
colnum: 0
colax: 0x<address>
0 0 0 0
cname: 0x<address>
"Longitude"
"Latitude"
"Time"
UNDEFINED
crder: 0x<address>
UNDEFINED UNDEFINED UNDEFINED UNDEFINED
csyer: 0x<address>
UNDEFINED UNDEFINED UNDEFINED UNDEFINED
czphs: 0x<address>
UNDEFINED UNDEFINED UNDEFINED UNDEFINED
cperi: 0x<address>
UNDEFINED UNDEFINED UNDEFINED UNDEFINED
wcsname: UNDEFINED
timesys: UNDEFINED
trefpos: UNDEFINED
trefdir: UNDEFINED
plephem: UNDEFINED
timeunit: UNDEFINED
dateref: UNDEFINED
mjdref: 0.000000000 0.000000000
timeoffs: UNDEFINED
dateobs: UNDEFINED
datebeg: UNDEFINED
dateavg: UNDEFINED
dateend: UNDEFINED
mjdobs: UNDEFINED
mjdbeg: UNDEFINED
mjdavg: UNDEFINED
mjdend: UNDEFINED
jepoch: UNDEFINED
bepoch: UNDEFINED
tstart: UNDEFINED
tstop: UNDEFINED
xposure: UNDEFINED
telapse: UNDEFINED
timsyer: UNDEFINED
timrder: UNDEFINED
timedel: UNDEFINED
timepixr: UNDEFINED
obsgeo: UNDEFINED UNDEFINED UNDEFINED
UNDEFINED UNDEFINED UNDEFINED
obsorbit: UNDEFINED
radesys: UNDEFINED
equinox: UNDEFINED
specsys: UNDEFINED
ssysobs: UNDEFINED
velosys: UNDEFINED
zsource: UNDEFINED
ssyssrc: UNDEFINED
velangl: UNDEFINED
aux: 0x0
ntab: 1
tab: 0x<address> (see below)
nwtb: 0
wtb: 0x0
lngtyp: "XLON"
lattyp: "XLAT"
lng: 0
lat: 1
spec: -1
time: 2
cubeface: -1
chksum: <CHECKSUM>
types: 0x<address>
2500 2501 4000 0
lin: (see below)
cel: (see below)
spc: (see below)
err: 0x0
m_flag: 137
m_naxis: 4
m_crpix: 0x<address> (= crpix)
m_pc: 0x<address> (= pc)
m_cdelt: 0x<address> (= cdelt)
m_crval: 0x<address> (= crval)
m_cunit: 0x<address> (= cunit)
m_ctype: 0x<address> (= ctype)
m_pv: 0x<address> (= pv)
m_ps: 0x<address> (= ps)
m_cd: 0x<address> (= cd)
m_crota: 0x<address> (= crota)
m_colax: 0x<address> (= colax)
m_cname: 0x<address> (= cname)
m_crder: 0x<address> (= crder)
m_csyer: 0x<address> (= csyer)
m_czphs: 0x<address> (= czphs)
m_cperi: 0x<address> (= cperi)
m_aux: 0x0 (= aux)
m_tab: 0x<address> (= tab)
m_wtb: 0x0 (= wtb)
tab[0].*
flag: 137
M: 2
K: 0x<address>
7 3
map: 0x<address>
0 1
crval: 0x<address>
135.00 95.000
index: 0x<address>
index[0]: 0x<address>
0.0000 1.0000 2.0000 3.0000 4.0000
5.0000 6.0000
index[1]: 0x<address>
0.0000 1.0000 2.0000
coord: 0x<address>
(*,1,1) 1.0002 -1.0042
(*,2,1) 0.0000 -1.0000
(*,3,1) -1.0002 -1.0042
(*,4,1) -2.0004 -1.0170
(*,5,1) -3.0008 -1.0382
(*,6,1) -4.0015 -1.0679
(*,7,1) -5.0024 -1.1060
(*,1,2) 1.0000 -0.0042798
(*,2,2) 0.0000 0.0000
(*,3,2) -1.0000 -0.0042798
(*,4,2) -2.0001 -0.017118
(*,5,2) -3.0003 -0.038512
(*,6,2) -4.0008 -0.068457
(*,7,2) -5.0015 -0.10695
(*,1,3) 1.0002 0.99568
(*,2,3) 0.0000 1.0000
(*,3,3) -1.0002 0.99568
(*,4,3) -2.0004 0.98273
(*,5,3) -3.0008 0.96116
(*,6,3) -4.0013 0.93095
(*,7,3) -5.0022 0.89213
nc: 21
sense: 0x<address>
1 1
p0: 0x<address>
0 0
delta: 0x<address>
0.0000 0.0000
extrema: 0x<address>
(*,*,1) -5.5029 -1.1251 -> 1.5002 -1.0000
(*,*,2) -5.5019 -0.12619 -> 1.5000 0.0000
(*,*,3) -5.5026 0.87272 -> 1.5002 1.0000
err: 0x0
m_flag: 137
m_M: 2
m_N: 42
m_K: 0x<address> (= K)
m_map: 0x<address> (= map)
m_crval: 0x<address> (= crval)
m_index: 0x<address> (= index)
m_indxs[0]: 0x<address> (= index[0])
m_indxs[1]: 0x<address> (= index[1])
m_coord: 0x<address> (= coord)
lin.*
flag: 137
naxis: 4
crpix: 0x<address>
1.0000 1.0000 64.000 0.0000
pc: 0x<address>
pc[0][]: 1.0000 0.20000 0.0000 0.0000
pc[1][]: 0.10000 1.0000 0.0000 0.0000
pc[2][]: 0.0000 0.0000 1.0000 0.0000
pc[3][]: 0.0000 0.0000 0.0000 1.0000
cdelt: 0x<address>
-1.0000 1.0000 10.000 1.0000
dispre: 0x0
disseq: 0x0
piximg[0][]: -1.0000 -0.20000 -0.0000 -0.0000
piximg[1][]: 0.10000 1.0000 0.0000 0.0000
piximg[2][]: 0.0000 0.0000 10.000 0.0000
piximg[3][]: 0.0000 0.0000 0.0000 1.0000
imgpix[0][]: -1.0204 -0.20408 -0.0000 -0.0000
imgpix[1][]: 0.10204 1.0204 0.0000 0.0000
imgpix[2][]: 0.0000 0.0000 0.10000 0.0000
imgpix[3][]: 0.0000 0.0000 0.0000 1.0000
i_naxis: 4
unity: 0
affine: 1
simple: 0
err: 0x0
m_flag: 0
m_naxis: 0
m_crpix: 0x0
m_pc: 0x0
m_cdelt: 0x0
m_dispre: 0x0
m_disseq: 0x0
cel.*
flag: 0
offset: 0
phi0: UNDEFINED
theta0: UNDEFINED
ref: 0.0000 0.0000 9.8765e+107 90.000
prj: (see below)
euler: 0.0000 0.0000 0.0000 0.0000 0.0000
latpreq: -1 (UNDEFINED)
isolat: 0
err: 0x0
prj.*
flag: 0
code: " "
r0: 0.000000
pv: (not used)
phi0: UNDEFINED
theta0: UNDEFINED
bounds: 7
name: "undefined"
category: 0 (undefined)
pvrange: 0
simplezen: 0
equiareal: 0
conformal: 0
global: 0
divergent: 0
x0: 0.000000
y0: 0.000000
err: 0x0
w[]: 0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
m: 0
n: 0
prjx2s: 0x0
prjs2x: 0x0
spc.*
flag: 0
type: " "
code: " "
crval: UNDEFINED
restfrq: 0.000000
restwav: 0.000000
pv: (not used)
w: 0.0000 0.0000 0.0000 (remainder unused)
isGrism: 0
err: 0x0
spxX2P: 0x0
spxP2S: 0x0
spxS2P: 0x0
spxP2X: 0x0
Testing invalid subimaging requests; ignore status 13 messages below.
Received wcssub status 13 as expected for a non-separable subimage
coordinate system. The error message was
ERROR 13 in wcssub() at line 1338 of file wcs.c:
Table with M>1 depends on axis excluded from the subimage.
Received wcssub status 13 as expected for a non-separable subimage
coordinate system. The error message was
ERROR 13 in wcssub() at line 955 of file wcs.c:
Non-zero off-diagonal matrix elements excluded from the subimage.
|