Giter VIP home page Giter VIP logo

srinath9 / ntl-planetary-data-system-api Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 92.25 MB

The Planetary Data System API provides a common API to allow access to data across all PDS nodes. NASA has recorded over 100 terabytes of space images, telemetry, models and just about everything one can imagine from all the planetary missions from the past 30 years. The data stored is within NASA’s planetary data system (PDS). The PDS databases have developed in a disparate fashion over the years with different architectures and formats for different scientific needs; thereby making acquisition of data problematic. This API addresses this problem to make the data more accessible by users of the data.

Java 67.65% CSS 0.92% JavaScript 17.48% Shell 0.30% HTML 1.11% Fortran 3.67% IDL 0.41% C 7.05% Makefile 0.12% Groff 0.06% Assembly 0.15% AGS Script 1.08% Batchfile 0.01%

ntl-planetary-data-system-api's Introduction

PDS Project


LROC DataSets and Products Import Process and Deployment


  1. Configure import_and_persistence/config/application.properties (other configuration attributes can be left as it is.)
Name Description
jdbc.url MySQL connection string, e.g. jdbc:mysql://localhost:3306/nasa_pds
jdbc.username MySQL username
jdbc.password MySQL password
LROCImportProcessor.requestUrl The ODE REST API URL used to request JSON string. NOTE THAT THE DEFAULT CONFIGURATION HAS A LIMIT OF 5 IMAGES (limit=5) APPENDED TO THE URL. REMOVE THIS LIMIT TO DOWNLOAD ALL THE IMAGES FOR A GIVEN PRODUCT SET. This is so users do not erroneously download massive amounts of data.
  1. Clear and setup the database in mysql:

    ``` ant reset-db-ddl ```
    
  2. Copy the LROC EDR data set docs locally, this will download the three LROC datasets locally from :

    ``` ./get_dataset_volume_docs.sh ```
    
  3. Process the LROC EDR data set docs into the database, this will process the downloaded LROC data from previous step:

    ant run_cache ant run_processing

  4. Validate the dataset has loaded:

    mysql -u root -p nasa_pds select count(*) from dataset d inner join dataset_volume dsv on d.id = dsv.dataset_id inner join volume v on dsv.volume_id = v.id

    Should return 37 rows

  5. Run LROC image URL import tool, we are importing here EDRNAC product type, and we set the camera specs (NAC), the product type will be appended to LROCImportProcessor.requestUrl string

    chmod +x *.sh ./run_lroc_import.sh src/app_config/applicationContext_import.xml EDRNAC NAC

    It is recommended to run this as daemon process if the products count is huge.

  6. Check image is in the DB:

    mysql -u root -p nasa_pds select image_path from map_image

  7. Check image is linked to the dataset:

    mysql -u root -p nasa_pds select mi.image_path, mi.product_type, mi.camera_spec from dataset d inner join dataset_map_image dmi on d.id = dmi.dataset_id inner join map_image mi on dmi.map_image_id = mi.id

By end of the execution of these steps, the LMMP API will be ready to search LROC images using DataSetService in pds application

ntl-planetary-data-system-api's People

Contributors

nasarader avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.