Comments (5)
Find all instances of the lowest-tide-of-the-day that are in daylight hours.
from rockybeaches.
with lowest_tide_per_day as (
select
station_id,
date(datetime) as date,
time(datetime) as lowest_tide_time,
min(mllw_feet) as lowest_tide
from
tide_predictions
where
station_id = 9414131
group by
date(datetime)
)
select
lowest_tide_per_day.*,
sunrise_sunset.*
from
lowest_tide_per_day
join sunrise_sunset on sunrise_sunset.place = 'pillar-point'
and sunrise_sunset.day = lowest_tide_per_day.date
where
lowest_tide_per_day.lowest_tide_time > sunrise_sunset.sunrise
and lowest_tide_per_day.lowest_tide_time < sunrise_sunset.sunset
and date >= date('now')
order by
date
from rockybeaches.
Here's what this first version looks like:
from rockybeaches.
Done but needs some styling
from rockybeaches.
styling done
from rockybeaches.
Related Issues (20)
- Put ‘now’ on today chart
- Better low tide visualisations
- Moon info HOT 1
- Map of NOAA stations HOT 3
- Better criteria for best tides in next 30 days HOT 4
- Add limpet contact details for sites
- Add license information to Github
- Make radius a default of 0.5 unless set
- Link address to directions
- Design content section at bottom better
- Air quality
- GEOLOGY
- Satilite view on map
- Tidepooling testimonials
- Next 4 low tides showing incorrect details HOT 5
- sqlite3.OperationalError: no such table: main.noaa_stations in build HOT 2
- Deploys are failing HOT 1
- 500 Error: Unable to import module 'vc__handler__python': No module named 'pytz' HOT 1
- Deploy script broke HOT 6
- Cache headers for Vercel HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rockybeaches.