MPAS_DRAW
Display MPAS Grids and Solution Data


MPAS_DRAW is a C++ program which reads information from a NETCDF file written by the MPAS program, containing the grid information and computed solution values, some of which may be time dependent, or organized in vertical atmospheric levels, and then displays graphic images of data using OpenGL.

The program is interactive, and allows the user to select the underlying mesh structure (cells, dual triangles, or edges) and the associated physical quantities to view.

A set of keyboard commands allow the user to rotate or translate the view, to move through time steps or vertical levels, and so on.

Usage:

mpas_draw filename.nc
where

Keyboard Control:

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Languages:

MPAS_DRAW is available in a C++ version.

Related Programs:

MPAS_GRID_DISPLAY, MATLAB programs which can read an MPAS NETCDF grid file and display the primary polygonal mesh or the dual triangular mesh.

MPAS_GRID_DISPLAY_OPENGL, C++ programs which can read an MPAS NETCDF grid file and display the primary polygonal mesh or the dual triangular mesh, using OpenGL.

NETCDF, a data directory which contains examples of NETCDF files, a format for the interchange of scientific data.

NETCDF_MPAS, a data directory which contains examples of MPAS grid data stored as NETCDF files.

NETCDF_MPAS, a C++ library which reads MPAS grid data stored as NETCDF files.

Author:

Doug Jacobsen, John Burkardt, Geoff Womeldorff.

Reference:

  1. The MPAS home page, http://mpas-dev.github.io .
  2. Russ Rew, Glenn Davis, Steve Emmerson, Harvey Davies, Ed Hartne,
    The NetCDF User's Guide,
    Unidata Program Center, March 2009.
  3. Todd Ringler, John Thuburn, Joseph Klemp, William Skamarock,
    A unified approach to energy conservation and potential vorticity dynamics for arbitrarily-structured C-grids,
    Journal of Computational Physics,
    Volume 229, Number 9, 1 May 2010, pages 3065-3090.

Source Code:

Examples and Tests:

You can go up one level to the MATLAB source codes.


Last revised on 18 January 2011.