Code Monkey home page Code Monkey logo

global-river-runner's Introduction

global-river-runner

Let's make a global river runner

Use

The basic operation is to issue a GET request of the form:

https://your-river-runner-domain.com/processes/river-runner/execution?lat=<y>&lng=<x>

Performance is best if your request header includes Accept-Encoding: gzip and Accept: application/json.

Some domain to keep in mind:

Domain Version Behind Cloudfront?
https://merit.internetofwater.app stable Yes
https://merit-nldi.internetofwater.app stable No
http://d1za2aav0xp6il.cloudfront.net latest Yes
https://merit-dev-z3iqgg3uaa-uc.a.run.app latest No

Back-end Deployment

Deployment requires an instance of pygeoapi and postgres with PostGIS installed.

The pygeoapi instance must include the river-runner process as well as several other modifications.

We have prepared docker images for both the latest and current stable versions of pygeoapi with the necessary modifications.

A copy of the hydrography database used is documented and available for download here.

Cloud

See the deploy/cloud directory for Dockerfiles and pygeoapi configurations necessary to deploy an appropriately configured pygeoapi container to the cloud service of your choice. Note the need to use environmental variables URL (your desired service URL for the pygeoapi base path), and DBHOST, DBUSER,DBNAME, DBPASSWORD (to connect to your database). The pygeoapi river-runner is designed to be a stateless application, so your database must be deployed separately.

Local

See the deploy/local directory for a docker-compose and pygeoapi configuration for a pygeoapi and postgis stack.

global-river-runner's People

Contributors

webb-ben avatar ksonda avatar sdl60660 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.