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 VIIRS EDR Flood file patterns not working for AOI files #993

Merged
merged 1 commit into from Dec 3, 2019

Conversation

djhoese
Copy link
Member

@djhoese djhoese commented Dec 3, 2019

The file patterns for the VIIRS EDR Flood reader were not specific enough and were causing the Area Of Interest files to be matched against the full swath file pattern. It matched because "001_1157" in the filename was being matched to a single field that was only supposed to match a single number. This PR makes the file pattern more specific.

Closes ssec/polar2grid#243

  • Tests added and test suite added to parent suite
  • Tests passed
  • Passes flake8 satpy

@djhoese djhoese added the bug label Dec 3, 2019
@djhoese djhoese self-assigned this Dec 3, 2019
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

@djhoese
Copy link
Member Author

djhoese commented Dec 3, 2019

Failures are unrelated and fixed in master. Merging now...

@djhoese djhoese merged commit 071e34b into pytroll:master Dec 3, 2019
@djhoese djhoese deleted the bugfix-viirs-flood-fpattern branch December 3, 2019 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

polar2grid-swbundle-2.3.0b4.tar.gz fails on Flood Area of Interest files
2 participants