Easier access to scientific data

Brought to you by NOAA NMFS SWFSC ERD    

Google Gadgets with Graphs or Maps for Your iGoogle Home Page

[WARNING! ERDDAP's Google Gadgets used to work, but they sometimes don't now.
Google's system seems to have made changes or developed problems that affect ERDDAP's Google Gadgets.
This makes using ERDDAP's Google Gadgets unreliable.
Please use Embed a Graph in a Web Page instead. ]


Click on one of the +Google buttons below to add a Google Gadget to your iGoogle home page.
These Google Gadgets always show maps of the latest data.

Background Information


Sea Surface Temperature Gadgets
Chlorophyll-a Gadgets
Wind Gadgets


Make Your Own Google Gadget

(This is a project for web page authors. To do this, you need to be familiar with XML and HTML.)
The sample gadgets above are for specific datasets and for specific geographic regions.
If you want to, you can make your own Google Gadget for a different dataset and/or a different geographic region.
  1. If you don't already have a Google account, open one.
  2. Use an ERDDAP Make A Graph web page to select some data.
    1. In ERDDAP, search for a dataset of interest.
    2. Click on the dataset's graph link to see the Make A Graph web page.
    3. Modify the graph until it looks like you want it to.
    4. Get the URL from the view the URL textfield.
    5. Replace all instances of & in the URL with & .
    6. If it hasn't already been done, replace all instances of <, >, and " in the URL with %3C, %3E, and %22, respectively.
    7. For gridded datasets, you may change the time dimension's value in the URL to (last) so that
      the image will always show data for the latest date/time instead of a specific date/time.
  3. Paste the following code into the Google Gadget Editor:
    <?xml version="1.0" encoding="UTF-8" ?>
    <ModulePrefs title="ERDDAP: SST, Blended, West US (Experimental, 5 Day Composite)"
    author="Your Name"
    author_location="Your City, State"
    author_email="Your email address"
    author_affiliation="Your institution"
    description="The latest SST, Blended, West US (Experimental, 5 Day Composite) from ERDDAP">
    <Content type="html"><![CDATA[
    <a href="[(last)][(0.0)][(22.0):(50.0)][(225.0):(255.0)]&amp;.draw=surface&amp;.vars=longitude|latitude|sst&amp;.colorBar=Rainbow|C|Linear|8|32|" target="_blank">larger</a>
    <a href="[(last)][(0.0)][(22.0):(50.0)][(225.0):(255.0)]&amp;.draw=surface&amp;.vars=longitude|latitude|sst&amp;.colorBar=Rainbow|C|Linear|8|32|" target="_blank">largest</a>
    <a href="[(last)][(0.0)][(22.0):(50.0)][(225.0):(255.0)]&amp;.draw=surface&amp;.vars=longitude|latitude|sst&amp;.colorBar=Rainbow|C|Linear|8|32|" target="_blank">edit image/download data</a>
    <br><img src="[(last)][(0.0)][(22.0):(50.0)][(225.0):(255.0)]&amp;.draw=surface&amp;.vars=longitude|latitude|sst&amp;.colorBar=Rainbow|C|Linear|8|32|"
    alt="SST, Blended, West US (Experimental, 5 Day Composite)">
  4. In the Gadget Editor, modify the data descriptions as desired and insert the URL you generated in Make A Graph.
    Note that all the URLs for a given Gadget are the same except for the fileType (for example, .graph, .png, .largePng, .smallPng) in the middle of the URL.
  5. Use the Gadget Editor's File : Save As
  6. Use the Gadget Editor's File : Publish
For more information about Gadgets, see the Google Gadget API.


Questions, comments, suggestions? Please send an email to bob dot simons at noaa dot gov
and include the ERDDAP URL directly related to your question or comment.

ERDDAP, Version 1.30
Disclaimers | Privacy Policy