Skip to main content

A collection of common tools to interact with the BigEarthNet dataset.

Project description

Common BigEarthNet Tools

A personal collection of common tools to interact with the BigEarthNet dataset.

Tests License PyPI version Conda Version Auto Release

This library provides a collection of high-level tools to better work with the BigEarthNet dataset.

bigearthnet_common tries to:

  1. Collect the most relevant constants into a single place to reduce the time spent looking for these, like:
    • The 19 or 43 class nomenclature strings
    • URL
    • Band statistics (mean/variance) as integer and float
    • Channel names
    • etc.
  2. Provide common metadata related functions
    • Safe JSON parser for S1/S2
    • Get the original split
    • Get a list of snowy/cloudy patches
    • Convert the old labels to thew new label nomenclature
    • Generate multi-hot encoded label views

Installation

The package is available via PyPI and can be installed with:

  • pip install bigearthnet_common

The package has Python-only dependencies and should cause no issues in more complex Conda environments with various binaries.

Review constants

To quickly search for BigEarthNet constants of interest, call:

  • ben_constants_prompt or
  • python -m bigearthnet_common.constants

Contributing

Contributions are always welcome!

Please look at the corresponding ipynb notebook from the nbs folder to review the source code. These notebooks include extensive documentation, visualizations, and tests. The automatically generated Python files are available in the bigearthnet_common module.

More information is available in the contributing guidelines document.

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

bigearthnet_common-1.0.1.tar.gz (24.3 kB view details)

Uploaded Source

Built Distribution

bigearthnet_common-1.0.1-py3-none-any.whl (28.6 kB view details)

Uploaded Python 3

File details

Details for the file bigearthnet_common-1.0.1.tar.gz.

File metadata

  • Download URL: bigearthnet_common-1.0.1.tar.gz
  • Upload date:
  • Size: 24.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.7.12 Linux/5.11.0-1022-azure

File hashes

Hashes for bigearthnet_common-1.0.1.tar.gz
Algorithm Hash digest
SHA256 6dd9db414a121cb8b7e8892c799440ded4fe937644436c506444f33813c4205b
MD5 190d4f80364a1db4cc7ff0f907c8d862
BLAKE2b-256 6ff58007ad2ee7c41510b9dfc08cc17b0dda4a82046d19c330c938c422282eea

See more details on using hashes here.

File details

Details for the file bigearthnet_common-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: bigearthnet_common-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 28.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.7.12 Linux/5.11.0-1022-azure

File hashes

Hashes for bigearthnet_common-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aa67207ee8e239160207546fdb7e9f985cfb04b4033ee503ee0290d1c6d4a5a6
MD5 94a80d3acd8e3dcd2b38b23db2bce10b
BLAKE2b-256 0cc0a9458e54f8a0eb923ebf0d3f39473207f585e7983205fd7a320b234bd36d

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