Skip to main content

xarray backend for EnMAP data archives

Project description

xarray-enmap

An xarray backend to read the data archives provided by the EOWEB data portal of the EnMAP mission.

Installation

With mamba or conda

mamba install xarray-enmap

or

conda install xarray-enmap

With pip

pip install xarray-enmap

Development install from the git repository

Clone the repository and set the current working directory:

git clone https://github.com/bcdev/xarray-enmap.git
cd xarray-enmap

Install the dependencies with mamba or conda:

mamba env create
mamba activate xarray-enmap

Install xarray-enmap itself:

pip install --no-deps editable .

Usage

import xarray as xr

enmap_dataset = xr.open_dataset(
    "/path/to/enmap/data/filename.tar.gz",
    engine="enmap"
)

The supplied path can reference:

  • a .tar.gz archive as provided by the EnMAP portal, containing one or more EnMAP products in .ZIP sub-archives, or
  • a .ZIP archive containing a single product, as found within an EnMAP .tar.gz archive, or
  • a directory contained the unpacked contents of either of the aforementioned archive types.

At present, if the archive or directory contains multiple EnMAP products, xarray-enmap will open only the first.

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

xarray_enmap-0.0.1.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xarray_enmap-0.0.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file xarray_enmap-0.0.1.tar.gz.

File metadata

  • Download URL: xarray_enmap-0.0.1.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for xarray_enmap-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c20a027ecff28b356ce5a5f11282c501cc35763f337ddd37ffcc3443dee6ed1c
MD5 868fd9002d0243e91c17544d045b7604
BLAKE2b-256 87b1661cd181a7310345bb48e52d89cc5e2817bd60662805c93e09d223645e18

See more details on using hashes here.

File details

Details for the file xarray_enmap-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: xarray_enmap-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for xarray_enmap-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5948b46d2568843948d64f1510cb9e3af63e309bc936d533d61ab71fa83860dc
MD5 f7e592e5ff442966a0dc7976f4f0e911
BLAKE2b-256 105ac12e87db1284faac86abc9c2a83bf0040f8a3157d6c0b7bda6c1290d5542

See more details on using hashes here.

Supported by

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