Giter VIP home page Giter VIP logo

mmm-py's Introduction

MMM-Py README

The National Oceanic and Atmospheric Administration (NOAA) regularly produces national 3D radar reflectivity mosaics via its Multi-Radar/Multi-Sensor (MRMS) system. These mosaics are wonderful for storm and precipitation analysis and research, but they are distributed in odd formats that NOAA is ever changing. Sometimes you just want to read a file and make a plot!

This is what MMM-Py is for. With it, you can read any version of the MRMS radar mosaics, past or present, and you can analyze, plot, subsection, and output custom mosaics of your own, which MMM-Py can ingest later. MMM-Py is free and open source. It is capable of producing publication-ready figures and analyses, but it also can do quicklook plots so you can check out the cool storm that just happened.

For more info about the latest version of MRMS, see here.

MMM-Py Installation

MMM-Py works under Python 2.7 and 3.4 on most Mac/Linux setups. Windows installation is currently untested.

Put mmmpy.py in your PYTHONPATH.

You'll need the following Python packages. Most are easily obtained or already installed with common Python frameworks such as Anaconda: numpy, matplotlib, six, netCDF4, os, Basemap, struct, time, calendar, gzip

Get MRMS-modified wgrib2 package and installation info from ftp://ftp.nssl.noaa.gov/projects/MRMS/GRIB2_DECODERS/MRMS_modified_wgrib2_v2.0.1-selectfiles.tgz

Install wgrib2 and note the path to it. Modify the BASE_PATH, TMPDIR, WGRIB2_PATH, and WGRIB2_NAME global variables in mmmpy.py as necessary. TMPDIR is where intermediate netCDFs created by wgrib2 will go.

Without wgrib2 MMM-Py can still read legacy MRMS binaries and netCDFs.

Using MMM-Py

To access everything:

import mmmpy

To see MMM-Py in action, check out the IPython notebooks provided in this distribution.

This conference presentation discusses MMM-Py (among other modules).

MMM-Py was developed at the NASA Marshall Space Flight Center by Timothy Lang ([email protected])

See LICENSE file for NASA open source license information.

mmm-py's People

Contributors

tjlang avatar

Watchers

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