obspy.geodetics.flinnengdahl.FlinnEngdahl

class FlinnEngdahl[source]

Bases: object

Load data from asc files and allow to resolve coordinates or region numbers to Flinn Engdahl region names.

>>> fe = FlinnEngdahl()
>>> print(fe.get_region(12, 48))
GERMANY
>>> print(fe.get_region_by_number(543))
GERMANY

Attributes

__dict__

__doc__

__module__

__weakref__

list of weak references to the object (if defined)

data_directory

names_file

numbers_file

quads_order

quadsindex_file

sect_files

Public Methods

get_quadrant

Return quadrant from given coordinate

get_region

Return region from given coordinate

get_region_by_number

Return region with given number

Special Methods

__dir__

Default dir() implementation.

__format__

Default object formatter.

__init__

Initialize self.

__init_subclass__

This method is called when a class is subclassed.

__new__

Create and return a new object.

__reduce__

Helper for pickle.

__reduce_ex__

Helper for pickle.

__sizeof__

Size of object in memory, in bytes.

__subclasshook__

Abstract classes can override this to customize issubclass().