Comments (1)
It is related to the fits table _tiles cached in the io module.
My astropy is too old (1.1.2); updating to 1.3 solves this issue.
Here is the backtrace:
#0 PyErr_WriteUnraisable (obj=obj@entry=<instancemethod at remote 0x7fffe7a93d20>)
at /usr/src/debug/Python-2.7.12/Python/errors.c:664
#1 0x00007ffff7a9c078 in slot_tp_del (
self=<FITS_rec(_uint=True, _nfields=11, _converted={}, _heapsize=0, _col_weakrefs=<WeakSet(_remove=<function at remote 0x7fffddd46de8>, _pending_removals=[], _iterating=set([]), data=set([])) at remote 0x7fffddd2f9d0>, _gap=0, _heapoffset=2881000) at remote 0x7fffddd46d70>) at /usr/src/debug/Python-2.7.12/Objects/typeobject.c:5846
#2 0x00007ffff7a96fb2 in subtype_dealloc (
self=<FITS_rec(_uint=True, _nfields=11, _converted={}, _heapsize=0, _col_weakrefs=<WeakSet(_remove=<function at remote 0x7fffddd46de8>, _pending_removals=[], _iterating=set([]), data=set([])) at remote 0x7fffddd2f9d0>, _gap=0, _heapoffset=2881000) at remote 0x7fffddd46d70>) at /usr/src/debug/Python-2.7.12/Objects/typeobject.c:1002
#3 0x00007ffff7a7994f in insertdict_by_entry (mp=0x7fffe17e2398, key='_tiles', hash=<optimized out>, ep=<optimized out>,
value=<optimized out>) at /usr/src/debug/Python-2.7.12/Objects/dictobject.c:528
#4 0x00007ffff7a7b2e0 in dict_set_item_by_hash_or_entry (
op=op@entry={'load_psf': <function at remote 0x7fffe17f60c8>, 'get_tile_radec': <function at remote 0x7fffe0d9eb90>, '_embed_sphere': None, '__package__': 'desimodel', 'yaml': <module at remote 0x7fffe17e4c90>, '_tiles': None, 'np': <module at remote 0x7fffea7cd788>, 'find_points_in_tiles': <function at remote 0x7fffe0d9ec08>, '__doc__': '\ndesimodel.io\n============\n\nI/O utility functions for files in desimodel.\n', 'load_throughput': <function at remote 0x7fffe17f6140>, 'findfile': <function at remote 0x7fffe0d9eb18>, '__warningregistry__': {('No module named specter.psf', <type at remote 0x7ffff7d83e60>, 25): True, ("Unable to import specter.throughput.load_throughput(); desimodel.io.load_throughput() won't work.", <type at remote 0x7ffff7d83e60>, 21): True, ("Unable to import specter.psf.load_psf(); desimodel.io.load_psf() won't work.", <type at remote 0x7ffff7d83e60>, 26): True, ('No module named specter.throughput', <type at remote 0x7ffff7d83e60>, 20): True}, 'warnings': <module at remote 0x7ffff7f13750>, '__bui...(truncated), key=<optimized out>,
hash=<optimized out>, ep=ep@entry=0x0, value=value@entry=None) at /usr/src/debug/Python-2.7.12/Objects/dictobject.c:804
#5 0x00007ffff7a7c304 in PyDict_SetItem (
from desimodel.
Related Issues (20)
- update xy2radec and radec2xy to support airmass field compression terms
- Add focalplane model support for stuck / broken position
- Add support for CANbus failures in focalplane model HOT 1
- Use instrument database for generating focalplane model HOT 2
- update/deprecate fiberpos.fits HOT 6
- DESIMODEL SVN data? HOT 2
- Update platescale to as-built design from DESI-4037 HOT 2
- Mechanism for getting current "nominal" focalplane HOT 1
- Convert focalplane model times to UTC
- Update throughput model to include dip between 4300 and 4500A HOT 3
- Add information about fibers with low transmission
- Outdated desimodel test branches. HOT 1
- astropy 5 not compatible with focalplane calibration ecsv HOT 13
- desiInstall desimodel branches/main fails
- Remove fix-tiles branch? HOT 1
- update psf-quicksim HOT 3
- Update api.rst
- Problem with new version of numpy HOT 5
- io.load_tiles defaults to old tile list $DESIMODEL/data/footprint/desi-tiles.fits HOT 6
- Error with get_tile_radius_deg when loading platescale HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from desimodel.