Skip to content

Latest commit

 

History

History
105 lines (73 loc) · 4.65 KB

README.md

File metadata and controls

105 lines (73 loc) · 4.65 KB

Visit Earthdata Search at https://search.earthdata.nasa.gov

Build Status

About

Earthdata Search is a web application developed by NASA EOSDIS to enable data discovery, search, comparison, visualization, and access across EOSDIS' Earth Science data holdings. It builds upon several public-facing services provided by EOSDIS, including the Common Metadata Repository (CMR) for data discovery and access, EOSDIS User Registration System (URS) authentication, the Global Imagery Browse Services (GIBS) for visualization, and a number of OPeNDAP services hosted by data providers.

Components

In addition to the main project, we have open sourced stand-alone components built for Earthdata Search as separate projects with the "edsc-" (Earthdata Search components) prefix.

License

Copyright © 2007-2014 United States Government as represented by the Administrator of the National Aeronautics and Space Administration. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Third-Party Licenses

See public/licenses.txt

Installation

Prerequisites

  • Ruby 2.2.2
  • Pow is recommended for local testing with Earthdata Login
  • A Ruby manager such as RVM or rbenv is strongly recommended.
  • (For shapefile support) access to an ogre server
  • (For placename completion) a GeoNames account
  • For automatic spatial and temporal extraction from the search text, clone and set up an EDSC-NLP server

Additionally, you will need the following, which will be installed automatically by bin/setup on most UNIX-like systems:


  • Postgres development headers
Operating systems Command
Mac(homebrew) $ brew install postgresql
Ubuntu $ sudo apt-get install -y libpq-dev
RHEL $ sudo yum install -y postgresql-devel

  • Node.js (with npm)
Operating systems Command
Mac(homebrew) $ brew install node
Ubuntu $ sudo apt-get install -y nodejs
RHEL `$ sudo curl -sL https://rpm.nodesource.com/setup

Earthdata Login (URS) Configuration

If you would like to set up Earthdata Login login, you will need to perform the following steps:

Register an account on the Earthdata Login home page

Create an application in the Earthdata Login console. Its callback URL should be http://<domain>/urs_callback. If you are using Pow, this will be something like http://earthdata-search.dev/urs_callback

Click the "Feedback" icon on the Earthdata Login page and request that your new application be placed in the ECHO application group (required for ECHO/CMR to recognize your tokens).

Modify line 37 of config/services.yml to contain your Earthdata Login application's client ID

Application configuration

If using Pow, create a symlink to your application directory, for instance ln -s $(pwd) ~/.pow/earthdata-search (making your app available at http://earthdata-search.dev). If you set up Earthdata Login, ensure that the domain matches the callback URL specified in Earthdata Login.

Initial setup

Run

bin/setup

Open config/application.yml and edit configuration values as described in that file to set up Earthdata Login, shapefile support, and placename completion as appropriate.

Running

Set up EDSC-NLP REST service. (Follow the README on EDSC-NLP page)

If you set up Pow, simply visit http://earthdata-search.dev, otherwise run rails s in the project directory and visit http://localhost:3000.