Giter Club home page Giter Club logo

pi-wrf-gui's Introduction

This Repositry hosts a GUI-based application of the Weather Research and Forecasting Model (WRF) on a Raspberry Pi (version 3 or higher)

In order to run this application, the container platform, Docker, must be installed. If this OSX is the operating system being used, then the X server application, XQuartz must be installed as well. If you are running the application on PC then you will need VcXsrv Windows X Server

Create a container & launch app (Raspberry Pi/Linux)

  1. create container with "docker run -it --rm --net=host --env="DISPLAY" --volume="$HOME/.Xauthority:/root/.Xauthority:rw wefoust/pi-wrf"
  2. run app with the command "run"

Create launch X11 Create a container and run app (Windows)

  1. Open Xlaunch and use these settings:
  • page 1) multiple windows, Display number = -1
  • page 2) Start no client
  • page 3) Clipboard, Primary Selection, Native opengl, Disable Access Control
  • page 4) Finish
  1. Find Your IP Address

    1. Type network status in the search bar
    2. click ethernet (if connected via ethernet)
    3. click ethernet connected icon
    4. the IPv4 address is you IP address
  2. Run the app

    1. Open Windows command prompt
    2. type "docker run -it --rm -e DISPLAY=YourIPaddress:0.0 wefoust/pi-wrf"
    3. type "run" to run the application

Create a container & launch app (MAC)

--prerequisite (open X11 security settings and check "Allow connections from network clients")

  1. type the command "open -a XQuartz"
  2. type the command "IP=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}')"
  3. type the command "xhost + $IP"
  4. type "docker run -it --rm -e DISPLAY=$IP:0 wefoust/pi-wrf"
  5. run the app with the command "run"

Build from Source

This section is for users who have modified the WRF-Source Code. Make your changes to the source code and then run the following commands to build a new Docker Image. Warning: This may take a few hours to complete.

  1. CD into the top level directory
  2. Build the image with the command "docker build -f envs/smpar_gui/dockerfile ."

pi-wrf-gui's People

Contributors

wefoust 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.