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 multiscene memory issues by adding an optional batch_size #353

Merged
merged 2 commits into from
Jul 1, 2018

Conversation

djhoese
Copy link
Member

@djhoese djhoese commented Jun 29, 2018

The cascading dask graph solution I use in the multiscene save animation ends up requiring a lot of memory. By computing things in batching we get the benefit of computing and writing to disk at the same time while also not running out of memory.

  • Tests added
  • Tests passed
  • Passes git diff origin/master **/*py | flake8 --diff
  • Fully documented

@djhoese djhoese self-assigned this Jun 29, 2018
@djhoese djhoese added this to the v0.9 milestone Jun 29, 2018
@djhoese djhoese added the bug label Jun 29, 2018
@codecov
Copy link

codecov bot commented Jul 1, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@bc87fed). Click here to learn what that means.
The diff coverage is 85.71%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #353   +/-   ##
=========================================
  Coverage          ?   69.16%           
=========================================
  Files             ?      123           
  Lines             ?    15670           
  Branches          ?        0           
=========================================
  Hits              ?    10838           
  Misses            ?     4832           
  Partials          ?        0
Impacted Files Coverage Δ
satpy/multiscene.py 80.31% <85.71%> (ø)

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 bc87fed...fb4f2c4. Read the comment docs.

@djhoese djhoese merged commit 20e3ebb into pytroll:master Jul 1, 2018
@djhoese djhoese deleted the bugfix-multiscene-memory branch July 1, 2018 15:07
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.

1 participant