Skip to main content

Beginner-friendly ocean & climate conversion utilities.

Project description

oceanclimate_tools

PyPI version Python versions License: MIT

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.1.tar.gz (4.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.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: oceanclimate_tools-0.1.1.tar.gz
  • Upload date:
  • Size: 4.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.1.tar.gz
Algorithm Hash digest
SHA256 dba748bcc8d456de5efe9843adc8d65fd2d05504cb61aca614d5a78ff81ddde3
MD5 6eb60fbdc2154091e03e8c71b27c86ed
BLAKE2b-256 41b7876d37faea79ee785d574c260b396080186f1693bee2bd9d15a383e1370d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oceanclimate_tools-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 993bfe00ffd0c8f0051ccdb268fe69ca0f8f371e37f4b1e851fc7658c10d54b0
MD5 7a2244eacfdf09f15207fc55a03548e0
BLAKE2b-256 482aa517862d490e52a2f2e5d5c0dd6002f58c3652225657681c1deae292221e

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