Skip to main content

A package for hurricane analysis using SST data.

Project description

Introduction

This Python extension provides tools to analyze the impact of sea surface temperatures on hurricane intensity using Accumulated Cyclone Energy (ACE) as a metric. It includes optimization algorithms to improve prediction accuracy by tuning parameters such as the number of Principal Components (PCs), lag months, and analog years.

The extension is designed for researchers, students, and weather enthusiasts interested in understanding the relationship between climate factors and hurricane development.

Features

  • Reads in ACE and Explained Variance Ratio values
  • Creates a vector for each year of their PCs and corresponding lag months

Requirements/Installation

Download sst.mon.mean.nc from NOAA: https://downloads.psl.noaa.gov/Datasets/noaa.oisst.v2.highres/

Usage

from hurricane_analysis.pca_calculator import load_sst_data, extract_sst_for_region, process_monthly_sst_data, calculate_pcs_and_evr
from hurricane_analysis import calculate_start_date, optimize_pc_analog_and_lag_configuration, read_ace_data

import pandas as pd

Functions:

calculate_pcs_and_evr(file_path, lat_min, lat_max, lon_min, lon_max)

  • Parameters define the region you want to analyze and calculates PCs and EVR values for it.
  • Outputs SST and EVR directory with csv files necessary for analysis

read_ace_data(ace_file_path)

  • Returns a pandas DataFrame that contains ace data from a given CSV

optimize_pc_analog_and_lag_configuration(data_directory, evr_directory, ace_data, target_year, target_month)

  • Parameters define which data you want to use and which month and year you want to analyze
  • Returns best_num_pcs, best_num_analogs, best_lag_months, highest_skil, best_ace_fcst, best_top_analogs

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

climate_hurricane_analysis-0.1.2.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

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

climate_hurricane_analysis-0.1.2-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for climate_hurricane_analysis-0.1.2.tar.gz
Algorithm Hash digest
SHA256 44a10b4726ec22fbbc2817c7b9bf3ab3dc0f1c1611e24871c70ad906a996b6e7
MD5 69b3318cb729e82378d6110af7587709
BLAKE2b-256 73e4d387b11ca4da42a2b215fdabbc23720fa84cbc12d19bf210f994a1711a40

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for climate_hurricane_analysis-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0e7831b1f19281d5f5d6f2c2cd7d75509b6f7ee7aa657876dabd9b44529348b9
MD5 d57e1f68cab3a03557ce0bca2e8150aa
BLAKE2b-256 f949920c5e6960875dcf9a84d3b268f03fd4d461f6507ae9bbbf8c6dc351e6e7

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