Giter Club home page Giter Club logo

wem's Introduction

=== WEM

NOTE - WEM has been refactored. Use evac (Ensemble Verification and Creation) here: https://github.com/johnrobertlawson/evac.git

WRF Ensemble Management can help you create WRF ensembles from GEFS reanalysis data via submodule lazyWRF. It can also post-process the data (such as computing ensemble means, creating postage-stamp plots of all members, etc) via submodule postWRF.

As a sidenote, I encourage all users of Python to cite packages and acknowledge fellow users in publications and presentations. There is often little incentive for researchers to open source their efforts, yet it is a process that needs to be encouraged.

Where do I start?

Documentation is here (incomplete): http://johnrobertlawson.github.io/WEM/

./lazyWRF/ contains scripts that form the basis of automating your WRF ensemble runs. ./postWRF/bin/ contains examples of post-processing that you may like to perform with the module. The other essential file you will need to personalise for post-processing is /bin/settings.py. The class therein contains all the settings for loading data, saving output, etc. Almost all settings can be left as default (by not specifying a setting), other than essentials like the path to your WRF data, the path to output figures, etc.

To run lazyWRF, the top-level script must be in your WPS folder to allow WPS executables to see the namelist.wps. So you might need to soft-link from your WPS directory to where you keep your top-level lazyWRF/WEM controlling scripts (e.g., ln -sf /path/to/WEM/scripts/ in your WPS folder). At least, I can't find a way around this.

Contributors & Attributions

Some files or methods contain attributions to other programmers whose code has been refactored to fit this project (or is/will become a prerequisite). In summary, thanks to:

SHARPpy

  • Patrick Marsh
  • John Hart

HootPy/PulsatrixWx project

URL: http://www.atmos.washington.edu/~lmadaus/pyscripts.html

  • David-John Gagne
  • Tim Supinie
  • Luke Madaus

PyWRF project (Monash)

URL: http://code.google.com/p/pywrf/

URL: https://github.com/scaine1/pyWRF/

PyWRFPlot project

URL: https://code.google.com/p/pywrfplot/

  • Geir Arne Waagbø

wem's People

Contributors

johnrobertlawson 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

Watchers

 avatar  avatar  avatar  avatar  avatar

wem's Issues

map scale factor and velocity derivative

It's a great tool, but I think maybe you should improve it from some basic parts.

For example, you didn't take the map scale factors into account, so the derivative dudx dvdy and so on are not so precise.
And in the similar way, you just interpolate the u v to mass grids and then calculate the derivative, but maybe you should do this directly in the staggered grids as NCL does.

Hoping WEM would be better and better :)

Examples?

This is a great set of tools. Any chance you could provide some example code on how to make some basic plots?

Thanks,
Nic

plotting idealized cases

It would be a nice feature having simple (advanced) tools that allow beginner (experienced) WRF users to make plots from idealized cases.

Non-zero minimum contourf value, automatic maximum

For e.g. precipitation plots using the default (jet) colour scheme, it looks a bit silly to have swathes of the domain contoured with blue (zero). The user can avoid this by passing in clvs=N.arange(x,y,z) to e.g. plot2D(), where x > 0, but what if the user wants the maximum/range to be automatically set (as in the default)? I'm looking for a way to detect when plotting zeros is a bad thing (accumulated precip, for instance), which will run something like plotobject.set_clim(vmin=1).

cp: missing destination file operand after

Hi, many thanks for LazyWRF, I am exploring it for running WRF CHEM. I faced a issue in line 208 of lazyWRF.py, giving message of cp: missing destination file operand after, the same function carried out for WRF in the line 263 also giving same error but it seems more correct. I changed the line 208 into this os.system('cp ' + pathtoWPS + 'namelist.wps' ' namelist.wps.python_backup') avoids the error message.

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.