LM-SAL / aiapy

Python library for AIA data analysis
https://aiapy.readthedocs.io/en/stable/
BSD 3-Clause "New" or "Revised" License
7 stars 3 forks source link

Update bounding box coordinates in register function to account for new submap handling in SunPy - [merged] #191

Closed nabobalis closed 10 months ago

nabobalis commented 4 years ago

In GitLab by @wtbarnes on Jun 2, 2020, 13:22

Merges fix-register-submap -> master

Fixes #69, #70

This fixes an off-by-one error when computing the bounding box, in pixel space, for the submap that ensures that the new level 1.5 map has the same dimensions. This started cropping up on the tests against the dev version of sunpy because of a few major changes to how the submap function behaved (see https://github.com/sunpy/sunpy/pull/4134).

Note that this should fail on every set of tests except those that test against sunpy master. My suggestion is that we do not merge this PR until sunpy 2.0 has been released and then we pin our sunpy depdendency to >=2.0

nabobalis commented 4 years ago

In GitLab by @wtbarnes on Jun 2, 2020, 19:57

added 1 commit

Compare with previous version

nabobalis commented 4 years ago

In GitLab by @wtbarnes on Jun 14, 2020, 13:48

added 1 commit

Compare with previous version

nabobalis commented 4 years ago

In GitLab by @wtbarnes on Jun 14, 2020, 13:54

We should probably do a 0.2 release after this is merged as with 0.1, we run the risk of people using sunpy v2.0 and falling into the off-by-one error problem in aiaprep

nabobalis commented 4 years ago

In GitLab by @wtbarnes on Jun 14, 2020, 13:56

unmarked as a Work In Progress

nabobalis commented 4 years ago

In GitLab by @wtbarnes on Jun 17, 2020, 16:22

added 1 commit

Compare with previous version

nabobalis commented 4 years ago

In GitLab by @wtbarnes on Jun 17, 2020, 18:01

added 1 commit

Compare with previous version

nabobalis commented 4 years ago

In GitLab by @wtbarnes on Jun 17, 2020, 18:11

added 1 commit

Compare with previous version

nabobalis commented 4 years ago

In GitLab by @wtbarnes on Jun 17, 2020, 18:40

added 1 commit

Compare with previous version

nabobalis commented 4 years ago

In GitLab by @wtbarnes on Jun 18, 2020, 12:14

added 2 commits

Compare with previous version

nabobalis commented 4 years ago

In GitLab by @wtbarnes on Jun 18, 2020, 12:53

added 1 commit

Compare with previous version

nabobalis commented 4 years ago

In GitLab by @wtbarnes on Jun 18, 2020, 13:35

mentioned in commit eaf7a31489a968b8e83f53e010afa0b1a65e012e

nabobalis commented 4 years ago

In GitLab by @wtbarnes on Jun 18, 2020, 13:35

merged