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 "rows_per_scan" not being available from VIIRS SDR readers #1211

Merged
merged 4 commits into from May 22, 2020

Conversation

djhoese
Copy link
Member

@djhoese djhoese commented May 19, 2020

The "rows_per_scan" piece of metadata used to be in this reader (I'm 90% sure), but somewhere along the line it disappeared. This PR adds it back in. It's also possible it is in viirs_l1b and maybe the compact reader but never got added to this reader. Anyway...should be fixed now with tests to check for it.

  • Tests added
  • Tests passed
  • Passes flake8 satpy
  • Fully documented

I checked the flake8 line because I didn't get a warning from pre-commit, but I'm also pretty sure some of the docstrings are wrong. Maybe it isn't checking the full file anymore?

@djhoese
Copy link
Member Author

djhoese commented May 19, 2020

Ah turns out I didn't have pre-commit installed on my current environment. Will try now.

@coveralls
Copy link

coveralls commented May 19, 2020

Coverage Status

Coverage increased (+0.01%) to 89.731% when pulling 2a1ab7c on djhoese:bugfix-viirs-sdr-scan-rows into b7d6f34 on pytroll:master.

Copy link
Member

@mraspaud mraspaud left a comment

Choose a reason for hiding this comment

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

LGTM. I'd love to see the same parameter checked in compact and l1b

@ghost
Copy link

ghost commented May 22, 2020

Congratulations 🎉. DeepCode analyzed your code in 0.166 seconds and we found no issues. Enjoy a moment of no bugs ☀️.

👉 View analysis in DeepCode’s Dashboard

@djhoese djhoese changed the title Fix "rows_per_scan" not being available from "viirs_sdr" reader Fix "rows_per_scan" not being available from VIIRS SDR readers May 22, 2020
@djhoese
Copy link
Member Author

djhoese commented May 22, 2020

Done

@djhoese
Copy link
Member Author

djhoese commented May 22, 2020

Got the OK from Martin on slack. Merging (appveyor is passing but the notification didn't make it all the way to github apparently).

@djhoese djhoese merged commit 5bd265f into pytroll:master May 22, 2020
@djhoese djhoese deleted the bugfix-viirs-sdr-scan-rows branch May 22, 2020 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants