Tidal influence on 2km HFR data availability outside of SF Bay

The number of surface current totals outside of the Golden Gate Bridge seems to be correlated with tides, or at least affected by some semi-diurnal (or diurnal) process.

Here, I'm analyzing the 2km HFR data from hfr-net and tidal data from the NOAA CO-OPs station at Crissy Field. As these are not co-located, there may be some temporal lag between theses areas, but it is presumed to be minimal and consistent.

Retrieving the data from hfrnet THREDDS server

To reduce the size of data egress, only data since 2020-Jan-01 are requested and the data are spatially subsetted to the region of interest.

Quantifying Valid measurments

For each time step, at each grid a boolean is assigned if values are finite. Where no valid measurement exists, ie the value is a NaN, a False is assigned (shown in Purple below) and where a valid measuremente exists, the True is assigned, shown in Yellow.

For each timestep the number of True values is summed up to create an hourly timeseries of the number of valid measurments in the box

Filtering data

To understand if there is a tidal signal a low-pass filter was used to remove the tidal signal and then subract the low-pass data from the original signal, the result is the tidal signal

Power Density Spectrum

Get Tide Data

Tidal height data is accessed through the NOAA Tides and Currents API

Calculate Auto-correlation for upto a 48 hour lag