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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file digitalearth-0.1.11.tar.gz.

File metadata

  • Download URL: digitalearth-0.1.11.tar.gz
  • Upload date:
  • Size: 21.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for digitalearth-0.1.11.tar.gz
Algorithm Hash digest
SHA256 ded8006befcb0acb7b4b03742fef88fd59983ba62e99eb9b46a11c8b35a68bf2
MD5 0c4969dc95fd350de3a1d76b3f3d08c3
BLAKE2b-256 45af310f625dddbc6b1902af380b6bd4b015d688c7b3198dba850fb5207598b7

See more details on using hashes here.

File details

Details for the file digitalearth-0.1.11-py3-none-any.whl.

File metadata

File hashes

Hashes for digitalearth-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 f7fee82a13fc60edff20cee1f009d6c9c0a33575bdbdf2f1e7cf3d3d9ab478b6
MD5 ec78769275ba8434a6d800f4f0dcd59d
BLAKE2b-256 a39155a6820d8643fef0f97ee4cc4f2ab6d08c615defbf687d0cec64aac3bb9e

See more details on using hashes here.

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