Skip to main content

A Python package for calculating and analyzing drought indices.

Project description

DROUGHT_INDICES_PYTHON/README.md

This file provides a description of your package, installation, and usage.

It will be displayed on your PyPI project page.

"""

drought_indices_python

A Python package designed for calculating and analyzing various drought indices, and handling related meteorological data. This project is currently in its early development phase, providing a skeleton for future implementation.

Features (Planned)

  • Drought Index Calculation:
    • Potential Evapototranspiration (PET)
    • Standardized Precipitation Index (SPI)
    • Palmer Drought Severity Index (PDSI)
    • And more!
  • Data Utilities:
    • Loading and preprocessing meteorological data.
    • Saving results.

Installation (Once deployed to PyPI)

You will be able to install drought_indices_python using pip:

pip install drought_indices_python

For development purposes, you can install it locally in editable mode:

cd /path/to/your/DROUGHT_INDICES_PYTHON/project # Navigate to the outer DROUGHT_INDICES_PYTHON folder
pip install -e .

Usage (Planned)

Once the functions are implemented, you'll be able to use drought_indices_python like this:

from drought_indices_python import calculate_pet, calculate_spi, load_data

# Example: Load some data (placeholder)
# data = load_data('path/to/your/data.csv')

# Example: Calculate PET (placeholder)
# pet_values = calculate_pet(temperature=data['temp'], latitude=30.0, month=7)

# Example: Calculate SPI (placeholder)
# spi_values = calculate_spi(precipitation_data=data['precip'], scale=6)

# print("PET values:", pet_values)
# print("SPI values:", spi_values)

Contributing

We welcome contributions to drought_indices_python! If you'd like to help fill in the functions or add new features, please fork the repository, make your changes, and submit a pull request.

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

drought_indices_python-0.1.1.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

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

drought_indices_python-0.1.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file drought_indices_python-0.1.1.tar.gz.

File metadata

  • Download URL: drought_indices_python-0.1.1.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for drought_indices_python-0.1.1.tar.gz
Algorithm Hash digest
SHA256 afad4c58466d84d2c53701335cf1694267e15744371cbfd75d4b4a7c3637ad16
MD5 5afc98e8d7d05a8de59cc8b47249f7e7
BLAKE2b-256 e1d60aaf3c56bfba304b3a56226702a70b0c1e049c80059806dcafd7e89f7340

See more details on using hashes here.

File details

Details for the file drought_indices_python-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for drought_indices_python-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6a614e9c6c730f4826ea436291c6857d25fc0b92b2b96920bda64afa420e8a2d
MD5 791d2f62a6beb22224bd85c80fc1b9a3
BLAKE2b-256 5e0d55a72817af66ef0435eff9cf5f8bb7e9627889bdef104ff191c477ebd565

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