In order to add this oceanogram to your website, please insert this code in your html page
- You can choose the format, either "General forecasts on a 4 days duration" or "Detailed forecasts on a 1 day duration", by respectively setting the parameter "duration" to "4" or "1".
- The first day of the oceanogram is by default the current day, but you can use the "delta-date" to shift to preceding days (or to following days in the case of a 1 day oceanogram).
- Choose the time system by setting the parameter "utc" to 0, 1 or 2.
- Choose your language by setting the parameter "lang" to either "en" or "fr".
<script src="https://services.data.shom.fr/oceano/render/widget?duration=4&delta-date=0&spot=CHERBOURG&utc=2"></script>
If you want to manage the widget size, insert the parameters width and/or height at the end of source url et/ou à la fin de l'url source
ex: https://services.data.shom.fr/oceano/render/widget?duration=4&delta-date=0&spot=CHERBOURG&utc=2&width=1300&height=1000