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.0.tar.gz (4.4 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.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: drought_indices_python-0.1.0.tar.gz
  • Upload date:
  • Size: 4.4 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.0.tar.gz
Algorithm Hash digest
SHA256 fe2a7e88f964e85587c1f4db8309d722e138ab0eac35d0d061fa93dd19de805c
MD5 eb1b2eada7ec6f6bfd40a4e1c6c57ea9
BLAKE2b-256 63e6a58e16c7a1732e9885c698cdd59ac97fca18a1eb71bceda3a41397b739a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for drought_indices_python-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5ee156c5ba0a17a1196b1a58898fbc817927e27fe3939f7d6c15527bdabf2595
MD5 95c8c203868ef220ef8b6301a08022bf
BLAKE2b-256 71ebbd40f90602bb88f6d0ebb142c74e2da7f8b7131100cf98da774c7db2008b

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