Bay-Delta SELFE Tools

noaa_download Module

noaa_download.retrieve_csv(url)
noaa_download.retrieve_data(years, id_)

Download stage data from NOAA tidesandcurrents, and save it to NOAA CSV format.

Parameters :

years: array-like :

years to retrieve

id_: :

station id

noaa_download.retrieve_table(url)
noaa_download.write_header(fname, headers)
noaa_download.write_table(table, fname, first)