Embedding climate products in your website

Three ways to load content on a web page are demonstrated here: show a chart, embed a PDF, or embed a whole web page.

In an operational CliDEsc setup, these files can be generated automatically while keeping the same filename and location. The website code does not need to change each time the product is updated.

Climate Averages - Normal Period

Loading...

Ocean map from the SPC plotter service

Agriculture Report

Open the Agriculture Report in a new tab

Loading...

Days Without Rainfall Map

Here is a map showing the number of days without rainfall in the Pacific Islands. It's still fully clickable, and you can zoom and pan it.

Open the map in a new tab

Loading...

Exercise 1 - Plot data from a station

Choose whether your station is a tide gauge or a wave buoy, paste its URL, then press Plot data.

Press Plot data to begin.

Exercise 2 - Show a map image

Two parts of the URL below are worth changing, then press Show image:

Press Show image to begin.

Exercise 3 - Embed a PDF

Paste the address of a tide calendar PDF, then press Show PDF. You get both a link that opens it in a new tab and a copy embedded in the page.

Press Show PDF to begin.

Exercise 4 - Embed a whole web page

Below is the Bureau of Meteorology's printable tide table for Port Vila . Paste any page address, then press Show page.

If the box stays blank, that site has told the browser it will not be embedded. Use the link instead - it is not a fault in your page.

Press Show page to begin.