[Issues] using external SourceLists

Johannes Koppenhoefer koppenh at usm.uni-muenchen.de
Tue Nov 13 11:05:46 CET 2007


Hello,

I tried to create a SourceList from an external LDAC/FITS catalog following the instructions in the manual on page 183 and using the AWBASE code.
It seems the method make_sourcelist_from_catalog() needs wcs information. Why is that, since the list already has ALPHA_SKY and DELTA_SKY?

Bye,
Johannes


awe> sl=SourceList()
awe> sl.catalog = 'variables.fits'
awe> sl.make_sourcelist_from_catalog()
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/scipck/astrowise/opipe/AWBASE/astro/main/SourceList.py", line 766, in make_sourcelist_from_catalog
    make_sourcelist_from_catalog creates a SourceList from a catalog created
  File "/usr/local/scipck/astrowise/opipe/AWBASE/astro/main/SourceList.py", line 496, in set_coordinate_ranges

  File "/usr/local/scipck/astrowise/opipe/AWBASE/astro/main/SourceList.py", line 1981, in get_projection_from_cat
    cdelt1 = cdelt2 = crota2 = None
Exception: Not enough Coordinate System Information in header (CD, CDELT, CROTA)!



More information about the Issues mailing list