See if it is possible to simplify the Site/SiteCollection/FilteredSiteCollection classes in hazardlib
Bug #1435399 reported by
Michele Simionato
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake Hazard Library |
New
|
Undecided
|
Unassigned |
Bug Description
They are currently rather complex and a trivial task like adding a new site parameter is currently nontrivial.
We have to check if the simplification can be performed without losing the memory optimizations (or if the memory optimizations are important indeed).
To post a comment you must log in.
Probably we can replace the site collection with a single numpy array or with two arrays (mesh + sitemodel) or a simple structure over numpy arrays.