Skip to main content

A python package to assist working with GEDI data.

Project description

GEDI Tools Library

This library is currently experimental and is under heavy development.

Overview

GEDI Tools is a Python library designed to facilitate the transformation and processing of GEDI (Global Ecosystem Dynamics Investigation) data. It is especially geared towards converting GEDI data in HDF5 format to L2B objects for easier manipulation and analysis.

Features

  • Single File Transformation: Convert a single HDF5 file to L2B format with ease.
  • Batch File Transformation: Efficiently convert a list of HDF5 files to L2B format.
  • Data Clipping: Optionally clip data using a GeoDataFrame.

Installation

To install the GEDI Tools library, run:

pip install gedi-tools

Usage

Single File Transformation

Here's a simple example to transform a single HDF5 file to L2B format:

from gedi_tools import GediTransformer

l2b_single = GediTransformer.hd5_to_l2b("path/to/hd5_file.hd5")

Multiple File Transformation with Clipping

Transform multiple HDF5 files and clip data using a GeoDataFrame:

from gedi_tools import GediTransformer

clip_gdf = ...  # Your GeoDataFrame for clipping
l2b_multiple = GediTransformer.hd5_list_to_l2b(["path1.hd5", "path2.hd5"], clip_gdf=clip_gdf)

Documentation

For more details, please refer to the Full Documentation.

Contributing

We welcome contributions! Please see the Contributing Guidelines.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

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

gedi_tools-0.0.3.tar.gz (15.5 kB view hashes)

Uploaded Source

Built Distribution

gedi_tools-0.0.3-py3-none-any.whl (15.7 kB view hashes)

Uploaded Python 3

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