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

Fix lon_pole units in VaryingCelestialTransform #225

Merged
merged 21 commits into from
May 9, 2023
Merged

Fix lon_pole units in VaryingCelestialTransform #225

merged 21 commits into from
May 9, 2023

Conversation

nabobalis
Copy link
Contributor

@nabobalis nabobalis commented Feb 18, 2023

I added a simple test.

Not sure if there is something else to do.

@codecov
Copy link

codecov bot commented Feb 18, 2023

Codecov Report

Merging #225 (4fe49ab) into main (d5c9ae4) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #225   +/-   ##
=======================================
  Coverage   97.18%   97.18%           
=======================================
  Files          37       37           
  Lines        2095     2095           
=======================================
  Hits         2036     2036           
  Misses         59       59           
Impacted Files Coverage Δ
dkist/wcs/models.py 99.48% <100.00%> (ø)

@@ -46,6 +46,19 @@ def test_generate_celestial_unitless():
assert u.allclose(shift1.offset, 0)


def test_varying_transform_no_lon_pole_unit():
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you prefer, I can remove this test and add the unit check to the test below and remove the lon_pole argument in the VaryingCelestialTransform call.

I can also add a test for generate_celestial_transform instead? Or both?

@nabobalis nabobalis marked this pull request as ready for review February 20, 2023 01:14
setup.cfg Outdated Show resolved Hide resolved
@nabobalis
Copy link
Contributor Author

sunpy:fido_guide is not found. I assume due to us removing it/renaming it?

@Cadair
Copy link
Member

Cadair commented May 9, 2023

sunpy:fido_guide is not found. I assume due to us removing it/renaming it?

I re-pointed our intersphinx to stable, but maybe we can fix this before release.

@Cadair Cadair merged commit f70016e into DKISTDC:main May 9, 2023
@Cadair
Copy link
Member

Cadair commented May 9, 2023

Thanks a lot @nabobalis 🥳

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

Successfully merging this pull request may close these issues.

2 participants