Port details |
- py-earthpy Plot and manipulate spatial data in Python
- 0.9.4_3 science =2 0.9.4_2Version of this port present on the latest quarterly branch.
- Maintainer: thierry@FreeBSD.org
- Port Added: 2022-11-04 12:00:10
- Last Update: 2024-08-28 06:54:30
- Commit Hash: 1708999
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: geography python
- License: BSD3CLAUSE
- WWW:
- https://github.com/earthlab/earthpy
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}earthpy>0:science/py-earthpy@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/science/py-earthpy/ && make install clean
- To add the package, run one of these commands:
- pkg install science/py-earthpy
- pkg install py311-earthpy
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-earthpy listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-earthpy
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1667554646
SHA256 (earthpy-0.9.4.tar.gz) = 16ec2831ec87ace9d70473ef23840b6bf3cd239e178b9ddb5767da86e5a34c1b
SIZE (earthpy-0.9.4.tar.gz) = 1366501
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-numpy>=1.16,1<1.27,1 : math/py-numpy@py311
- py311-requests>=0 : www/py-requests@py311
- py311-rasterio>=0 : graphics/py-rasterio@py311
- py311-matplotlib>=0 : math/py-matplotlib@py311
- py311-geopandas>=0 : graphics/py-geopandas@py311
- py311-scikit-image>=0 : graphics/py-scikit-image@py311
- py311-setuptools>=63.1.0 : devel/py-setuptools@py311
- python3.11 : lang/python311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-numpy>=1.16,1<1.27,1 : math/py-numpy@py311
- py311-requests>=0 : www/py-requests@py311
- py311-rasterio>=0 : graphics/py-rasterio@py311
- py311-matplotlib>=0 : math/py-matplotlib@py311
- py311-geopandas>=0 : graphics/py-geopandas@py311
- py311-scikit-image>=0 : graphics/py-scikit-image@py311
- py311-setuptools>=63.1.0 : devel/py-setuptools@py311
- python3.11 : lang/python311
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- science_py-earthpy
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.9.4_3 28 Aug 2024 06:54:30 |
Loïc Bartoletti (lbartoletti) |
graphics/py-geopandas: Update to 0.14.4 |
0.9.4_2 27 Jun 2023 19:34:34 |
Rene Ladan (rene) |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
0.9.4_2 25 Apr 2023 15:17:15 |
Christian Weisgerber (naddy) |
audio/opus: bump consumers after update to 1.4 |
0.9.4_1 23 Apr 2023 09:09:58 |
Gerald Pfeifer (gerald) |
*: Bump PORTREVISIONs for math/mpc update to 1.3.1 |
0.9.4 11 Jan 2023 15:58:34 |
Dmitry Marakasov (amdmi3) |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
0.9.4 04 Nov 2022 11:59:05 |
Thierry Thomas (thierry) |
science/py-earthpy: adding a tool to plot and manipulate spatial data in Python |