Skip to content
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

Port other steps and pipelines #63

Closed
zonca opened this issue Jun 24, 2024 · 11 comments
Closed

Port other steps and pipelines #63

zonca opened this issue Jun 24, 2024 · 11 comments

Comments

@zonca
Copy link
Member

zonca commented Jun 24, 2024

@astrobc1 great job on #62, I think you can go ahead and port all other steps and pipelines.

I suggest this order:

  • individual steps
  • pipelines (just image2 if I'm not mistaken)
  • steps/pipelines that mentions subarrays (I remember they were tricky)

Please 1 separate pull request for each test case.
If you ever get stuck, please still open a pull request with partial work and explain what is the issue.

@zonca
Copy link
Member Author

zonca commented Jun 24, 2024

you might need to adjust the calibration files on crds cache for some of these to work, in that case do a concurrent PR to https://github.com/oirlab/liger-iris-crds-cache

@astrobc1
Copy link
Contributor

astrobc1 commented Jul 3, 2024

@zonca I ported assign_wcs on a new branch. One minor change I don't quite understand was checking for membership in a DataModel's meta attribute (previously was if attr not in meta, see Note):

if not input_model.meta.hasattr("wcsinfo"):

But the test passes and I created PR #67.

@zonca
Copy link
Member Author

zonca commented Jul 3, 2024

@astrobc1 very good,
while I review #67, please start to work on another step, make sure you start again from the main branch instead of the branch of #67, we do not want the same commits to be in 2 branches.

@zonca
Copy link
Member Author

zonca commented Jul 3, 2024

@zonca I ported assign_wcs on a new branch. One minor change I don't quite understand was checking for membership in a DataModel's meta attribute (previously was if attr not in meta, see Note):

if not input_model.meta.hasattr("wcsinfo"):

But the test passes and I created PR #67.

I guess this was a bug either in an older version of jwst or in iris_pipeline itself, it looks good now.

@zonca
Copy link
Member Author

zonca commented Aug 14, 2024

@astrobc1 I fixed the strange issue we had in Github Actions in ee3203b

so please rebase your current branches on master so you can pick up this commit and we can have the tests properly running in Github Actions

@astrobc1
Copy link
Contributor

astrobc1 commented Aug 30, 2024

@zonca (sorry hit post early on accident!) Looking at what's next. Remaining .ipynb files are:

  1. run_image2_subarray.ipynb
  2. test_create_subarray_dataset.ipynb
  3. test_dark_subarray.ipynb
  4. test_merge_subarrays.ipynb

I think 1 is addressed by the second function in test_image2.py? #70 is 4 above. I think I can finish 2-4 by Tuesday.

@zonca
Copy link
Member Author

zonca commented Aug 30, 2024

@astrobc1 great, it would be nice to get them done by Tuesday so we can plan for what comes next.
Would you be able to do that? Otherwise I can take care of these last 2.

@zonca
Copy link
Member Author

zonca commented Aug 30, 2024

@astrobc1 there is also #70 to finalize

@astrobc1
Copy link
Contributor

Sorry I don't think GitHub notifies fixed comments. I can take care of 2-4 above by Tuesday.

@zonca
Copy link
Member Author

zonca commented Aug 30, 2024

Sorry I don't think GitHub notifies fixed comments. I can take care of 2-4 above by Tuesday.

Good, I'll be on alert for review requests

@zonca
Copy link
Member Author

zonca commented Sep 2, 2024

@astrobc1 with #82 we are done, great job! liger_iris_pipeline is completely ported to the new version of jwst.
Next we can cleanup the docs and plan for the next steps.

@zonca zonca closed this as completed Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants