Comments (3)
Comment by josePhoenix
Thursday Oct 09, 2014 at 20:02 GMT
After installing Python 2.6.9 through conda
, and master from josephoenix/poppy and josephoenix/webbpsf, this is the error I was getting:
$ python
Python 2.6.9 |Continuum Analytics, Inc.| (unknown, Jan 10 2014, 13:33:57)
[GCC 4.2.1 (Apple Inc. build 5577)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import webbpsf
WebbPSF log messages of level INFO and above will be shown.
WebbPSF log outputs will be directed to the screen.
>>> webbpsf.Instrument('NIRCam')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/jlong/src/webbpsf/webbpsf/webbpsf_core.py", line 1288, in Instrument
if name == 'nircam': return NIRCam()
File "/Users/jlong/src/webbpsf/webbpsf/webbpsf_core.py", line 871, in __init__
self.detector=self.detector_list[0]
File "/Users/jlong/src/webbpsf/webbpsf/webbpsf_core.py", line 262, in detector
self._detector = DetectorGeometry(self.name, siaf_aperture_name, shortname=detname)
File "/Users/jlong/src/webbpsf/webbpsf/webbpsf_core.py", line 1343, in __init__
self.mysiaf = SIAF(instr=self.instrname, basepath=os.path.join( utils.get_webbpsf_data_path(), self.instrname) )
File "/Users/jlong/src/webbpsf/webbpsf/jwxml.py", line 576, in __init__
for entry in self._tree.getroot().iter('SiafEntry'):
AttributeError: iter
>>>
from webbpsf.
Comment by mperrin
Wednesday Nov 05, 2014 at 23:31 GMT
Just a comment here I agree with all of the above, and we should just update the docs to say >= 2.7.
from webbpsf.
Comment by josePhoenix
Wednesday Dec 10, 2014 at 15:59 GMT
Closed by #27
from webbpsf.
Related Issues (20)
- setup_sim_to_match_data documentation improvement
- setup_sim_to_match_file gets confused by parallel SW/LW coronagraphy HOT 5
- Issue with convolution over pixel using astropy.convolution.Box2DKernel? HOT 4
- Read/load saved PSF grid? HOT 5
- MIRI cruciform detector effects not in Read the Docs HOT 2
- photutils GriddedPSFModel now supports different oversampling in each dimension HOT 1
- Improvements in MIRI LRS instrument model HOT 2
- AttributeError: 'MIRI' object has no attribute 'load_wss_opd_by_date' HOT 4
- Use consistent Time objects in trending.py
- PSF model worse for brightsky detector HOT 3
- setup_sim_to_match_file: Not properly reading NIRCam F323N? HOT 4
- Release 1.3 roadmap HOT 1
- NIRSpec NRS1 and NRS2 PSF creation have very different runtimes HOT 1
- setup_sim_to_match_file: F323N returns NRCA5 for NRCB5 module HOT 4
- Improvements to trending.plot_wfs_obs_delta & wfe_histogram_plot to support full filename paths HOT 1
- Visit Id naming smarts in get_visit_nrc_ta_image
- setup_sim_to_match_data for LRS TACONFIRM image should set image_mask to LRS slit HOT 1
- readthedocs build is broken; needs python version update HOT 4
- Release 1.4 roadmap HOT 1
- add docs for all jwst instrument options flags
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 webbpsf.