FreeBSD Ports

science/py-earthpy 1.0.0

Plot and manipulate spatial data in Python

Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
6f2e1206d7
License
BSD3CLAUSE
Categories
science, geography, python
Package size
1312.1 KiB, 2270.1 KiB installed

Description

Python is a generic programming language designed to support many different applications. Because of this, many commonly performed spatial tasks for science including plotting and working with spatial data take many steps of code. EarthPy builds upon the functionality developed for raster data (rasterio) and vector data (geopandas) in Python and simplifies the code needed to:

  • Stack and crop raster bands from data such as Landsat into an easy to use numpy array;
  • Work with masks to set bad pixels such a those covered by clouds and cloud-shadows to NA (mask_pixels());
  • Plot rgb (color), color infrared and other 3 band combination images (plot_rgb());
  • Plot bands of a raster quickly using plot_bands();
  • Plot histograms for a set of raster files;
  • Create discrete (categorical) legends;
  • Calculate vegetation indices such as Normalized Difference Vegetation Index (normalized_diff());
  • Create hillshade from a DEM.

EarthPy also has an io module that allows users to

  • Quickly access pre-created data subsets used in the earth-analytics courses hosted on www.earthdatascience.org;
  • Download other datasets that they may want to use in their workflows.

Install

As a binary package — by origin, or by package name:

pkg install science/py-earthpy
pkg install py312-earthpy

From the ports tree:

cd /usr/ports/science/py-earthpy/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-earthpy>0:science/py-earthpy

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.9.4_71.0.0-0.9.4_41.0.0
FreeBSD:14:quarterly0.9.4_70.9.4_7n/a0.9.4_40.9.4_7
FreeBSD:15:latest1.0.01.0.0n/a0.9.4_40.9.4_4
FreeBSD:15:quarterly0.9.4_70.9.4_7n/an/an/a
FreeBSD:16:latest0.9.4_71.0.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 9

Runtime 8

The full lists below include those, and their dependencies in turn.

All build dependencies 227

The first 100 are listed.

All run dependencies 223

The first 100 are listed.

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

pkg-plist 123
  • %%PYTHON_SITELIBDIR%%/earthpy-1.0.0.dist-info/LICENSE
  • %%PYTHON_SITELIBDIR%%/earthpy-1.0.0.dist-info/METADATA
  • %%PYTHON_SITELIBDIR%%/earthpy-1.0.0.dist-info/RECORD
  • %%PYTHON_SITELIBDIR%%/earthpy-1.0.0.dist-info/WHEEL
  • %%PYTHON_SITELIBDIR%%/earthpy-1.0.0.dist-info/top_level.txt
  • %%PYTHON_SITELIBDIR%%/earthpy/__init__.py
  • %%PYTHON_SITELIBDIR%%/earthpy/__pycache__/__init__.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/__pycache__/__init__.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/__pycache__/clip.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/__pycache__/clip.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/__pycache__/config.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/__pycache__/config.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/__pycache__/io.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/__pycache__/io.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/__pycache__/mask.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/__pycache__/mask.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/__pycache__/plot.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/__pycache__/plot.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/__pycache__/project.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/__pycache__/project.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/__pycache__/spatial.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/__pycache__/spatial.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/api/__init__.py
  • %%PYTHON_SITELIBDIR%%/earthpy/api/__pycache__/__init__.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/api/__pycache__/__init__.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/api/__pycache__/api.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/api/__pycache__/api.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/api/__pycache__/appeears.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/api/__pycache__/appeears.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/api/__pycache__/auth.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/api/__pycache__/auth.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/api/api.py
  • %%PYTHON_SITELIBDIR%%/earthpy/api/appeears.py
  • %%PYTHON_SITELIBDIR%%/earthpy/api/auth.py
  • %%PYTHON_SITELIBDIR%%/earthpy/clip.py
  • %%PYTHON_SITELIBDIR%%/earthpy/config.py
  • %%PYTHON_SITELIBDIR%%/earthpy/example-data/blue.tif
  • %%PYTHON_SITELIBDIR%%/earthpy/example-data/colorado-counties.geojson
  • %%PYTHON_SITELIBDIR%%/earthpy/example-data/colorado-glaciers.geojson
  • %%PYTHON_SITELIBDIR%%/earthpy/example-data/continental-div-trail.geojson
  • %%PYTHON_SITELIBDIR%%/earthpy/example-data/epsg.json
  • %%PYTHON_SITELIBDIR%%/earthpy/example-data/green.tif
  • %%PYTHON_SITELIBDIR%%/earthpy/example-data/red.tif
  • %%PYTHON_SITELIBDIR%%/earthpy/example-data/rmnp-dem.tif
  • %%PYTHON_SITELIBDIR%%/earthpy/example-data/rmnp-rgb.tif
  • %%PYTHON_SITELIBDIR%%/earthpy/example-data/rmnp.dbf
  • %%PYTHON_SITELIBDIR%%/earthpy/example-data/rmnp.prj
  • %%PYTHON_SITELIBDIR%%/earthpy/example-data/rmnp.shp
  • %%PYTHON_SITELIBDIR%%/earthpy/example-data/rmnp.shx
  • %%PYTHON_SITELIBDIR%%/earthpy/io.py
  • %%PYTHON_SITELIBDIR%%/earthpy/mask.py
  • %%PYTHON_SITELIBDIR%%/earthpy/plot.py
  • %%PYTHON_SITELIBDIR%%/earthpy/project.py
  • %%PYTHON_SITELIBDIR%%/earthpy/spatial.py
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__init__.py
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/__init__.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/__init__.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/conftest.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/conftest.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test__stack_bands.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test__stack_bands.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_appeears.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_appeears.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_authenticator.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_authenticator.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_bytescale.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_bytescale.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_clip.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_clip.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_crop_all.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_crop_all.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_crop_image.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_crop_image.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_epsg.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_epsg.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_extent_to_json.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_extent_to_json.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_hillshade.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_hillshade.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_hist.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_hist.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_io.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_io.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_mask.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_mask.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_norm_diff.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_norm_diff.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_plot.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_plot.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_plot_bands.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_plot_bands.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_plot_draw_legend.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_plot_draw_legend.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_plot_rgb.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_plot_rgb.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_project.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_project.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_stack.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_stack.pyc
  • %%PYTHON_SITELIBDIR%%/earthpy/tests/__pycache__/test_stack_raster_tifs.opt-1.pyc

The first 100 are listed.

distinfo 1
FileSizeSHA256
earthpy-1.0.0.tar.gz1.397792e+063d068ebe003af3a7604c2ec729a440801aac89aca7f2e80297318e7dd3fe2b8c
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
6f2e1206d7 Thierry Thomas science/py-earthpy: upgrade to v1.0.0 (AppEEARS API)
Release notes at https://github.com/earthlab/earthpy/releases/tag/v1.0.0