josephhardinee / PyDSD

Python Library for working with disdrometer data.
GNU Lesser General Public License v2.1
45 stars 33 forks source link

Added support for saving and loading of pre-computed scattering tables. #89

Closed josephhardinee closed 4 years ago

josephhardinee commented 4 years ago

Added support for loading and saving of scattering table to speed up computation of large numbers of files. This still needs documentation, but the relevant functions are in DropSizeDistribution.save_scattering_table and an option in calculate_radar_parameters called scatter_table_filename.

I haven't gotten to do a ton of testing on the stability of this so for now we'll consider it a bit of an experimental feature.

pep8speaks commented 4 years ago

Hello @josephhardinee, Thank you for updating !

Line 707:101: E501 line too long (115 > 100 characters) Line 709:101: E501 line too long (117 > 100 characters) Line 709:118: W291 trailing whitespace Line 710:28: W291 trailing whitespace Line 711:1: W293 blank line contains whitespace Line 717:101: E501 line too long (106 > 100 characters)

Comment last updated at 2020-03-23 03:06:35 UTC
josephhardinee commented 4 years ago

Note this works locally and passes tests, but is being held up by an older version of pytmatrix on conda-forge. I've referred the issue upstream requesting newer packages be released.