obspy.core.util.geodetics.flinnengdahl.FlinnEngdahl

class FlinnEngdahl[source]

Bases: future.types.newobject.newobject

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__ unicode(string [, encoding[, errors]]) -> object
__module__ str(object) -> string
__weakref__ list of weak references to the object (if defined)
data_directory unicode(string [, encoding[, errors]]) -> object
names_file unicode(string [, encoding[, errors]]) -> object
numbers_file unicode(string [, encoding[, errors]]) -> object
quads_order tuple() -> empty tuple
quadsindex_file unicode(string [, encoding[, errors]]) -> object
sect_files tuple() -> empty tuple

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
next

Special Methods

__init__
__long__
__native__ Hook for the future.utils.native() function
__nonzero__
__unicode__