Skip to main content


Nautical

Build-Linux Build-OSX Build-Windows

PyPI version fury.io GitHub latest commit Code Coverage

Go Go Reference

Description

Ahoy! Whether you've got your sea legs under yeh', or you're just looking to get those toes wet, you have discovered Nautical. Nautical is a web scraper that allows its users to parse real time data from NOAA's buoys. You can try Nautical as a python or GO package! Nautical was created for research and data logging purposes, but there are many more possibilities for users to discover.

If you would like to view the python documentation follow the link to nautical's python documentation.

If you would like to view the GO documentation follow the link to nautical's GO documentation.

Table of Contents

Features

The following are a set of features and/or data that can be accessed via the package.

Sources

A source is a group of buoys. The source can be thought of as a sponsor or owner of the group/set of buoys. The source may be used as an indicator of the type of data that is stored in a buoy object.

Note: The TAO and Tsunami sources are not available in any regard.

Buoys

A buoy may contain, but are not limitted to, any of the following variables.

Data Abbreviation Units
Wind Speed wspd Knots
Gust gst Knots
Wave Height wvht Feet
Dominant Wave Period dpd Seconds
Average Wave Period apd Seconds
Pressure pres PSI
Pressure Tendency ptdy PSI
Air Temperature atmp Fahrenheit
Water Temperature wtmp Fahrenheit
Dew Point dewp Fahrenheigt
Salinity sal PSU
Visibility vis Nautical Miles
Tide tide Feet
Swell Height swh Feet
Swell Wave Period swp Seconds
Wind Wave Height wwh Feet
Wind Wave Period wwp Seconds
Ocean Temperature otmp Fahrenheit
Wind Speed 10m Interval wspd10m Knots
Wind Speed 20m Interval wspd10m Knots
Depth depth Feet

Data Caching

The cache can be used to save and load information about buoys and sources. The feature enables users to locally store and retrieve older information. NOAA refreshes the online data roughly every 30 minutes. The cache package can be used to throttle data retrieval calls to ensure the user is not wasting system resources when data has not been updated by NOAA.

  • Create cache files
  • Copy cache files to new names (with timestamps or custom names)
  • Load Cache files to Nautical Objects.

Note: Nautical cache was added in version 3.1.0.

Prerequisites

The python package requires python>=3.6. You can use a package manager to install a version of python that satifies the requirements, or you may manually install python from the website.

The GO package requires golang>=1.18. To install go please visit the official website.

Note: The GO requirement is not strict, but previous versions have Not been tested.

Casting Off

Tutorials

Follow the link to view the tutorials for the python package.

Follow the link to view the tutorials for the go package.

Testing

Python

All python tests are located in the tests directory.

python 3.x -m venv venv
source venv/bin/activate
pip install -r requirements.txt
pip install -r test_requirements.txt
pytest --cov=tests

Note: The virtual environment and coverage are optional.

GO

All golang tests are located with the golang source in pkg. The following should be executed from the project home directory.

go get -u
go test -v ./...

Contributing

For more information on contributing to the project, please see contributing.

Copyright

Copyright © 2022, Brent Barbachem. Released under the MIT License.

Metadata

Release files for nautical 4.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nautical 4.2.1
File Size Uploaded
nautical-4.2.1.tar.gz 39.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nautical 4.2.1
File Interpreter ABI Platform
nautical-4.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 71.8 kB

Release files / nautical-4.2.1.tar.gz

Download URL nautical-4.2.1.tar.gz
Size 39.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0eecfeae1238c6968dc3ab1832e7718f2ab3cd1bc228d251ffd0da9c450f9896
BLAKE2b-256 checksum
How to use checksums
f717712a809e2804cdf96424a5c650f68dd662522b00e0a39d93deb4ceb66385
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / nautical-4.2.1-py3-none-any.whl

Download URL nautical-4.2.1-py3-none-any.whl
Size 32.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a50601e5ccac2fb91d595877d6c44a970c2526bab54724394c3bfb482231b9a
BLAKE2b-256 checksum
How to use checksums
62633b5fe2c476b54a28730bb02a712aaf64534236b1d9c91cab3800b911a19f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release history Release notifications | RSS feed

This release

4.2.1 This release

2 release files

4.2.0

2 release files

4.1.1

2 release files

4.1.0

2 release files

4.0.0

2 release files

3.2.0

2 release files

3.1.2

2 release files

3.1.1

2 release files

3.1.0

1 release file

3.0.1

2 release files

3.0.0

2 release files

2.5.2

2 release files

2.5.1

2 release files

2.5.0

2 release files

2.4.1

2 release files

2.4.0

2 release files

2.3.0

2 release files

2.2.4

2 release files

2.2.2

2 release files

2.2.1

1 release file

2.2.0

1 release file

2.1.3

1 release file

2.1.2

1 release file

2.1.1

1 release file

2.1.0

1 release file

2.0.1

1 release file

2.0.0

1 release file

1.2.0

1 release file

1.1.0

1 release file

1.0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page