Closed nabobalis closed 8 months ago
added 1 commit
added 1 commit
added 1 commit
marked this merge request as ready
added 3 commits
In GitLab by @wtbarnes on Jan 12, 2023, 11:11
Commented on aiapy/calibrate/prep.py line 97
I think I am :thumbsdown: on this approach. Is there a particular reason that level 1.5 maps must always have dimensions (4096,4096)? Is this just to maintain consistency with what is done in IDL? (that is fine if that is the case).
If so, I think instead of special casing some particular shape, we should have some sort of cropping/padding operations that ensures that the centered, de-rotated, and scaled image always has a width and height of 4096 pixels.
In GitLab by @wtbarnes on Jan 12, 2023, 11:15
Commented on aiapy/calibrate/prep.py line 82
(This does not really relate to the changes made in this PR)
I don't think this if-else block is needed. The target scale should always be 0.6 "/pixel
scale = 0.6 * u.arcsec
This function should also only be applied to level 1 maps (which by definition have not been rescaled).
I actually don't know what the IDL version does. I should check.
Is it possible to do that generally to ensure the image is always 4096?
I will remove it.
In GitLab by @wtbarnes on Jan 12, 2023, 12:36
Commented on aiapy/calibrate/prep.py line 97
Ha well with my proposed padding approach in submap
it will be :stuck_out_tongue:. Otherwise, no, I don't think so (not without reprojection at least).
Ok, so I will remove this then. Add a note in the doc string or something.
changed this line in version 8 of the diff
changed this line in version 8 of the diff
Now removed.
Removed, added a warning to the docstring.
In GitLab by @wtbarnes on Jan 13, 2023, 06:56
Sorry, but the scope of this PR has now become unclear to me and I'm having a hard time reviewing it. Could you move all the register
-related commits to a separate PR? Or if it is easier, just remove them. If the latter, I can open a separate PR to deal with my suggested changes.
I think it is important to keep any changes to register
in their own PRs and not buried amongst other changes, given its importance in the "prep" phase of analyzing AIA data.
This PR now does 0 actual changes to register.
I updated the changelog to say that this PR does.
This has been reverted now.
resolved all threads
In GitLab by @wtbarnes on Jan 17, 2023, 11:52
Commented on aiapy/calibrate/tests/test_prep.py line 37
I would keep this comment. It links to the issue that explains why this is not checking for 4096
In GitLab by @wtbarnes on Jan 17, 2023, 11:55
approved this merge request
changed this line in version 18 of the diff
In GitLab by @wtbarnes on Jan 17, 2023, 11:55
resolved all threads
mentioned in commit 8a23c715b552d0024f5421b3d76152c00a50c9ba
Merges register -> main
All changes that this PR does are documented in the changelog.
Other misc changes have no user facing changes but tidy up RST and CI issues.