Git Product home page Git Product logo

cem-wich's Introduction

The CEM-WICH

About

The CEM-WICH (CEM Web Interface and Coupling Helper) provides a web-based graphical user interface for running the CEM (Coastline Evolution Model). The GUI serves two purposes:

  1. Simplifies the generation of CEM inputs
  2. Automatically compares CEM outputs to Landsat images provided by Google Earth Engine (GEE)

The purpose of the CEM-WICH it to estimate the extent to which wave climate controls local shoreline morhpology at a location of interest.

Setting up the CEM-WICH

The following sections provide instructions for setting up and running and instance of the CEM-WICH. For instructions on use, skip to Using the CEM-WICH

Getting started

  1. The Python environment is managed using Anaconda. To set up the environment:

    1. navigate to the project in an Anaconda command prompt
    2. conda env create -f environment.yml to create the environment
    3. conda activate cem-wich to activate the environment
  2. Tha Javascript distribution is managed using gulpjs. To install gulp fuctions:

    1. npm install
  3. The Flask server requires a Google Cloud service account to fufill Earth Engine requests.

    1. Follow instructions here to create a service account
    2. Place your private_key.json in the parent directory of the project

Build

  1. Build the C binary library using cmake:

    1. Navigate to server\C
    2. mkdir _build
    3. cd _build
    4. cmake ..
    5. make
    6. make install
    7. verify py_cem.dll or py_cem.so has been installed under server\C\_build
  2. Package the client-side application using gulp:
    The application can be packaged either for production or debugging.

    • gulp debug places the original js files in the distribution folder
    • gulp build places concatenated and minified js in the distribution folder

Run

Deploy the cem-wich with python cem_wich.py.

Using the CEM-WICH

cem-wich's People

Contributors

dependabot[bot] avatar

Watchers

James Cloos 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.