-
Notifications
You must be signed in to change notification settings - Fork 287
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop PPDataProxy accessing the file when no data is needed. (#3659)
* Stop PPDataProxy accessing the file when no data is needed. * Fix for old-style 80 character column limit. * More retro style fixes. * Added whatsnew * Fix 1-D case, simpler scope, more complex tests. * Codestyle fix. * Fix import. * Repackage key logic as a utility routine. * Make contributions for 2.4.0, not 2.4.1. * Update lib/iris/tests/unit/fileformats/pp/test_PPDataProxy.py Co-Authored-By: Martin Yeo <40734014+trexfeathers@users.noreply.github.com> * Remove pointless test. * Simplify array code and tidy docs. Co-authored-by: Martin Yeo <40734014+trexfeathers@users.noreply.github.com>
- Loading branch information
1 parent
f4df1ea
commit 9b8f9cb
Showing
4 changed files
with
200 additions
and
15 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
docs/iris/src/whatsnew/contributions_2.4.0/bugfix_2020-Feb-14_pp_emptyslices.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
* Fixed a problem which was causing file loads to fetch *all* field data | ||
whenever UM files (PP or Fieldsfiles) were loaded. | ||
With large sourcefiles, initial file loads are slow, with large memory usage | ||
before any cube data is even fetched. Large enough files will cause a crash. | ||
The problem occurs only with Dask versions >= 2.0. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters