I am trying to download data from NOAA and I can't figure out how to construct a query to do it.
This URL points to a page that contains data for tides at six minute intervals between Jan 01 2021 and Feb 28 2021:
tidesandcurrents.noaa.gov/waterlevels.html?id=8443970&units=standard&bdate=20210101&edate=20210228&timezone=GMT&datum=MLLW&interval=6&action=data (link to the url)
If I ask for a wider range of data on that web page, the site refuses do serve the data.
I'd like to generate a sequence of queries to download the data in smaller chunks, but I can't figure out how to construct a query.
I've tried:
URLRead[URL["https://tidesandcurrents.noaa.gov/waterlevels.html"],
<|"Query" -> {"id" -> 8443970, "units" -> "standard",
"bdate" -> 20210101, "edate" -> 20210131, "timeszone" -> "GMT",
"datum" -> "MLLW", "interval" -> 6, "action" -> "data"}|>
]
and
URLDownload[
URL["https://tidesandcurrents.noaa.gov/waterlevels.html"],
<|"Query" -> {"id" -> 8443970, "units" -> "standard",
"bdate" -> 20210101, "edate" -> 20210131, "timeszone" -> "GMT",
"datum" -> "MLLW", "interval" -> 6, "action" -> "data"}|>]
which both fail. Does anyone know how to do this?