-
Notifications
You must be signed in to change notification settings - Fork 16
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
NIRISS SOSS calibrating TSO products and light curve generating #6
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 |
I've gone through my notebook and attempted to correct them where some tests were failing. I've fixed the PEP8 standard issues. However, I am unsure about the Notebook execution steps. For the second notebook In regard to environment setup to run notebook I had to modify the existing requirement.txt for the tests to run. I addition I've provided a soss specific requirements as well if it needed at all. |
Hello Tyler, After running through the two notebooks, there are an only a few technical changes necessary to pass CI. The main change that we will have to make to the notebooks is storing the generated data from the first notebook into a Box directory, and adding some code so this Box directory and the generated data is accessible to the second notebook. For some background, the CI does not look at the PR in totality, but rather, it runs the notebooks separately. Thus, the second notebook will not have access to the data generated by the first notebook. By adding a Box directory, this will ensure that both notebooks can be run individually (by both a user and the CI). |
A quick update: For this notebook, I will work to add the Box link with the generated data for the first notebook. There will be an additional comment added at this section explaining the reasoning behind the code block that will enable to second notebook to pass CI with said Box link. This will be a temporary solution while the CI team works on the solution to enable specific notebooks to run in order. Once this is implemented and tested by the CI team, we will create a second PR for this notebook, striping the extract code block and comment that allowed the CI to originally pass CI. |
Just adding a quick note that the jwst-pipeline-notebooks are intended to be rather different from the previous JDAT notebooks, and should not in general split a given observing mode between two different notebooks. As such, there should be no need for notebooks to run in order. It would be best to pause further testing here until we've got a template notebook finalized and can discuss content and overall design prior to digging into more technical details. |
Hey @drlaw1558! I wanted to follow up more in general about this repository. I was wondering if there are any status updates on the development of the template notebook and the subsequent content of notebooks within the repository as discussed in your previous comment. |
@gibsongreen Thanks for the reminder. The template notebooks have now evolved considerably, with both a MIRI MRS and NIRISS imaging notebook in the repo and MIRI imager and NIRCam image notebooks following this structure under review (PR 23 and 19). We are not planning on merging this notebook (PR 6) at the present time as it doesn't conform to the template structure. That said, it may be helpful to the NIRISS team to keep the PR around for the time being until there is a SOSS notebook submitted that does follow the template. |
Thank you for the update, I'll inform the other stakeholders as well! I noticed a similar comment here #7 (comment) regarding holding off on merging due to the template structure. Is this also the case for that PR? |
That's right; I know that NIRSpec is working on a notebook in the new form, but I don't know whether they intend to replace the notebook in PR #7 or open a new PR. |
This notebook checklist has been made available to us by the the Notebooks For All team.
Its purpose is to serve as a guide for both the notebook author and the technical reviewer highlighting critical aspects to consider when striving to develop an accessible and effective notebook.
The First Cell
<h1>
or# in markdown
).1., 2.,
etc. in Markdown).The Rest of the Cells
#
in Markdown) used in the notebook.Text
Code
Images
All images (jpg, png, svgs) have an image description. This could be
alt
property)alt
attribute with no value)Any text present in images exists in a text form outside of the image (this can be alt text, captions, or surrounding text.)
Visualizations
All visualizations have an image description. Review the previous section, Images, for more information on how to add it.
Visualization descriptions include
All visualizations and their parts have enough color contrast (color contrast checker) to be legible. Remember that transparent colors have lower contrast than their opaque versions.
All visualizations convey information with more visual cues than color coding. Use text labels, patterns, or icons alongside color to achieve this.
All visualizations have an additional way for notebook readers to access the information. Linking to the original data, including a table of the data in the same notebook, or sonifying the plot are all options.