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.2.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.2-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: drought_indices_python-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 763cd4e3ee54f587dffb8d5ef503385c9381b3ac710f5e0cab7e9301d8f8df8a
MD5 23c02ad93e6f073dbd55ec0c7eb2564c
BLAKE2b-256 7b8e0ccd52e9c8332a6e160e555a4684d8d5030ded00caf1b892f45b2ce61f16

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for drought_indices_python-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 de1b1eb7f128e68e9bd0c8372f39e2676dc10eabb9f5ec34e2cbf0d68d5101e4
MD5 066d140a2f0bab9edebee1275e2007a3
BLAKE2b-256 3323d0d47d04d090205469bd0fc82585b79f43390932076d19a4ec4c6385f0b0

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