Code Monkey home page Code Monkey logo

cdas2's Introduction

CDS2 Project

Climate Data Analytic Service provider built on scala, Spark, Akka, Haddop, and python tools such as UVCDAT, etc.

Prerequisite: Install the Java/Scala develpment tools:

1) Java SE Platform (JDK) 1.8:   http://www.oracle.com/technetwork/indexes/downloads/index.html
2) Scala:                        http://www.scala-lang.org/download/install.html
3) Scala Build Tool (sbt):       http://www.scala-sbt.org/0.13/docs/Setup.html

Install and run CDS2:

1) Checkout the CDS2 sources:

    >> cd <prefix>
    >> git clone https://github.com/nasa-nccs-cds/CDAS2.git 

2) Build the application (for a clean build one can execute "sbt clean" before "sbt package"):

    >> cd CDAS2
    >> sbt package

 3) Run unit tests:

    >> sbt test

 4) Source the setup file to configure the runtime environment:

    >> source <prefix>/CDAS2/bin/setup_runtime.sh

 6) Startup the CDAS server:
 
    >> cd CDAS2
    >> ./bin/startup_cdas_local.sh

 7) Access demos:

    Designed to be deployed with the CDWPS framework (https://github.com/nasa-nccs-cds/CDWPS)

Python/NetCDF support through Conda::

1) Install Anaconda: https://github.com/UV-CDAT/uvcdat/wiki/Install-using-Anaconda

2) Create cdas2 conda environment:
    
    >> conda create -n cdas2  -c conda-forge -c uvcdat/label/2.8 -c uvcdat uvcdat nco pyzmq psutil lxml
    
3) Initialize shell enviromnment for cdas:

    >> source <prefix>/CDAS2/bin/setup_runtime.sh
    >> source activate cdas2
    
4) Build CDAS python pacakges:

    >> cd CDAS
    >> python setup.py

Code development:

1) Install IntelliJ IDEA CE from https://www.jetbrains.com/idea/download/ with Scala plugin enabled.

2) Start IDEA and import the CDAS2 Project from Version Control (github) using the address https://github.com/nasa-nccs-cds/CDAS2.git.

cdas2's People

Contributors

nasa-nccs-cds avatar thomasmaxwell avatar

Stargazers

 avatar

Watchers

 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.