Skip to main content

Beginner-friendly ocean & climate conversion utilities.

Project description

oceanclimate_tools

Beginner-friendly Python utilities for oceanography and climate data preprocessing.

Why this exists

Climate and ocean datasets often come from different sources and use different units (e.g., °C vs °F vs K, m/s vs knots, hPa vs atm). Before analysis, visualization, or machine learning, these values must be standardized.

This package provides small, well-documented conversion helpers to make climate and ocean data easier to work with—especially for beginners.

What’s included

  • Temperature conversions (°F, °C, K)
  • Wind speed conversions (m/s, km/h, mph, knots)
  • Pressure conversions (Pa, hPa, atm, psi)
  • Salinity helpers (simple, approximate)
  • Geographic helpers (degrees/radians, haversine distance)

Installation

pip install oceanclimate-tools

Quick start

from oceanclimate_tools import (
    fahrenheit_to_celsius,
    mps_to_knots,
    haversine_distance_km
)

fahrenheit_to_celsius(68)          # 20.0
mps_to_knots(10)                   # 19.438444924406
haversine_distance_km(
    43.6532, -79.3832,
    40.7128, -74.0060
)

Design philosophy

  • Accuracy over rounding
  • Simple, readable functions
  • Beginner-friendly documentation
  • Intended for learning, preprocessing, and reproducible analysis

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

oceanclimate_tools-0.1.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

oceanclimate_tools-0.1.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: oceanclimate_tools-0.1.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for oceanclimate_tools-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d381e1004300b9523220f33f63337802c81dc92b793d1419e4fc32e008e3da03
MD5 8e141b6a73958d63bc8bf58c6e186b5a
BLAKE2b-256 0184cb8021ddf40d84f110b17400c02148cbe86b423a234d62faf8bd65342d56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oceanclimate_tools-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 64ffb5b843e3e78ee09ffad7584c53d1968599111f46892786bb79823fd8129f
MD5 7276ff3c4109c198b2fbb43a5ac02c02
BLAKE2b-256 78b7136e3da3969f3532bb392dafeeabca38335f0990ec0175676b3fefc59008

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