Closed nabobalis closed 8 months ago
In GitLab by @codecov on Jan 7, 2022, 10:52
Merging #148 (e3a41ff) into master (93309b8) will not change coverage. The diff coverage is
100.00%
.
@@ Coverage Diff @@
## master #148 +/- ##
=======================================
Coverage 95.87% 95.87%
=======================================
Files 19 19
Lines 606 606
=======================================
Hits 581 581
Misses 25 25
Impacted Files | Coverage Δ | |
---|---|---|
aiapy/calibrate/__init__.py | 100.00% <100.00%> (ø) |
|
aiapy/psf/__init__.py | 100.00% <100.00%> (ø) |
|
aiapy/response/__init__.py | 100.00% <100.00%> (ø) |
|
aiapy/util/__init__.py | 100.00% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 93309b8...e3a41ff. Read the comment docs.
In GitLab by @wtbarnes on Jan 7, 2022, 11:51
Commented on aiapy/calibrate/prep.py line 81
I'm fine with this, but this feels like something we should ultimately be addressing upstream in Map.rotate
In GitLab by @wtbarnes on Jan 7, 2022, 11:54
Commented on aiapy/calibrate/tests/test_meta.py line 32
This can just be a QTable
and you can create an array of astropy.time.Time
objects from a list of time strings.
In GitLab by @wtbarnes on Jan 7, 2022, 11:54
Commented on aiapy/calibrate/tests/test_meta.py line 99
These are arcsec. As above, if you just create a QTable directly, no need to inject these later.
In GitLab by @wtbarnes on Jan 7, 2022, 11:54
Commented on aiapy/calibrate/tests/test_meta.py line 177
This is fine, but update_pointing
includes a pointing_table
keyword so you don't have to mock anything,
aia_171_map_updated = update_pointing(aia_171_map, pointing_table=mock_pointing_table)
In GitLab by @wtbarnes on Jan 7, 2022, 11:54
Commented on aiapy/calibrate/prep.py line 81
Also, why does this fix the issue?
scale_factor.value
is a masked float, so by floating it, we remove the mask on it and it passes.
I don't really understand it.
I took this from the fido search and it was quicker.
changed this line in version 10 of the diff
changed this line in version 10 of the diff
changed this line in version 10 of the diff
E astropy.units.core.UnitConversionError: 'arcsec' (angle) and 'arcsec / pix' are not convertible
Fixed.
Fixed.
Fixed.
Tho the units being arcseconds breaks the test.
In GitLab by @wtbarnes on Jan 7, 2022, 14:59
Commented on aiapy/calibrate/tests/test_meta.py line 99
Sorry sorry sorry. It is pixel
. Ignore me.
changed this line in version 11 of the diff
In GitLab by @wtbarnes on Jan 14, 2022, 05:38
Commented on aiapy/calibrate/prep.py line 81
Why is scale_factor
a masked float?
In GitLab by @wtbarnes on Jan 14, 2022, 07:37
Commented on aiapy/calibrate/prep.py line 81
I would revert this change in favor of !151, merge this, and then I'll rebase !151 on top of master
Ok.
changed this line in version 13 of the diff
resolved all threads
In GitLab by @wtbarnes on Jan 14, 2022, 07:42
resolved all threads
In GitLab by @wtbarnes on Jan 14, 2022, 07:42
approved this merge request
enabled an automatic merge when the pipeline for e3a41ffb0c66723049898810885500ec904e4bbb succeeds
canceled the automatic merge
In GitLab by @wtbarnes on Jan 14, 2022, 07:51
enabled an automatic merge when the pipeline for e3a41ffb0c66723049898810885500ec904e4bbb succeeds
canceled the automatic merge
mentioned in commit 079b71fe04def61f99963a2647a07e1f46d8bf88
picked the changes into the branch cherry-pick-079b71fe
with commit 0c49bf44be61a297cce35197dad485e731b9d8da
mentioned in commit 0c49bf44be61a297cce35197dad485e731b9d8da
Merges bugfix -> master
Fixes https://gitlab.com/LMSAL_HUB/aia_hub/aiapy/-/issues/123