Skip to main content

visualization package

Project description

Python Versions License: GPL v3 pre-commit Language grade: Python Documentation Status

codecov GitHub last commit GitHub forks GitHub Repo stars

Current release info

Name Downloads Version Platforms
Conda Recipe Conda Downloads Downloads Downloads Downloads PyPI - Downloads GitHub all releases GitHub release (latest by date) Conda Version PyPI version Anaconda-Server Badge Conda Platforms Join the chat at https://gitter.im/Hapi-Nile/Hapi

digitalearth - Remote Sensing package

digitalearth is a Remote Sensing package

digitalearth

Main Features

  • plot static maps

Future work

  • dynamic/interactive maps

Installing digitalearth

Installing digitalearth from the conda-forge channel can be achieved by:

conda install -c conda-forge digitalearth

It is possible to list all of the versions of digitalearth available on your platform with:

conda search digitalearth --channel conda-forge

Install from Github

to install the last development to time you can install the library from github

pip install git+https://github.com/MAfarrag/digitalearth

pip

to install the last release you can easly use pip

pip install digitalearth==0.1.11

Quick start

from digitalearth.map import Map
src = gdal.Open("examples/data/acc4000.tif")
fig, ax = Map.plot(src, title="Flow Accumulation", cbar_label="Flow Accumulation")  

Flowaccumulation

points = pd.read_csv("examples/data/points.csv")
point_color = "blue"
point_size = 100
id_color = "yellow"
id_size = 20

display_cellvalue = True
num_size = 8
background_color_threshold = None
ticks_spacing = 500

fig, ax = Map.plot(
            src,
            point_color=point_color,
            point_size=point_size,
            pid_color=id_color,
            pid_size=id_size,
            points=points,
            display_cellvalue=display_cellvalue,
            num_size=num_size,
            background_color_threshold=background_color_threshold,
            ticks_spacing=ticks_spacing,
            title="Flow Accumulation",
            cbar_label="Flow Accumulation"
        )

Flowaccumulation other code samples

======= History

0.1.0 (2022-05-24)

  • First release on PyPI.

0.1.8 (2022-12-19)

  • Use environment.yaml and requirements.txt instead of pyproject.toml and replace poetry env byconda env

0.1.9 (2022-12-19)

  • lock numpy to version 1.23.5

0.1.10 (2022-12-27)

  • fix pypi package names in the requirements.txt
  • fix python version number

0.1.11 (2023-01-31)

  • bump up cleopatra version
  • bump up pyramids version
  • add github action for creating a release from tags

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

digitalearth-0.1.11.tar.gz (21.5 kB view hashes)

Uploaded Source

Built Distribution

digitalearth-0.1.11-py3-none-any.whl (22.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page