natashabatalha / PandExo

A Community Tool for Transiting Exoplanet Science with the JWST & HST
https://natashabatalha.github.io/PandExo
GNU General Public License v3.0
34 stars 38 forks source link

KeyError when running NIRSpec #52

Closed cabridelle closed 1 year ago

cabridelle commented 3 years ago

I am getting the following error when running NIRSpec with any filter: "Unknown key format {} value {} listed in {}".format(kfe, value_lookup[kfe], KeyError: 'readmode'

I have updated pandeia and pandexo, but from what I can tell 'readmode' is not listed anywhere in instrument.py. Could this be the problem?

natashabatalha commented 2 years ago

This is likely an issue with having incompatible Pandeia refdata, Pandeia the code, and PandExo the code.

Currently you should have:

pandeia-engine      1.6           pypi_0  pypi
pandexo-engine      1.5.3          pypi_0  pypi

Along with this documentation: https://stsci.app.box.com/v/pandeia-refdata-v1p6