Tide

Tide observation data is obtained from the National Data Tide Center.  There are both stationary and drifting buoys that measure various atmospheric and water conditions.  The dataset also contains Coastal-Marine Automated Network (C-MAN) observations.  The data is available for all United States coastal areas (except the Great Lakes), areas of the Pacific Ocean, areas of the Atlantic Ocean, and areas of the Gulf of Mexico and Caribbean Sea.

Usage:

datatype=tide
time=now

Example Tide format data request:

http://datacloud.wxc.com/?vs=1.0&passkey=123456789&type=point&datatype=tide&time=now&lat=38.90&lon=-72.04

Tide data request can also be requested for a specific Tide station code:

Usage:

datatype=tide
station=8413320

Example Tide format data request:

http://datacloud.wxc.com/?vs=1.0&passkey=123456789&type=point&datatype=tide&time=now&station=8413320

Example Tide format data response:

Tide RETURN VALUES

location
This is an element that contains location information about the point for which you are requesting Tide data.

lat/lon
These parameters are attributes of the location element, used to specify the latitude and longitude of your data request. They are in decimal format. West and South are defined as negative.

Example:

lat=38.90&lon=-77.04

Station
This element contains the ID code of the reporting station for which the Tide statistics are valid. 

Example:

<Station>8413320</Station>


TideDataTime
This is an attribute of the step element that defines the exact timestamp for the Tide data in the format YYYY-MM-DDTHH:MM:SS. 

Example:

<TideDataTime>2012-02-02T00:00:00</TideDataTime>

StationName
This element contains the name of the city for which the Tide statistics are valid. 

Example:

<StationName>Bar Harbor</StationName>

State
This element contains the name of the state in which the station is located. 

Example:

<State>ME</State>

TimeZone
This element contains the time zone for the requested location, if stated. 

Example:

<TimeZone></TimeZone>

PredictionType
This element contains the type of Tide Prediction at that location.  “Harmonic” types are created by the analysis or regular water level reading sites.  These are also called official reference sites.  “Subordinate” type locations are tide stations whose predictions are derived by applying corrections to a reference, or harmonic, tide station.

Example:

<PredictionType>Harmonic</PredictionType>

TideHeight
This element contains the height of high or low tide at the requested location.  Default unit is in feet and it is compared to the reference height of the mean measured low water level.

Example:

<TideHeight>9.5</TideHeight>

HighLow
This element states whether the height value is for high or low tide conditions at the requested location. 

Example:

<HighLow>H</HighLow>