astrofrog / astrofrog/python-montage
CFITSIO library versions with aplpy
- Dominant language
- Python
- Stars
- 5
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
Ran into a problem when using montage called from aplpy (ie using the north=True flag). The problem seems to be a CFITSIO version mismatch between Montage (3.25) and something else (3.31). Error message appended.
I ran this past Eli Bressert (since he's here), and he reckoned it was a python-montage issue and I should send it to you!
no hurry with this one - I have a workaround using Montage as a standalone application.
Cheers,
Nick.
magellanic:fig_hbf_paper nfht$ python fig_mips3_co_yso.py
ERROR: Mismatch in the version of the fitsio.h include file used to build
the CFITSIO library, and the version included by the application program:
Version used to build the CFITSIO library = 3.310000
Version included by the application program = 3.250000
Traceback (most recent call last):
File "fig_mips3_co_yso.py", line 19, in
img = aplpy.FITSFigure('/Users/nfht/projects/gb_auriga/fig_hbf_paper/AUR_ALL_F5_MIPS3_mosaic.fits',north=True)
File "", line 2, in **init**
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/aplpy/decorators.py", line 23, in _auto_refresh
f(_args, *_kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/aplpy/aplpy.py", line 224, in __init__
convention=convention, dimensions=dimensions, slices=slices)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/aplpy/aplpy.py", line 360, in _get_hdu
hdu = montage.reproject_hdu(hdu, north_aligned=True)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/montage/wrappers.py", line 46, in reproject_hdu
reproject(in_image, out_image, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/montage/wrappers.py", line 189, in reproject
system=system, equinox=equinox)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/montage/commands.py", line 1494, in mMakeHdr
return status.parse_struct("mMakeHdr", p.stdout.read().strip())
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/montage/status.py", line 26, in parse_struct
result = Struct(command, string)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/montage/status.py", line 65, in __init__
raise MontageError("%s: %s" % (command, self.msg))
montage.status.MontageError: mMakeHdr: Invalid table file: /var/folders/yg/ygGXzNjFH-qefGIsGQ3fTE+++TI/-Tmp-/tmpcqsq4iimages_raw.tbl
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.