You are on page 1of 12

EarthPy: An Overview

Manjusha Nair
EarthPy
• Python Package for spatial data
• Used by Earth Scientists
Features
• IO: Input/output for data: The IO module supports downloading data for the Earth Lab Earth
Analytics courses as well as any user with a URL to a compressed file.
• Mask out cloud and shadow covered pixels from raster data
• Visualizing spatial data : plotting bands, composite images, histograms
• Crop a set of bands to a defined spatial extent
• Create hill shade, stack bands, and calculate normalized difference rasters.
• Clip points, lines, and polygon data within a specified polygon to a defined area
Remote Sensing Data
Plotting bands with plot_bands()
Plotting bands with plot_bands()

Fire scars reflect strongly in Landsat’s band 7, which acquires data in the shortwave infrared range. Its
impossible to miss in the right-hand image below as a reddish mark, whereas in the standard RGB image on
the left, the fire scar is not even recognizable. Credit: NASA.
Plotting RGB composite with plot_rgb()
Calculate Vegetation
Indices
Calculate Vegetation Indices
Astropy
• Astropy is a collection of software packages written in the Python programming
language and designed for use in astronomy.
• The astropy package (alternatively known as the "core" package) contains various
classes, utilities, and a packaging framework intended to provide commonly-used
astronomy tools.
• Features include functions like:
• Cosmological Calculations (astropy.cosmology)
• Convolution and Filtering (astropy.convolution)
• Data Visualization (astropy.visualization)
• Astrostatistics Tools (astropy.stats)

• https://www.astropy.org/
References
• EarthPy: A Python Package for Earth Data — EarthPy 0.9.4 documentation
• https://www.earthdatascience.org/courses/use-data-open-source-python/multispectral-remote-
sensing/landsat-in-Python/remove-clouds-from-landsat-data/
• https://www.earthdatascience.org/
• Exploratory Data Analysis (EDA) on Satellite Imagery Using EarthPy | by Syam Kakarla | Towards
Data Science
• https://earthdata.nasa.gov/learn/backgrounders/remote-sensing#data-processing-interpretation-
and-analysis
Thank you.

You might also like