Git Product home page Git Product logo

wrftools's Introduction

wrftools

The master branch has changed significantly and now depends on a scheduler such as the Sun Grid Engine. This makes it much easier to run large historical simulations. A branch corresponding to the old master is available as the synchronous branch.

What is it?

A framework for running WRF simulations.

It is designed to be flexible and extendable. There are some tools out there which run WRF, but they are not easily modified. This is designed to provide a framework which is easily customised and modified.

Not yet python 3 compatible.

Install

It relies on two other custom python packages. Grab these and install as you usually would. (If you are working on Maestro, these are already installed)

$>git clone https://github.com/samwisehawkins/confighelper.git
$>python confighelper/setup.py install

$>git clone https://github.com/samwisehawkins/loghelper.git
$>python loghelper/setup.py install

Get the main repository

$>git clone https://github.com/samwisehawkins/wrftools.git

Quick start

There are three main scripts:

  • init.py intialises a base directory
  • prepare.py prepare simulations in seperate directories
  • submit.py submit simulations them to the scheduler

Assuming you have wrftools repository and the dependencies installed.

mkdir myforecast
cp /some/path/namelist.wps ./
cp /some/path/namelist.input ./
cp wrftools/config/init.yaml ./
python wrftools/init.py --config=init.yaml
python prepare.py --config=prepare.yaml
ls -l      # ooh, look at all those simulations waiting to go!
python submit.py --config=submit.yaml

Documentation

See doc/documentation.md for more details


Author Sam Hawkins [email protected]

wrftools's People

Contributors

hawkinszz avatar jepn avatar samwisehawkins avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wrftools's Issues

Error: wrftools.ncl

Hi

First of all thank you for all the scripts as they are very useful. One error I have faced when I run the script extract_time_series.ncl, it terminates at the line no 630 with some error:

    u = merge_levels_sfc(ul, u10, -1)
    v = merge_levels_sfc(vl, v10, -1)

But If I wont consider the wind component then the script shows successful completion with all other parameters available in the output file.

Kindly suggest how to correct the issue.

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.