USHCN Temperature Data Analysis Tool¶
A Python library for comprehensive analysis of temperature data from the United States Historical Climatology Network (USHCN).
Overview¶
This tool provides a flexible framework for loading, processing, and analyzing USHCN temperature datasets. Whether you're investigating climate trends, urban heat island effects, or data quality issues, this library offers the algorithms and visualizations you need. TEST
Key Features¶
π Data Management
- Load raw, TOBs-adjusted, and fully adjusted USHCN datasets
- Efficient Parquet format for fast data access
- Built-in data validation and quality checks
π¬ Analysis Algorithms
- Temperature anomaly calculations
- Urban heat island intensity quantification
- Adjustment impact assessment
- Trend analysis across multiple time scales
πΊοΈ Visualizations
- Spatial temperature maps with confidence intervals
- Station classification visualizations
- Time series comparisons
- Publication-quality figures
ποΈ Extensible Architecture
- Plugin system for custom algorithms
- Configurable analysis pipelines
- Multiple output formats (JSON, CSV, PNG)
Quick Start¶
Installation¶
# Clone the repository
git clone https://github.com/rjl-climate/ushcn-heatisland.git
cd ushcn-heatisland
# Install the package
pip install -e .
Basic Usage¶
# List available algorithms
ushcn-heatisland list-algos
# Run a temperature anomaly analysis
ushcn-heatisland analyze simple --temp-metric min
# Generate urban heat island analysis
ushcn-heatisland analyze simple --urban-analysis --heat-island-report
Citation¶
If you use this tool in your research, please cite:
@software{lyon2025ushcn,
author = {Lyon, Richard},
title = {USHCN Temperature Data Analysis Tool},
year = {2025},
publisher = {GitHub},
url = {https://github.com/rjl-climate/ushcn-heatisland},
version = {1.0.0}
}
Contributing¶
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Run tests (
pytest tests/
) - Commit changes (
git commit -m 'Add amazing feature'
) - Push to branch (
git push origin feature/amazing-feature
) - Open a Pull Request
Support¶
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Email: richlyon@fastmail.com
License¶
This project is licensed under the MIT License. See the LICENSE file for details.