Skip to content

Commit

Permalink
Added memory-efficient reading of SWAN files and support for ZERO key…
Browse files Browse the repository at this point in the history
…word.
  • Loading branch information
Bas Hoonhout committed Feb 7, 2018
1 parent 5f6c065 commit a037f67
Show file tree
Hide file tree
Showing 3 changed files with 270 additions and 74 deletions.
8 changes: 7 additions & 1 deletion docs/whatsnew.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@ Improvements
New functions/methods
^^^^^^^^^^^^^^^^^^^^^

None.
* Added `SwanBlockReader` for memory efficient reading of large
files. The `SwanSpcReader` now uses this class to read spectrum
files with a minimum required number of lines in memory at each
point in the reading procedure.

* Added support for the `ZERO` keyword in SWAN spectrum files. `ZERO`
now results in zeros, while `NODATA` results in NaN values.

Bug fixes
^^^^^^^^^
Expand Down

0 comments on commit a037f67

Please sign in to comment.