widget https://services.data.shom.fr/support/en en Service de vignettes océanogrammes https://services.data.shom.fr/support/fr/services/oceanogramme <span property="schema:name">Oceanogram widget service</span> <span rel="schema:author"><span lang="" about="/support/en/user/1" typeof="schema:Person" property="schema:name" datatype="">shom-admin</span></span> <span property="schema:dateCreated" content="2020-05-04T13:00:07+00:00">Mon, 05/04/2020 - 15:00</span> <div> <div> <div class="paragraph paragraph--type--body-text paragraph--view-mode--default"> <div><p>This service allows you to compile the most resolved 4-point forecasts for 1 point free of charge from the Shom and Météo-France models.</p> <p>It is possible to access the ocenogram directly by URL, either to the dynamic version of data.shom.fr or to the static versions of image and text exports.</p> <p>To add a widget of the oceanogram, paste the following code into your website:</p> <ul><li>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".</li> <li>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).</li> <li>Choose the time system by setting the parameter "utc" to 0, 1 or 2.</li> <li>Choose your language by setting the parameter "lang" to either "en" or "fr".</li> </ul><pre> <code class="language-xml">&lt;script src="https://services.data.shom.fr/oceano/render/widget?duration=4&amp;delta-date=0&amp;spot=PORTSALL&amp;utc=1&amp;lang=fr"&gt;&lt;/script&gt;</code></pre> <p>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</p> <pre> <code class="language-xml">&lt;script src="https://services.data.shom.fr/oceano/render/widget?duration=4&amp;delta-date=0&amp;spot=PORTSALL&amp;utc=1&amp;lang=fr&amp;width=1300&amp;height=1000"&gt;&lt;/script&gt;</code></pre> <p> </p> </div> </div> </div> </div> <div> <div class="visually-hidden">tags</div> <div> <div><div about="/support/en/tags/oceanography" typeof="schema:Thing" id="taxonomy-term-1" class="taxonomy-term vocabulary-tags"> <h2><a href="/support/en/tags/oceanography"> <div property="schema:name">Oceanography</div> </a></h2> <span property="schema:name" content="Oceanography" class="hidden"></span> <div class="content"> </div> </div> </div> <div><div about="/support/fr/tags/widget" typeof="schema:Thing" id="taxonomy-term-14" class="taxonomy-term vocabulary-tags"> <h2><a href="/support/fr/tags/widget"> <div property="schema:name">widget</div> </a></h2> <span property="schema:name" content="widget" class="hidden"></span> <div class="content"> </div> </div> </div> </div> </div> Wed, 08 Jan 2020 17:48:51 +0000 shom-admin 13 at https://services.data.shom.fr/support