See if it is possible to simplify the Site/SiteCollection/FilteredSiteCollection classes in hazardlib

Bug #1435399 reported by Michele Simionato
6
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).

Revision history for this message
Michele Simionato (michele-simionato) wrote :

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.