CMSM-VCU / zoo

Peridynamics data visualization tool
MIT License
0 stars 0 forks source link

kd-tree calculation (grid spacing guess) hangs when opening certain files #30

Closed rileychall closed 2 years ago

rileychall commented 2 years ago

One example: n1000_200x200x300_p100_s0.5-1.5_1.csv

rileychall commented 2 years ago

This is caused by NaN in the grid file. This is a known issue with scipy and will be fixed with 1.9.0: https://github.com/scipy/scipy/pull/16242

The problem can be avoided by removing NaN after reading the file, which is a good practice anyway.