swrobel / meta-surf-forecast

🌊 Modern swell buoy charts + Aggregated surf forecast from Surfline & Spitcast APIs
https://metasurfforecast.com
MIT License
308 stars 60 forks source link

update to include seven_point_rating in Surfline v2 API #61

Closed smmuirhead100 closed 1 year ago

smmuirhead100 commented 1 year ago

Integrated Surfline's new seven-point rating system.

To convert it to a five-point scale, I subtracted one from whatever the seven-point rating was. Thus, if the seven-point rating is greater than 6, then the corresponding five-point rating is simply 5.