Home Screen

Home screen template with a navigation bar at the top. If a user is not logged in, they will only see the Home menu and a login button as they are not authenticated nor granted permission.

After Login

Permission to both Hazard and Project.

Permission to Projects

Permission to Analysis

No permission, manual access try

Images above tell the menus that users will have on their navigation bar at the top and these are based on their permission which we(GMHazard team) will allocate. There is currently six permission.

  1. Hazard - It controls the navbar’s visibility and access permission to Hazard Analysis page
  2. Project - It controls the navbar’s visibility and access permission to Project page
  3. Hazard:hazard - It controls the usability of Hazard Analysis - Hazard Curve section
  4. Hazard:disagg - It controls the usability of Hazard Analysis - Disaggregation section
  5. Hazard:uhs - It controls the usability of Hazard Analysis - UHS section
  6. Hazard:gms - It controls the usability of Hazard Analysis - GMS section

Hazard Analysis

Site Selection

DEV version

EA version - No ensemble selector nor default coordinates



The app is with two columns view, the left column is a control area and the right column is a display area. Site Selection is the very first page that users must do to proceed to the next steps(e.g., Seismic Hazard and GMS) as the app needs some information from a user. For instance, users can interact in two ways of getting the location value.

  1. Manual input - Users can manually type Lat and Lng. However, they must be reasonable which means within the range we provide. Lat must be between -47.4 ~ -34.3 and Lng must be between 165 ~ 180 otherwise the app will show a warning message underneath the input field to tell users to put the range of NZ. Users can put as many decimal points as they want.
  2. Click the map - Users can also choose the coordinates by clicking the map that is sitting on the right side of the app. However, unlike the manual input, users will only see up to 4dp from their input field. But we will send actual values from the MapBox(13dp) to our API to get an accurate station value.


After setting the location

Users put Lat&Lng (either manually or MapBox) then click the Set button, they will get three things:

  1. VS30 value
  2. Regional image
  3. VS30 image


VS30 value

Users can choose to use the default value or their customed value. They just need to change the value then click Set VS30 button to update VS30 value.

Images

If they haven’t set the location, they will see these guide messages first to get images. After users set the location, they will also get the images for Regional and VS30.

Regional Image

COMING SOON

VS30 Image

Seismic Hazard

Seismic Hazard section also has two columns. The left section has four different sections:

  1. Hazard Curve
  2. Disaggregation
  3. Uniform Hazard Spectrum
  4. NZS1170.5


Hazard Curve


Users need to choose the Intensity Measure first in order to see plots for Ensemble branches and Fault/distributed seismicity contribution.

After computing the Hazard Curve

Users can also download an image of plots by clicking the most left button(camera shape). By clicking it, it will save the plot that the user is looking at(either Ensemble branches or Fault/distributed seismicity contribution) in .png format.



Disaggregation


Disaggregation section stays disabled until a user chooses the Intensity Measure.




As soon as the user chose the Intensity Measure, Disaggregation section gets enabled with the number input field. User can put the value between 0 and 1 (Exclude 0 and 1). If users put the value outside of this range, the app will give a hint to users and won’t let them click the Compute button as it stays disabled until users put the right value.



After computing the Disaggregation - Station = CCCC, IM = PGA


Epsilon image

Fault/distributed seismicity image

Source contributions table - click Show More... button to load more rows

Uniform Hazard Spectrum


Similar to Disaggregation that it has Annual Exceedance Rate input. However, unlike the Disaggregation, UHS can be performed without selecting the Intensity Measure from the Hazard Curve section.

Users can put any floats between 0 and 1. (exclude 0 and 1)

Also, they can put multiple rates if they want to, by putting the right rate (otherwise, the input box will give a warning message just like Disaggregation) and click the Add button to put in the table below.

When the table has more than on rate, then the Compute button becomes available to compute.


After computing the UHS - RPs - 0.0124, 0.013862943619741008, 0.0345

NZS1170.5

NZS1170.5 now has its section underneath UHS. From the previous tab, Site Selection, when users get the location based on their chosen Lat&Lng, we get a default value for Soil Class and Z Factor.

Soil Class has five options,

  1. A - rock
  2. B - weak rock
  3. C - intermediate soil
  4. D - soft or deep soil
  5. E - very soft


Z Factor is an input field.

User can choose the Soil Class from the dropdown then click the button called Set Soil Class to update the value and change the Z Factor value by typing and again, click the button called Set Z Factor. After the user changes either of them, the Use Default button gets enabled and by clicking it, it will bring the Soil Class or Z Factor values back to what it was. 

 By clicking the Compute button, it will update the NZ Code values for either Hazard Curve or UHS(Even both if they are both computed) which will update their plots.

GMS - TODO


Projects

Site Selection

They are similar to Hazard Analysis’s Site Selection except, instead of asking users to put coordinates manually or choose from the MapBox, we provide a dropdown with some options called Project ID. We currently have the following options:

  1. gnzl
  2. nzgs_pga


After users choose the Project ID, the app gets the list of options for the Location, and with chosen Location, the app would also get available VS30 options.

After click Get button

Assume users chose the following variables,

  • Project ID - nzgs_pga
  • Location - Auckland
  • VS30 - 200

Regional image

VS30 image

Seismic Hazard

It is similar to Hazard Analysis’s Seismic Hazard except that there are no user input fields. Instead, it’s all dropdowns where users can simply choose from the available options.

Hazard Curve

Project’s Hazard Curve is pretty much same to Hazard Analysis’s Hazard Curve, users just need to choose the Intensity Measure from the dropdown and click the Get button.

After click Get button

Let’s assume that a user chose PGA as Intensity Measure to get plots.


Ensemble branches plot

Fault/distributed seismicity contribution plot

Disaggregation

Projects’ Disaggregation section also comes with a dropdown instead of asking users to type the return period or exceedance rate. However, the logic behind is the same, to get images for Disaggregation, users must choose the Intensity Measure first then choose the Return Period then click the Get button.

After click Get button - IM = PGA, RP =25

Epsilon image

Fault/distributed seismicity image

Source contribution table - click Show More… button to load more rows

Uniform Hazard Spectrum

There are two different cases for UHS.

  1. UHS is not available - When there is no pSA in IM list. (In Hazard Curve)
  2. UHS is available - When there is pSA in IM list.


Just like the Disaggregation section, UHS is also supporting a dropdown with some options.

To keep the behaviour of UHS between Hazard  Analysis and Projects, users can choose more than one Return Period for UHS. (Project tab)

After click Get button

Assume that users chose Project ID = gnzl, Location = Auckland, VS30 = 300  and the following Return Periods:

  • 25
  • 72
  • 2475








  • No labels