Submit a Story  :  IRAF Links  :  Past Polls  :  Calendar  :  Advanced Search  
     iraf.net
FAQ
 Forum FAQForum FAQ   Forum SearchForum Search   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

iraf 2.16 does not understand VO tables from ds9

 
Post new topic   Reply to topic    iraf.net Forum Index -> General IRAF
View previous topic :: View next topic  
Author Message
rji
Active IRAF User


Joined: 21 Apr 2007
Posts: 87

PostPosted: Mon Apr 09, 2012 7:23 pm    Post subject: iraf 2.16 does not understand VO tables from ds9 Reply with quote

Small example:
Code:
ds9: image server: M67 ; catalog gsc 2.1 ; save as VO table: ds9.xml

and now:
Code:
ecl> tinfo ds9.xml
FITSIO status = 261: illegal TFORM format code
Error: binary table TFORM code is blank (ffbnfm).
Failed to write binary table header keywords (ffphbn)

But let's continue:
Code:
ecl> tinfo ds9.xml
ERROR: Abnormal termination of child process 'bin$x_nttools.e'

Once again:
Code:
ecl> tinfo ds9.xml
can't open ds9.xml
Warning: column found in line 11 that was not defined in first row

So there is a problem with VO tables.
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3255
Location: Tucson

PostPosted: Mon Apr 09, 2012 7:27 pm    Post subject: Reply with quote

I'm not quite sure how it is you produced the ds9.xml file, would you mind either emailing it to me directly or putting it in the anonftp at ftp://iraf.noao.edu ? Thanks.
Back to top
View user's profile Send private message
rji
Active IRAF User


Joined: 21 Apr 2007
Posts: 87

PostPosted: Mon Apr 09, 2012 7:41 pm    Post subject: Reply with quote

OK, in DS9:
Code:
(1) Analysis | Image Servers | SAO-DSS | Object: M67
(2) Analysis | Catalogs | Optical GSC 2.1
(3) [Catalog Tool:] File | Save | VOTable: ds9.xml
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3255
Location: Tucson

PostPosted: Mon Apr 09, 2012 8:10 pm    Post subject: Reply with quote

Looking at the problem now ....
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3255
Location: Tucson

PostPosted: Mon Apr 09, 2012 10:17 pm    Post subject: Reply with quote

The problem is that the votable uses 'unsignedByte' as a FIELD type and this isn't recognized in the FITS conversion code. This is one of those bug fixes that would update all the binaries (which I'll do for the next general update), if you'd like a simple update to the NTTOOLS and VO package binaries then please just let me know what platform you're on and I'll put them in the support directory.
Back to top
View user's profile Send private message
rji
Active IRAF User


Joined: 21 Apr 2007
Posts: 87

PostPosted: Fri Apr 13, 2012 5:12 pm    Post subject: Reply with quote

IRAF installed today still does not read the ds9's xml:
Code:
tinfo ds9.xml
can't open ds9.xml
Warning: column found in line 11 that was not defined in first row
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3255
Location: Tucson

PostPosted: Fri Apr 13, 2012 6:56 pm    Post subject: Reply with quote

You're probably still using the (corrupted) cache file from earlier, try doing a

Code:
fcache init


The file should then be readable with the latest binaries.
Back to top
View user's profile Send private message
rji
Active IRAF User


Joined: 21 Apr 2007
Posts: 87

PostPosted: Fri Oct 05, 2012 7:16 pm    Post subject: Reply with quote

How to explain this (v2.16):
Code:
vocl> tinfo http://iraf.noao.edu/votest/usno-b.xml
# http://iraf.noao.edu/votest/usno-b.xml
  65 rows written to table
  16 columns defined
 188 header parameters written to table
 215 records allocated for header parameters
  16 space allocated for column descriptors
table type:  fits
vocl>

and now:
Code:
vocl> tables


      +------------------------------------------------------------+
      |             Space Telescope Tables Package                 |   
      |                  TABLES Version 3.15                       |
      |                                                            |
      |   Space Telescope Science Institute, Baltimore, Maryland   |
      |   Copyright (C) 2003 Association of Universities for       |
      |            Research in Astronomy, Inc.(AURA)               |
      |       See stsdas$copyright.stsdas for terms of use.        |
      |         For help, send e-mail to help@stsci.edu            |
      +------------------------------------------------------------+
      fitsio      tbplot      tobsolete   ttools     

tables> tinfo http://iraf.noao.edu/votest/usno-b.xml
# http://iraf.noao.edu/votest/usno-b.xml
  65 rows written to table
  16 columns defined
 188 header parameters written to table
 215 records allocated for header parameters
  16 space allocated for column descriptors
table type:  fits
tables> ttools
      gtedit      tabkey      tcreate     tiimage     tprint      tstat
      gtpar       tabpar      tdelete     tinfo       tproduct    ttranspose
      imtab       taextract   tdiffer     tintegrate  tproject    tunits
      keypar      tainsert    tdump       titable     tquery      tupar
      keyselect   tcalc       tedit       tjoin       tread       tximage
      keytab      tchcol      texpand     tlcol       trebin      txtable
      parkey      tcheck      thedit      tlinear     tscopy     
      partab      tchsize     thistogram  tmatch      tselect     
      tabim       tcopy       thselect    tmerge      tsort       

ttools> tinfo http://iraf.noao.edu/votest/usno-b.xml
can't open http:iraf.noao.edu/votest/usno-b.xml
Warning: Table `http:iraf.noao.edu/votest/usno-b.xml' does not exist or cannot be opened.
ttools>

and now:
Code:
ttools> bye
      fitsio      tbplot      tobsolete   ttools     

tables> tinfo http://iraf.noao.edu/votest/usno-b.xml
# http://iraf.noao.edu/votest/usno-b.xml
  65 rows written to table
  16 columns defined
 188 header parameters written to table
 215 records allocated for header parameters
  16 space allocated for column descriptors
table type:  fits
tables>

So do we have some kind of "tinfo" conflict?
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3255
Location: Tucson

PostPosted: Fri Oct 05, 2012 7:25 pm    Post subject: Reply with quote

The STSDAS/TABLES packages from STScI are linked against v2.14 and so are 32-bit only and don't understand the new VOTables and such. If you don't explicitly load TABLES, you use the NTTOOLS version of TABLES.TTOOLS that is a fully integrated part of v2.16 (i.e. 64-bit and VO support).

You can always do a "cl> which tinfo" to find out which version will be used or just explicitly load NTTOOLS is there is some chance for confusion.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    iraf.net Forum Index -> General IRAF All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2009 phpBB Group
 Copyright © 2005-2011 iraf.net
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 1.13 seconds