PySDM icon indicating copy to clipboard operation
PySDM copied to clipboard

Share and vtk exporter both reset rate products

Open emmacware opened this issue 10 months ago • 2 comments

I think rate products seem to reset to zero after a vtk exporting/storing, so subsequent storing methods register zeros for those products

emmacware avatar Apr 29 '25 16:04 emmacware

Thank you @emmacware

slayoo avatar Apr 29 '25 22:04 slayoo

The offending line is here: https://github.com/open-atmos/PySDM/blob/de03b04af6dba7bda31cf3d8061e47dcb1fc1a99/PySDM/products/impl/rate_product.py#L34

This zeroing should be moved into notify()

slayoo avatar May 02 '25 20:05 slayoo