GNS-Science / nzshm-opensha

renamed successor to old nshm-nz-opensha , all python history removed to new nzshm-runzi repo
MIT License
0 stars 2 forks source link

nzshm-opensha

NZ NSHM Programme opensha applications (patterned on the UCERF3 part of https://github.com/opensha/opensha)

Priorities:

Getting started

Pre-requirements: git and jdk11

git clone https://github.com/GNS-Science/opensha.git &&\
git clone https://github.com/GNS-Science/nzshm-opensha.git

You might need to check out the correct branch for the opensha project. The branch name will be in gradle.yml in the nzshm-opensha project as the ref of the Clone opensha step. As of writing, this is fix/rup-normalization-2024.

cd opensha
git checkout fix/rup-normalization

Now you can jump into this project

 cd nzshm-opensha

and build ....

 .\gradlew build

or test just this code

 .\gradlew localTests --info

Test reports are found at ./build/reports/tests/localTests/index.html

or test everything (slow....)

 .\gradlew test

Run or Reproduce NZSHM22 Results

See doc/how-to-run.md

Releases on github

Github can build release fatjars and push them to S3.