Ireland's Marine Atlas
Access to Ireland’s marine data and related information
menu
Digital Ocean Widgets
Error handling
Invalid widget type
digitalocean.create({ type: 'xxx', config: {} });
Sensor readings invalid url
digitalocean.create({ type: 'sensor-readings', config: { title: 'M4 Weather Buoy', url: 'xxx', sensors: [{ label: 'Atm. Pressure', unit: 'mb', prop: 'AtmosphericPressure' }] } });
Table invalid url
digitalocean.create({ "type": "table", "config": { "url": "xxx", } });
Chart invalid dataset url
digitalocean.create({ type: 'bar-chart', config: { title: 'Sea Temperature vs Time', xTitle: 'Last 6 hours', yTitle: 'Temperature (C)', datasets: [{ title: 'Sea Temperature', url: 'https://erddap.marine.ie/erddap/tabledap/IWaveBNetwork30Min.json?time%XXX&time%3E=now-6hours&distinct()' }] } });