Skip to content

Get NOAA water level data over an arbitrary date range across multiple stations

Notifications You must be signed in to change notification settings

dmkishi/NOAAWaterLevelCollector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

NOAAWaterLevelCollector

Download 6-minute interval water level data across multiple stations via the NOAA CO-OPS API into separate station-by-station CSV files.

Retrieval of NOAA data products of 6-minute intervals are limited to a range of 31 days. This script allows retrievals of arbitrary date ranges by automatically making multiple requests across multiple stations and collecting them into single station-by-station CSV files.

Optionally, the "Date Time" field can be converted to an ISO 8601 format, "2001-12-31T23:55:00" (without time offsets or a "Z" designator for zero UTC offsets even if the time zone is selected as GMT), and a "Unix Time" column can be appended. Otherwise, the CSV output are exactly as provided by the NOAA API.

Usage

ruby noaa_water_level_collector.rb

About

Get NOAA water level data over an arbitrary date range across multiple stations

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages