Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small updates to wkf tools #403

Merged
merged 36 commits into from
Jun 13, 2024
Merged

Small updates to wkf tools #403

merged 36 commits into from
Jun 13, 2024

Conversation

kirstybayliss
Copy link
Contributor

@kirstybayliss kirstybayliss commented Mar 14, 2024

This PR implements the following small updates to the wkf:

  • adds a tool to check a toml file contains all necessary details, make a working copy, and set zones to use from a list
  • updates set_defaults so that defaults can be added only for a list of specified zones
  • set_gr_params now checks lists properly
  • adding new plotting options for focal mechanism data (this should maybe be in a different location?)
  • create_subcatalogues takes a given list of sources and passes on all catalogue info
  • analysis_nodal_plane now passes on the option to save an output csv with a classification column
  • added the option to only pass selected zones (by id) to wkf functions
  • mfd check now works with multimfd of truncGutenbergRichterMFD type
  • updates h3_polyfill to use 'geojson_compliant' parameter, meaning we don't need to switch the lat/lon columns
  • updates the ghm file to get new ocean island site locations
  • adds code for sanity-checking source xmls (combined from various notebooks)

@kirstybayliss kirstybayliss changed the title [WIP] Small updates to wkf tools Small updates to wkf tools Apr 2, 2024
@kirstybayliss kirstybayliss requested a review from kejohnso April 8, 2024 07:04
openquake/wkf/mfd.py Outdated Show resolved Hide resolved
openquake/mbi/wkf/set_defaults.py Outdated Show resolved Hide resolved
openquake/mbi/wkf/set_h3_to_zones.py Show resolved Hide resolved
openquake/wkf/seismicity/smoothing.py Outdated Show resolved Hide resolved
openquake/ghm/mosaic.py Outdated Show resolved Hide resolved
@kejohnso kejohnso merged commit 18182f6 into master Jun 13, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants