Skip to content

Unidata/awips-ml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

awips-ml

awips-ml allows users to visualize TensorFlow machine learning models witihin AWIPS via CAVE.

More information can be found in the wiki.

awips-ml is tested for Docker version 3.5.2. Later versions of docker may not work due to this.

Example data being displayed

Quickstart

These instructions assume that Docker, Docker Compose, and CAVE are installed (CAVE is required for viewing only). This git repository comes pre-loaded with a script to generate an example model so no configuration is required for demonstration purposes.

First, start by cloning this repository, building the containers (this will take ~20 minutes depending on internet speed), and launching then containers.

git clone https://github.com/rmcsqrd/awips-ml.git
cd awips-ml
docker-compose build
docker-compose up

Next, connect CAVE to the EDEX docker container. The default docker-compose.yml file is set such that the default CAVE port will be forwarded from the docker network namespace to the host OS network namespace. Connect by starting CAVE and entering your "EDEX Server" as 127.0.0.1 (or localhost) as shown:

Connect CAVE to EDEX

If a validation error occurs that is okay, sometimes it takes a while for the EDEX container to start; continue clicking "Validate" or "Start" until it says "Connected".

Once CAVE is opened, open the "Product Browser" via CAVE > Data Browsers > Product Browser. A window to the right side of the screen should appear. Load the original data and the data that has been run through the ML model via the Product Browser by clicking Satellite > GOES-17 > WMESO-1 > CH....

  • If Satellite is unavailable in the Product Browser, wait a few minutes and click the refresh button in the upper right-hand corner of the Product Browser.
  • If no data appears in the product browser after waiting (~5min), the upstream LDM may be rejecting the EDEX containers requests; this is usually due to an invalid IP address (requests need to come from .edu IP address ranges or other approved IP address ranges) - see Troubleshooting.

When the data is loaded, your screen should look something like the image below. You can toggle the loaded data by clicking the text in the lower right-hand side of the "Map" window.

Display Data via CAVE

You can shut down the EDEX containers by running

docker-compose down

About

No description, website, or topics provided.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published