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.
This library provides a collection of high-level tools to better work with the BigEarthNet dataset.
bigearthnet_common
tries to:
- 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.
- 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
orpython -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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file bigearthnet_common-2.0.0.tar.gz
.
File metadata
- Download URL: bigearthnet_common-2.0.0.tar.gz
- Upload date:
- Size: 5.1 MB
- 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20c07bca764b9ea83cf1addd99ae4df0a5ad52f2c992614cf521dc146ec3fca3 |
|
MD5 | 6cc7060ffc1a5801789afde2d9d75ffa |
|
BLAKE2b-256 | 023ce83819688aee85b32220aa8b9dd642f4d4ae19e9ffd91d1edad515488cb0 |
File details
Details for the file bigearthnet_common-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: bigearthnet_common-2.0.0-py3-none-any.whl
- Upload date:
- Size: 5.1 MB
- 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c6fc25032c2c8d27da959d90405b1d92c82f9ff43017d5ac3909e42beb97e69 |
|
MD5 | 8b0375cbbb1fc86c485d4db193f45f92 |
|
BLAKE2b-256 | b9b60e8a73c37db26a235bba6a8b26dde366454df203798cddaf8eb860e1bf21 |