Coder Social home page Coder Social logo

currnt's Introduction

CURRNT

License (3-Clause BSD)

Docker Images

The Combined Utilities for River Routing Nested Together (CURRNT) is designed to simplify the execution of the Routing Application for Parallel computatIon of Discharge (RAPID) and the Reproducible Routing Rituals (RRR) on Amazon Web Services (AWS).

Local execution

Download CURRNT:

git clone https://github.com/c-h-david/currnt

Enter the CURRNT directory:

cd currnt/

Create Docker image:

docker build -t chdavid/currnt:app0 -f Dockerfile_app0 .

Execute Docker image as a Docker container:

docker run --rm -p 9000:8080 chdavid/currnt:app0
docker run -e EARTHDATA_USERNAME="yourEarthDataUserName" -e EARTHDATA_PASSWORD="yourEarthDataPassword" --rm -p 9000:8080 currnt:app3
docker run -e EARTHDATA_USERNAME="yourEarthDataUserName" -e EARTHDATA_PASSWORD="yourEarthDataPassword" -e AWS_ACCESS_KEY_ID="yourKeyID" -e AWS_SECRET_ACCESS_KEY="yourSecretAccessKey" --rm -p 9000:8080 currnt:app4

The --rm option deletes the container after execution. The -p 9000:8080 option maps Transmission Control Protocol (TCP) ports. In this case, the 8080 port in the Docker container is mapped to the 9000 port in the Docker host.

Try it out:

curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" -d '{"basin_id":"74", "lsm_mod":"VIC", "s3_name":"currnt-data", "yyyy_mm":"2000-01"}'

currnt's People

Contributors

czarmanu avatar c-h-david 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.