Comments (1)
This error occurs because the Star Catalog prototype is used. The Star Catalog prototype sets all stellar properties as empty arrays. The script which was used sets scaleOrbit=True which requires BrownCompleteness to use the stellar luminosity of the stars in the target list to calculate completeness. When these values are not present, this error is thrown.
To avoid this error, use any of the non-prototype Star Catalog modules (I used EXOCAT1).
When I used EXOCAT1, however, I get an empty Target List due to the int_cutoff_filter():
Traceback (most recent call last):
File "", line 1, in
sim = MissionSim.MissionSim(scriptfile)
File "C:\Users\Daniel\Documents\Cornell\Research\Python_Code_base\EXOSIMS\MissionSim.py", line 109, in init
['SimulatedUniverse'],'SimulatedUniverse')(**specs)
File "C:\Users\Daniel\Documents\Cornell\Research\Python_Code_base\EXOSIMS\SimulatedUniverse\KeplerLikeUniverse.py", line 23, in init
SimulatedUniverse.init(self, **specs)
File "C:\Users\Daniel\Documents\Cornell\Research\Python_Code_base\EXOSIMS\Prototypes\SimulatedUniverse.py", line 89, in init
self.TargetList = get_module(specs['modules']['TargetList'],'TargetList')(**specs)
File "C:\Users\Daniel\Documents\Cornell\Research\Python_Code_base\EXOSIMS\Prototypes\TargetList.py", line 137, in init
self.filter_target_list(**specs)
File "C:\Users\Daniel\Documents\Cornell\Research\Python_Code_base\EXOSIMS\Prototypes\TargetList.py", line 226, in filter_target_list
self.int_cutoff_filter()
File "C:\Users\Daniel\Documents\Cornell\Research\Python_Code_base\EXOSIMS\Prototypes\TargetList.py", line 330, in int_cutoff_filter
self.revise_lists(i)
File "C:\Users\Daniel\Documents\Cornell\Research\Python_Code_base\EXOSIMS\Prototypes\TargetList.py", line 389, in revise_lists
assert self.nStars, "Target list is empty: nStars = %r"%self.nStars
AssertionError: Target list is empty: nStars = 0
from exosims.
Related Issues (20)
- Planet mass should be generated in gen_plan_params
- Need to switch to synphot for star photometry calculations HOT 1
- Make getmodule failures more transparent when error lies in actually importing a found module
- Fix DulzPlavchan mass generation
- Fix DulzPlavchanUniverse's inclination generation HOT 2
- Fix generation of longitude of ascending node. HOT 2
- target completeness should be cached
- Phototometry branch: MeanStars: spectral class parsing HOT 2
- VOtable import may be out of date with exported VOtables HOT 2
- interp.interp2d is being deprecated
- Offload propagation to keplertools
- custom cache directories do not create intermediate directories, causing error
- Need planet emissivity model for future support of mid- to far-IR instruments.
- Add Support for Template Spectra Parametrized by Teff
- Stationkeeping thruster firing may not always be properly decremented from exoplanet observing time available
- Update OpticalSystem to use full 2D PSFs and associated data products
- Improve version tracking and deprecate SVN support
- popStars filtering broken for lists length > 1 HOT 1
- calculate_dV in SotoStarShade : Conflicts in input , docstring and usage in minimize SlewTimes
- Nan Filter method in Ecliptic Target list
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 exosims.