Closed Tusay closed 2 weeks ago
Hi @Tusay,
I reccommend that, if the models are what you need, you grab them from "Forward Modeling" in the right of ExoCTK's online app: https://exoctk.stsci.edu/.
Let me know if this helps your particular use-case!
N.
I appreciate the suggestion, but I really need the errors on the response with JWST's MIRI, so I am not sure the forward modeling will work for my case. I need the data from the PandExo --> JWST calculation.
Atmospheric retrieval tool was removed from the package so I'm closing this issue.
I am a grad student, trying to get PandExo running on linux in order to model JWST atmospheric retrieval with usable output.
I have installed ExoCTK using the github clone and setup.
When I go to run the atmospheric retrieval demo, I get some errors.
First, when I go to import exoctk.atmospheric_retrievals.platon_wrapper I get the following: "pandeia not installed. Functionality limited. WARNING: The $EXOCTK_DATA environment variable is not set. Contamination overlap will not work. Please set the value of this variable to point to the location of the exoctk_data download folder. Users may retreive this folder by clicking the "ExoCTK Data Download" button on the ExoCTK website, or by using the exoctk.utils.download_exoctk_data() function. WARNING: LOCAL JWST PRD VERSION PRDOPSSOC-031 DOESN'T MATCH THE CURRENT ONLINE VERSION PRDOPSSOC-045-003 Please consider updating pysiaf, e.g. pip install --upgrade pysiaf or conda update pysiaf
RuntimeError Traceback (most recent call last) RuntimeError: module compiled against API version 0xf but this version of numpy is 0xd Batman library not installed. Install it by doing "pip install batman-package" to use exoctk.limb_darkening.spam.
RuntimeError Traceback (most recent call last) RuntimeError: module compiled against API version 0xf but this version of numpy is 0xd Could not import batman. Functionality may be limited.
RuntimeError Traceback (most recent call last) RuntimeError: module compiled against API version 0xf but this version of numpy is 0xd Could not import batman. Functionality may be limited."
I definitely have the pandeia data uncompressed and an environment variable set to its location. I also definitely set the $EXOCTK_DATA environment variable, so I don't know why it's complaining about those. I'm also unsure what's wrong with batman. I cannot import it without the same errors popping up, but I installed it independently and it says the requirements are already met. But when I run the cell again, the error warnings disappear.
Then, when I try to execute pw = PlatonWrapper() I get this error: "--------------------------------------------------------------------------- RuntimeError Traceback (most recent call last) /tmp/ipykernel_29345/3999841698.py in
----> 1 pw = PlatonWrapper()
2 pw.set_parameters(params)
/storage/work/n/nxt5197/PandExo/exoctk/exoctk/atmospheric_retrievals/platon_wrapper.py in init(self) 202 self.output_results = 'results.dat' 203 self.output_plot = 'corner.png' --> 204 self.retriever = Retriever() 205 self.ssh_file = '' 206 self.aws = False
~/.conda/envs/exoctk-3.9/lib/python3.9/site-packages/platon/retriever.py in init(self) 17 class Retriever: 18 def init(self): ---> 19 raise RuntimeError("To avoid confusion, use CombinedRetriever instead") 20 self.combined_retriever = CombinedRetriever() 21
RuntimeError: To avoid confusion, use CombinedRetriever instead"
All I'm trying to do is get a version of PandExo for JWST working where I can retrieve the data. The website provides a nice interface and a pretty output, but I need the data. If there's a way to just grab the data from the website instead of fighting with code please let me know. Otherwise, any help resolving the issues above would also be greatly appreciated.