Provided as is. Some features are not included in this help.
Archived meteorological data is available from NOAA in many formats. The JSON format is suitable for manipulation in a browser.
https://tidesandcurrents.noaa.gov//api/datagetter?product=water_level&application=NOS.COOPS.TAC.WL&begin_date=20181201&end_date=20181231&datum=MHHW&station=8443970&time_zone=gmt&units=english&format=json
none
Tide in Boston using MHHW Datum 2018-12-01 00:00,-1.286 2018-12-01 00:06,-1.486 2018-12-01 00:12,-1.706 2018-12-01 00:18,-1.886 2018-12-01 00:24,-2.073 2018-12-01 00:30,-2.28 2018-12-01 00:36,-2.49 2018-12-01 00:42,-2.69 2018-12-01 00:48,-2.893
Data from 1996 to present
Not all observations are available at all locations and all times
Timesteps without readings are discarded
check y axis unit
Everything is done in the browser using javascript. The json data format is used. Only one month of data is provided for one url call. ES6 promise all is used to get data asynchronously.
====== JSON DATA FORMAT EXAMPLE 1 ====== {"metadata":{ "id":"9414290", "name":"San Francisco", "lat":"37.8063", "lon":"-122.4659" }, "data":[ {"t":"2011-03-01 00:00", "v":"0.060", "s":"0.043", "f":"0,0,0,0", "q":"v"}, {"t":"2011-03-01 00:06", "v":"0.123", "s":"0.049", "f":"0,0,0,0", "q":"v"}, {"t":"2011-03-01 00:12", "v":"0.169", "s":"0.049", "f":"0,0,0,0", "q":"v"}, {"t":"2011-03-01 00:18", "v":"0.241", "s":"0.072", "f":"0,0,0,0", "q":"v"}, {"t":"2011-03-31 23:48", "v":"1.573", "s":"0.079", "f":"0,0,0,0", "q":"v"}, {"t":"2011-03-31 23:54", "v":"1.606", "s":"0.115", "f":"0,0,0,0", "q":"v"} ] } ====== JSON DATA FORMAT EXAMPLE 2 ====== { "predictions" : [ {"t":"2011-03-01 00:00", "v":"1.923"}, {"t":"2011-03-01 00:06", "v":"2.055"}, {"t":"2011-03-31 23:42", "v":"-0.177"}, {"t":"2011-03-31 23:48", "v":"0.051"}, {"t":"2011-03-31 23:54", "v":"0.277"} ] }
2021 B. SHRESTHA