GEMScienceTools / oq-mbtk

OpenQuake Model Building Toolkit, a suite of tools for building components and analysing models for PSHA.
https://gemsciencetools.github.io/oq-mbtk/index.html
GNU Affero General Public License v3.0
14 stars 8 forks source link

Nodal plane updates #372

Closed kirstybayliss closed 10 months ago

kirstybayliss commented 10 months ago

Updates nodal plane function to handle dataframes which are missing some information or have some improper formatting (white spaces in particular are a problem!). This adds some flexibility to the analysis_nodal_plane function in the wkf to work with dataframes that are not the direct output of create_gcmt_subcatalogues_per_zone, which currently only works with .ndk files.

Also added option to output a csv with fm classifications.