Show HN: Is Hormuz open yet?

I built this because I was interested in the data. Didn't fully get it to what I wanted, but thought I'd share it nonetheless. Maybe someone has better data sources they could share!

Turns out live ship tracking APIs are expensive so I manually just copied the json from https://www.marinetraffic.com/en/ais/home/centerx:57.4/cente... I'll probably have an ai agent do the same thing on some cron interval, if this gets any fanfare.

To actually know if the port is open without live ship tracking I found https://portwatch.imf.org/pages/cb5856222a5b4105adc6ee7e880a... which was perfect, except it has 4 day lag!

I also thought of adding news feed parsing or prediction market data to get a more definitive answer on if it's open right when you load it, but I spent a few hours and am gonna move on for now.

https://www.ishormuzopenyet.com/

MarineTraffic: Global Ship Tracking Intelligence | AIS Marine Traffic

MarineTraffic Live Ships Map. Discover information and vessel positions for vessels around the world. Search the MarineTraffic ships database of more than 550000 active and decommissioned vessels. Search for popular ships globally. Find locations of ports and ships using the near Real Time ships map. View vessel details and ship photos.

I believe NASA / EU provide daily satellite imagery for free (which is of relatively high quality too). I wonder if there's a way to take that data, and training some kind of image recognition model that figures out "movement" or something to the same end? Would be cool to see

Funnily enough, I did find a few satellite sources at the beginning for the map background and noticed that all the ships seemed to be scrubbed from the image. It's an interesting idea, thanks for the comment!

The sources I used were:

- ESRI World Imagery[1] — free satellite tiles, high-res, but ships are stripped out from the imagery

- NASA GIBS - VIIRS[2] — near real-time daily satellite imagery from NASA, but resolution is ~375m so ships aren't visible anyway

- Mapbox Satellite[3] — high-res and looks great, but same deal — ships are scrubbed from the composited imagery

1. https://server.arcgisonline.com/ArcGIS/rest/services/World_I...
2. https://earthdata.nasa.gov/engage/open-data-services-softwar...
3. https://www.mapbox.com

World_Imagery (MapServer)

Ai2 has vessel detection models for Sentinel-1 and Sentinel-2 (ESA) along with Landsat 8, Landsat 9, and VIIRS (NASA/USGS/NOAA):

- Sentinel-2: https://github.com/allenai/rslearn_projects/blob/master/docs...

- Landsat: https://github.com/allenai/rslearn_projects/blob/master/docs...

- VIIRS: https://github.com/allenai/vessel-detection-viirs

I think you can see these vessel detections at https://app.skylight.earth/ ("Try out a limited version as a guest") but they seem to be delayed by 48 hours.

rslearn_projects/docs/sentinel2_vessels.md at master · allenai/rslearn_projects

Contribute to allenai/rslearn_projects development by creating an account on GitHub.

GitHub