Closed rhondamorgan closed 8 years ago
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 "
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
I attempted to run end to end with today's newest release, including the updated BrownCompleteness.py.
Here is the Traceback:
IndexError Traceback (most recent call last)