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

Bugfix msg native reader #265

Merged
merged 9 commits into from Apr 27, 2018
Merged

Bugfix msg native reader #265

merged 9 commits into from Apr 27, 2018

Conversation

adybbroe
Copy link
Contributor

@adybbroe adybbroe commented Apr 25, 2018

Fixing the MSG SEVIRI native format reader, and make it Dask compatible.
The changes previously done by Colin was not fully completed. Now, the reader should handle subsetted datasets.

  • Tests passed
  • Passes git diff origin/develop **/*py | flake8 --diff

Signed-off-by: Adam.Dybbroe <adam.dybbroe@smhi.se>
Signed-off-by: Adam.Dybbroe <adam.dybbroe@smhi.se>
@@ -33,6 +33,8 @@
import numpy as np

import xarray as xr
import dask.array as da
from satpy import CHUNK_SIZE
Copy link
Contributor

Choose a reason for hiding this comment

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

F401 'satpy.CHUNK_SIZE' imported but unused

@adybbroe
Copy link
Contributor Author

We are not quite ready with this PR yet. Sorry. Will fix the tests first!

Signed-off-by: Adam.Dybbroe <adam.dybbroe@smhi.se>
Signed-off-by: Adam.Dybbroe <adam.dybbroe@smhi.se>
@coveralls
Copy link

coveralls commented Apr 25, 2018

Coverage Status

Coverage decreased (-0.04%) to 63.76% when pulling adbf11f on bugfix-msg-native-reader into fe356b5 on develop.

@codecov-io
Copy link

codecov-io commented Apr 25, 2018

Codecov Report

Merging #265 into develop will decrease coverage by 0.04%.
The diff coverage is 23.07%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #265      +/-   ##
===========================================
- Coverage     63.8%   63.76%   -0.05%     
===========================================
  Files          112      112              
  Lines        13861    13877      +16     
===========================================
+ Hits          8844     8848       +4     
- Misses        5017     5029      +12
Impacted Files Coverage Δ
satpy/tests/reader_tests/test_native_msg.py 91.3% <100%> (+0.25%) ⬆️
satpy/readers/native_msg.py 31.47% <14.89%> (-3.51%) ⬇️
satpy/readers/__init__.py 94.53% <0%> (+1.68%) ⬆️

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 fe356b5...adbf11f. Read the comment docs.


# The available channels are only known after the header
# has been read, after that we know what the indices are for each channel
self.available_channels = dict(zip(CHANNEL_LIST,[False]*len(CHANNEL_LIST)))
Copy link
Contributor

Choose a reason for hiding this comment

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

E231 missing whitespace after ','

Signed-off-by: Adam.Dybbroe <adam.dybbroe@smhi.se>
…ative format

Signed-off-by: Adam.Dybbroe <adam.dybbroe@smhi.se>
@adybbroe
Copy link
Contributor Author

I believe we are ready now, and you can merge when ever it is suitable

@adybbroe adybbroe closed this Apr 25, 2018
@adybbroe adybbroe reopened this Apr 25, 2018
@adybbroe
Copy link
Contributor Author

We merged develop into this and pushed again. Should be ready to merge.

@mraspaud mraspaud merged commit 7fe6d62 into develop Apr 27, 2018
@mraspaud mraspaud deleted the bugfix-msg-native-reader branch April 27, 2018 16:08
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

5 participants