CLIMADA-project / climada_petals

See https://github.com/CLIMADA-project/climada_python first
GNU General Public License v3.0
22 stars 13 forks source link

LS probabilistic event sampling causes memory issues #35

Open Evelyn-M opened 2 years ago

Evelyn-M commented 2 years ago

When running the LS.from_prob() method, this frequently causes the kernel to die. Could be that the implementation of the event sampling function from the probability matrix (https://github.com/CLIMADA-project/climada_petals/blob/1568cfe019342f8be4015db3295f7ceb5aa55a4c/climada_petals/hazard/landslide.py#L40) destroys the sparse matrix, hence massively blowing up memory.

chahank commented 2 years ago

FYI: I am not sure that the pull request #39 solves this issue.

chahank commented 1 year ago

Is there a plan to resolve this issue in the near future?