gem / oq-engine

OpenQuake Engine: a software for Seismic Hazard and Risk Analysis
https://github.com/gem/oq-engine/#openquake-engine
GNU Affero General Public License v3.0
380 stars 273 forks source link

Add debug commands `oq compare assetcol` and `oq compare sitecol` #9731

Closed ptormene closed 4 months ago

ptormene commented 4 months ago

The command checks if the asset ids are equal (for aristotle, after stripping the mosaic code prefix) also checking if the ids become equal after sorting them. Then it checks if the assetcol arrays have the same columns, also doing the same check after sorting them.

The oq compare sitecol command works similarly.