Skip to main content

EarthNet Minicuber

Project description

earthnet-minicuber

A Python library for creating EarthNet-style minicubes.

This library currently creates minicubes over Africa as they will be used in DeepCube Horizon 2020 project Use Case 1. It is developed by the EarthNet Team.

It is currently under development, thus do expect bugs and please report them!

Installation

Prerequisites (We use an Anaconda environment):

conda create -n minicuber python=3.10 gdal cartopy -c conda-forge
conda deactivate
conda activate minicuber
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
pip install scipy matplotlib seaborn netCDF4 xarray zarr dask shapely pillow pandas s3fs fsspec boto3 psycopg2 pystac-client stackstac planetary-computer rasterio[s3] rioxarray odc-algo segmentation-models-pytorch folium ipykernel ipywidgets

Install this package with PyPI:

pip install earthnet-minicuber

or install this package in developing mode with

git clone https://github.com/earthnet2021/earthnet-minicuber.git
cd earthnet-minicuber
pip install -e .

or directly with

pip install git+https://github.com/earthnet2021/earthnet-minicuber.git

Tutorial

See notebooks/example.ipynb for an usage example.

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

earthnet-minicuber-0.1.0.tar.gz (26.5 kB view details)

Uploaded Source

Built Distribution

earthnet_minicuber-0.1.0-py3-none-any.whl (38.4 kB view details)

Uploaded Python 3

File details

Details for the file earthnet-minicuber-0.1.0.tar.gz.

File metadata

  • Download URL: earthnet-minicuber-0.1.0.tar.gz
  • Upload date:
  • Size: 26.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for earthnet-minicuber-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7823ceedc9e1cb21eb1da70a2d805a48cd66cf25ae5adb674da4998547d7a833
MD5 5de93c0db6f75966c0180f8dca03aa1a
BLAKE2b-256 9761cd87f0b1443d2999e6fbfada4565cdafe0f2768995bae002f2ecdfe78d74

See more details on using hashes here.

File details

Details for the file earthnet_minicuber-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for earthnet_minicuber-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 759aa43e512d2bb4a213c0c9a27f64af56409e79f994d2efd22a1dfbb5d481bb
MD5 025ec60ffe495eaa836ea05de84a6ee2
BLAKE2b-256 e2bd873389f4b0b2e5782686a975ad1572d42b723ad032be7a7fbb7266407751

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