NOAA   ERDDAP
Easier access to scientific data

Brought to you by NOAA NMFS SWFSC ERD    
 
Set Up Your Own ERDDAP
 
Why? | Initial Setup | Update | Need To Know | Don't Need To Know | Programmer's Guide | List of Changes | Credits | License | Contact

And see the related document Working with the datasets.xml File

ERDDAP is an all-open source, all-Java (servlet), web application that runs in a web application server
(for example, Tomcat). This web page is mostly for people ("ERDDAP administrators") who want to set up
their own ERDDAP installation at their own web site.

Why use ERDDAP to distribute your data?

Because the small effort to setup ERDDAP brings many benefits.

How To Do the Initial Setup of ERDDAP on Your Server

  1. ERDDAP should run on any server that supports Java and Tomcat (and perhaps other application servers).
    ERDDAP has been tested on Linux, Mac, and Windows computers.
  2. Type "java -version" from your server's command line to make sure you have Java (JRE or JDK)
    version 1.5 update 11 (or higher) or version 1.6 update 1 (or higher) installed.
    Instructions for installing Java on Linux are here.
  3. Set up Tomcat (or some other application server) on your server.
    Below, the Tomcat directory will be referred to as <tomcat> .
    Warning! If you already have a Tomcat running some other web application (especially THREDDS),
    we recommend that you install ERDDAP in a second Tomcat, because ERDDAP may need different settings
    and shouldn't have to contend with other applications for memory.
  4. On Linux computers, if Tomcat is running in Apache, you need to modify the /etc/httpd/conf/httpd.conf
    file to allow HTTP traffic to/from ERDDAP:
    1. Uncomment the line <IfModule mod_proxy.c> and the corresponding </IfModule>
    2. Within the IfModule directive add the following lines:
         ProxyPass /erddap http://www.YourServer.org:8080/erddap
         ProxyPassReverse /erddap http://www.YourServer.org:8080/erddap
    3. Then restart Apache: /usr/sbin/apachectl restart (but sometimes it is in a different directory).
  5. On Linux, Mac, and Windows, download erddapContent.zip and unzip it into <tomcat>,
    creating <tomcat>/content/erddap . After you edit the .xml files, it is a good idea to verify that the result is well-formed XML
    by pasting the XML text into an XML checker like RUWF.
  6. On Linux, Mac, and Windows, download erddap.war into <tomcat>/webapps .
    Then shutdown and startup Tomcat.
    Or, if you use the Tomcat Web Application Manager: The .war file is big because it contains high resolution coastline, boundary, and elevation data needed
    to create maps.
  7. Hopefully, you can now use a browser to view <YourServer'sURL>/erddap/ and see ERDDAP immediately.
    ERDDAP starts up immediately, but without any datasets loaded.
    Datasets are loaded in a background thread and so become available one-by-one.

How To Do an Update of an Existing ERDDAP on Your Server

  1. Download erddapContent.zip and unzip it into a temporary directory.
  2. Make the changes listed in Changes in the section entitled "Things ERDDAP Administrators Need to Know and Do"
    for all of the ERDDAP versions since the version you were using.
  3. Download erddap.war into a temporary directory.
  4. In Tomcat Manager, "Undeploy" ERDDAP.
  5. In Tomcat Manager, "Deploy" the erddap.war file.

Things You Need To Know

Things You Don't Need To Know

These are details that you don't need to know until a need arises.

Programmer's Guide

These are things that only a programmer who intends to work with ERDDAP's Java classes needs to know.

List of Changes

The List of Changes for each ERDDAP release is now on a separate web page.

Credits

ERDDAP is a product of the NOAA NMFS SWFSC ERD.
Roy Mendelssohn initiated and oversees the project.
Bob Simons wrote the ERDDAP-specific code.
The ERDDAP-specific code is licensed as copyrighted open source, with NOAA holding the copyright.
See the ERDDAP license.
ERDDAP uses copyrighted open source, Apache, LGPL, MIT/X, Mozilla, and public domain libraries and data.
ERDDAP does not require any GPL code or commercial programs.
Some of the funding for work on ERDDAP has come from the NOAA CoastWatch program, the NOAA IOOS
program, and the POST program. Thank you all very much.

License

The ERDDAP-specific code is licensed as copyrighted open source, with NOAA holding the copyright.
The license is:
ERDDAP, Copyright 2010, NOAA.

PERMISSION TO USE, COPY, MODIFY, AND DISTRIBUTE THIS SOFTWARE AND
ITS DOCUMENTATION FOR ANY PURPOSE AND WITHOUT FEE IS HEREBY GRANTED,
PROVIDED THAT THE ABOVE COPYRIGHT NOTICE APPEAR IN ALL COPIES, THAT
BOTH THE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE APPEAR IN
SUPPORTING DOCUMENTATION, AND THAT REDISTRIBUTIONS OF MODIFIED FORMS
OF THE SOURCE OR BINARY CODE CARRY PROMINENT NOTICES STATING THAT THE
ORIGINAL CODE WAS CHANGED AND THE DATE OF THE CHANGE. THIS SOFTWARE
IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.

Contact

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.24
Disclaimers | Privacy Policy