0.1.0 |
|
---|
#8 in #seismic
125KB
7.5K
SLoC
flinn_engdahl
Flinn-Engdahl Seismic And Geographic Regionalization - Rust Implementation
Converts a (latitude, longitude) location into a named region of the world
Usage
Add this to your Cargo.toml
:
[dependencies]
flinn_engdahl = "0.1.0"
Example
use flinn_engdahl as fe;
let name = fe::region(-77.845753, 166.675927).unwrap();
assert_eq!(name, "VICTORIA LAND, ANTARCTICA");
License
The BSD 2-Clause License. The original regionalization contained no license and was published in peer-reviewed journals.
lib.rs
:
Implementation of the Flinn-Engdahl seismic and geographical regionalization scheme.
Converts a location (latitude, longitude) into a named region of the world
use flinn_engdahl as fe;
let name = fe::region(-42.448299, 171.214005).unwrap();
assert_eq!(name, "SOUTH ISLAND, NEW ZEALAND");
References
- [Young, J.B., Presgrave, B.W., Aichele, H., Wiens, D.A. and Flinn, E.A., 1996, The Flinn-Engdahl Regionalisation Scheme: the 1995 revision, Physics of the Earth and Planetary Interiors, v. 96, p. 223-297.](https://www.sciencedirect.com/science/article/pii/003192019603141X)
- [Flinn, E.A., Engdahl, E.R. and Hill, A.R., 1974, Seismic and geographical regionalization, Bulletin of the Seismological Society of America, vol. 64, p. 771-993.](https://pubs.geoscienceworld.org/ssa/bssa/article/64/3-2/771/117264/seismic-and-geographical-regionalization)
- [Flinn, E.A., and Engdahl, E.R., 1965, A proposed basis for geographical and seismic regionalization, Reviews of Geophysics, vol. 3, p. 123-149.](https://doi.org/10.1029/RG003i001p00123)
Further Information
https://en.wikipedia.org/wiki/Flinn%E2%80%93Engdahl_regions