mmi

package
v0.0.0-...-f2c17e5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package mmi is for Modificed Mercalli Intensity calculations in New Zealand.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IntensityMMI

func IntensityMMI(Intensity string) float64

IntensityMMI returns the minimum MMI for the intensity.

func MMI

func MMI(depth, magnitude float64) float64

MMI calculates the maximum Modificed Mercalli Intensity for the quake. depth is in km.

func MMIDistance

func MMIDistance(depth, magnitude, distance float64) float64

MMIDistance calculates the MMI at distance for New Zealand. Distance and depth are in km.

func MMIIntensity

func MMIIntensity(mmi float64) string

MMIIntensity returns the string describing mmi.

func Severity

func Severity(mmi float64) string

Severity returns the CAP severity for mmi.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL