earthpy

earthpy.data

Example datasets for EarthPy

The earthpy.data object allows quick access to a variety of datasets, via the earthpy.io.Data class and the earthpy.io.Data.get_data() method.

earthpy.epsg

A dictionary of EPSG code to Proj4 string mappings.

Proj4 string values can be received via epsg[‘epsg-code-here’].

Returns

epsg – Mappings of EPSG integer string keys to Proj4 strings values.

Return type

dictionary

Example

>>> import earthpy as et
>>> # Get Proj4 string for EPSG code 4326
>>> et.epsg['4326']
'+proj=longlat +datum=WGS84 +no_defs'