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
Metadata
Release files for oceanclimate-tools 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| oceanclimate_tools-0.1.1.tar.gz | 4.1 kB | Without provenance | Details for oceanclimate_tools-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| oceanclimate_tools-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for oceanclimate_tools-0.1.1-py3-none-any.whl |
Total release size: 9.4 kB
Release files / oceanclimate_tools-0.1.1.tar.gz
| Download URL | oceanclimate_tools-0.1.1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dba748bcc8d456de5efe9843adc8d65fd2d05504cb61aca614d5a78ff81ddde3
|
|
BLAKE2b-256 checksum How to use checksums |
41b7876d37faea79ee785d574c260b396080186f1693bee2bd9d15a383e1370d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / oceanclimate_tools-0.1.1-py3-none-any.whl
| Download URL | oceanclimate_tools-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
993bfe00ffd0c8f0051ccdb268fe69ca0f8f371e37f4b1e851fc7658c10d54b0
|
|
BLAKE2b-256 checksum How to use checksums |
482aa517862d490e52a2f2e5d5c0dd6002f58c3652225657681c1deae292221e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for oceanclimate-tools 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.