-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updates to AMI notebooks and dependencies #155
base: main
Are you sure you want to change the base?
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
@dthatte Thanks for updating this branch. Re-adding pre-requirements was almost enough to get the imports working. I also had to add I don't think I have permission to access |
@ojustino was there any error when you did not have stdatamodels? If you type 'pip freeze' after installing pre-requirements.txt and requirements.txt do you see stdatamodels? My conda setup using requirements.txt file already has stdatamodels (0.3.0) and I don't have to install it separately. Mirage data can also be installed following the instructions on https://mirage-data-simulator.readthedocs.io/en/latest/reference_files.html however it's good to have access to it on the central storage. Maybe you need permissions from someone? |
Hi @dthatte, I understand that The Mirage files are a 100+ GB download, and the notebook has already been verified to run all the way through, I'm just asking for confirmation that following the steps from my last comment won't cause any new errors. |
I've pasted the error below. (Although this traceback is for Python 3.9, I've encountered the same roadblock with other versions, too.)
|
I can run both notebooks after adding stdatamodels==0.2.4 to the requirements.txt file. |
That's good. If you don't have any objections, would you mind sending a commit with your revised version of |
… cannot import name 'ndmodel' from 'stdatamodels'
Hello @dthatte, I was able to access Mirage's data files on Central Storage but am running into two issues. I get the following in the "Update the contents of yaml files and generate raw data" section of the first notebook.
Then, in both notebooks, Since you reported no issues with running either notebook, I'm trying to see if these are problems with my setup. |
I have jsonschema==3.2.0 in the environment that I created for the notebooks. |
I run into the same errors, except now the |
Do you still have the following two lines in the notebook? Are you connected to VPN? Edit: I meant these two lines. |
Yes to all. |
Copying Slack conversation: @ojustino 11:29 AM 11:29 11:29 11:31 @dthatte 12:20 PM |
OK, I'll ask in another forum. The instructions you've linked for |
Can you please try this? |
That gives the same string as my proposal earlier today ( |
@ojustino should I push the notebook with the typo corrected? It will also update the line about python version as seen in git diff below.
|
Please wait until I give instructions for what to do next. |
Hello @dthatte, I've solved the missing pmap file issue and can run the first notebook in full. I'll make the commit that standardizes environment variable assignment for both notebooks, so don't worry about that for now. I can run the second notebook until the "Run ImPlaneA" cell, which errors out with the traceback printed below. Have you seen this before?
|
Do you have WEBBPSF_PATH location to point to WebbPSF data files. Please follow the instructions on https://webbpsf.readthedocs.io/en/latest/installation.html to download WebbPSF data files and create WEBBPSF_PATH location. Also see #146 (comment) |
Please refer to PR #146