judehamilton
Registered User.
- Local time
- Yesterday, 16:47
- Joined
- Jan 7, 2011
- Messages
- 12
Hello, Smart Folks--I have a database consisting of water levels (tidal heights) collected every 30 minutes for a year at one station, every six minutes at another. There are two high tides on most days, and two low tides on most days; one high tide is higher than the other ("HH" for "higher high" to distinguish it from the secondary high tide of the day, "H") and one low tide is lower than the other ("LL" for "lower low" to differentiate from the corresponding secondary low tide of a given day, "L"). For the station with six-minute resolution, I already have a table showing the dates and times for HH, LL, H, and L.
I would like to build a query that will look in the 30-minute resolution table and find the maximum or minimum values (and preferably the time associated with each value) that occur within a discrete time interval surrounding the time associated with the HH, LL, H, and L values in the six-minute resolution table. The lag time between the two stations ranges from 6 to 24 minutes, so the time frame in question would be a half-hour or so on either side of the time of HH, LL, H, or L found in the six-minute table.
If anyone can chime in and provide some advice, I would truly appreciate any help I can get. The thought of going through thousands of entries and pulling these out by eye is killing me.
Judy
I would like to build a query that will look in the 30-minute resolution table and find the maximum or minimum values (and preferably the time associated with each value) that occur within a discrete time interval surrounding the time associated with the HH, LL, H, and L values in the six-minute resolution table. The lag time between the two stations ranges from 6 to 24 minutes, so the time frame in question would be a half-hour or so on either side of the time of HH, LL, H, or L found in the six-minute table.
If anyone can chime in and provide some advice, I would truly appreciate any help I can get. The thought of going through thousands of entries and pulling these out by eye is killing me.
Judy