The MM5 (short for Fifth-Generation Penn State/NCAR Mesoscale Model) is a regional
mesoscale model
A model is an informative representation of an object, person or system. The term originally denoted the plans of a building in late 16th-century English, and derived via French and Italian ultimately from Latin ''modulus'', a measure.
Models c ...
used for creating
weather forecast
Weather forecasting is the application of science and technology to predict the conditions of the atmosphere for a given location and time. People have attempted to predict the weather informally for millennia and formally since the 19th cent ...
s and
climate
Climate is the long-term weather pattern in an area, typically averaged over 30 years. More rigorously, it is the mean and variability of meteorological variables over a time spanning from months to millions of years. Some of the meteorologica ...
projections. It is a community model maintained by
Penn State University
The Pennsylvania State University (Penn State or PSU) is a public state-related land-grant research university with campuses and facilities throughout Pennsylvania. Founded in 1855 as the Farmers' High School of Pennsylvania, Penn State becam ...
and the
National Center for Atmospheric Research
The US National Center for Atmospheric Research (NCAR ) is a US federally funded research and development center (FFRDC) managed by the nonprofit University Corporation for Atmospheric Research (UCAR) and funded by the National Science Founda ...
. The MM5 is a limited-area, terrain-following
sigma coordinate
The sigma coordinate system is a common coordinate system used in computational models for oceanography, meteorology and other fields where fluid dynamics are relevant. This coordinate system receives its name from the independent variable \sigm ...
model that is used to replicate or forecast mesoscale and regional scale atmospheric circulation. It has been updated many times since the 1970s to fix bugs, adapt to new technologies, and work on different types of computers and software. It is used in many different ways: for research and for weather prediction. In research, it is used to compare it to other models, to see what works and what does not work. It is also used for air quality models.
[http://www2.mmm.ucar.edu/mm5/workshop/ws03/sessionJ1/Klausmann.pdf ]
Active development on the model ended with version 3.7.2 in 2005, and it has been largely superseded by the
Weather Research and Forecasting (WRF) model.
Features
MM5 is globally relocatable, which helps support different latitudes, terrain types, elevations, soil types, etc. . The model can be either
hydrostatic
Fluid statics or hydrostatics is the branch of fluid mechanics that studies the condition of the equilibrium of a floating body and submerged body "fluids at hydrostatic equilibrium and the pressure in a fluid, or exerted by a fluid, on an imme ...
or non-hydrostatic, depending on the desired outcome. The fact that the model is regional implies that it requires initial conditions and lateral boundary conditions. This means that each boundary (there are four) has initialized wind speeds, temperatures, pressure and moisture fields.
Thus, gridded data is needed for this program. This model takes and then analyzes its data based on pressure surfaces. However, these surfaces must first be interpolated by a specific vertical coordinate before it can be analyzed.
This vertical coordinate,
sigma
Sigma (; uppercase Σ, lowercase σ, lowercase in word-final position ς; grc-gre, σίγμα) is the eighteenth letter of the Greek alphabet. In the system of Greek numerals, it has a value of 200. In general mathematics, uppercase Σ is used ...
, is computed and then used throughout the program. Σ is defined as:
Σ = (p-p
t)/p*, p* = p
s-p
t,
Where p is
pressure
Pressure (symbol: ''p'' or ''P'') is the force applied perpendicular to the surface of an object per unit area over which that force is distributed. Gauge pressure (also spelled ''gage'' pressure)The preferred spelling varies by country a ...
, p
s is
surface pressure Surface pressure may refer to:
* " Surface Pressure", a song from the film ''Encanto'' (2021)
* Surface pressure in physical chemistry
* Surface pressure within the Earth's atmosphere
{{dab ...
, and p
t is the pressure at the top of the model. When Σ is close to the ground, the program follows the actual terrain, but when Σ is higher up, the program looks at isobaric surfaces. Σ ranges from 0 to 1.
It has adaptable and multiple nesting capabilities, which allows multiple programs to run at once, while utilizing 2-way nesting. MM5 features inputs from actual data, which is helpful because routine observations can be used. Then, data can be compared and used in context with other models.
MM5 also features terrain-following vertical coordinates and four-dimensional data assimilation (FDDA) .
FDDA is used when there is a lot of data that was taken over a longer period of time. Then this data that needed to be taken over a longer period of time gets placed into FDDA. It is also utilized for dynamical initialization and four-dimensional data sets.
Most importantly, MM5 is well documented and has many places for user support.
Functions
There are many pieces of the MM5 modeling system, each with different functions. These pieces include: TERRAIN, REGRID, LITTLE_R, NESTDOWN, INTERPF, INTERPB, and GRAPH/RIP. In the basic sense, the model begins by taking the information and then makes a model of the land. This is done by using the piece TERRAIN.
Then, the model guesses the different pressures that exist in the atmosphere throughout this plot of land, which is done through REGRID.
Then, the model takes these guesses, and with the help of some surface observations, can create an objective analysis, using LITTLE_R. RAWINS is an older version of LITTLE_R and thus LITTLE_R is more commonly used. Then INTERPF takes that data from RAWINS/LITTLE_R and REGRID to interpolate that data to the sigma coordinate explained above.
MM5 itself computes the time combination. The NESTDOWN function has the ability to change the vertical sigma levels. INTERPB generates the first guess for RAWINS, as well as gathers the files used to make guesses for REGRID. Finally, GRAPH/RIP generates the plots that users can view from all of the data given from the other programs.
RIP stands for Read/Interpolate/Plot, and it uses
NCAR
The US National Center for Atmospheric Research (NCAR ) is a US federally funded research and development center (FFRDC) managed by the nonprofit University Corporation for Atmospheric Research (UCAR) and funded by the National Science Foundatio ...
Graphics to help envisage the output from the MM5.
Memory and code basics
MM5 is written in
FORTRAN. These FORTRAN programs must be compiled on a local computer, and some need to be recompiled each time a model configuration is changed. The program uses pointers to assign variables to values. These pointers go into parts of the memory to assign specific values to the desired variables.
[http://www2.mmm.ucar.edu/mm5/documents/mm5-code-pdf/sec2.pdf ] MM5 can also perform multiple tasks at once. Specifically, two different tasks can be executed on different processors simultaneously and MM5 uses this as much as possible.
This multi-tasking also uses nesting, and MM5 allows up to nine
domains (processes) running at the same time and they interact throughout the whole process .
The model utilizes two-way nesting, which occurs when the input from one nest's coarse mesh, which is a high density of cells in one area, comes from one of the four boundaries, but the feedback to the coarser mesh happens through the nest interior.
Each domain gathers information from its parent domain each timestep, then it runs three
timesteps
''Walter Carlos' Clockwork Orange'' is a studio album by American musician and composer Wendy Carlos, released under her birth name Walter, in 1972 by Columbia Records. The album contains previously unreleased and complete tracks from her scor ...
, and then delivers the information back to its parent domain.
There are three different ways to do two-way nesting: Nest interpolation, nest analysis input, and nest terrain input.
Interpolation occurs when the terrain is smooth, such as water. There is no input that is required for this type of two-way nesting. Nest input requires a file called MMINPUT, and that file contains the meteorological and the terrain information so that initially, a better analysis can be done. Finally terrain input requires a TERRAIN file. Then the meteorological fields are
interpolated
In the mathematical field of numerical analysis, interpolation is a type of estimation, a method of constructing (finding) new data points based on the range of a discrete set of known data points.
In engineering and science, one often has a n ...
.
When multi-tasking occurs, the variables must be marked as either shared or private. Shared implies that the processors all have access to the same part of memory, while private implies that each processor must have its own private copy of an array with its personal memory location.
The multi-tasking occurs specifically in the subroutines Solve1, Solve3, and Sound.
Requirements
MM5 can be run in many different ways, depending on the computer. The model can be run on a single processor computer,
shared memory architecture
In computer science, shared memory is memory that may be simultaneously accessed by multiple programs with an intent to provide communication among them or avoid redundant copies. Shared memory is an efficient means of passing data between progr ...
or distributed memory architecture. It can be run on many different platforms as well such as
IBM, SGI origin 200/2000, CRAYs (J90, C90, T3E), DEC Alphas,
Alphas
''Alphas'' is an American superhero drama television series created by Zak Penn and Michael Karnow. It follows a group of people with superhuman abilities, known as "Alphas", as they work to prevent crimes committed by other Alphas.
The seri ...
running Linux, Sun, and more. The computer it is run on must have a
Fortran 90 and 77 compilers and a
C compiler
This page is intended to list all current compilers, compiler generators, interpreters, translators, tool foundations, assemblers, automatable command line interfaces ( shells), etc.
Ada Compilers
ALGOL 60 compilers
ALGOL 68 compilers
cf. ...
. Additionally, it can have NCAR graphics and MPI tools for running the MPI MM5 model. However, this is not necessary. The MM5 model takes up at least half a gigabyte of memory and a few gigabytes of
disk space
Computer data storage is a technology consisting of computer components and recording media that are used to retain digital data. It is a core function and fundamental component of computers.
The central processing unit (CPU) of a compute ...
.
Source code
The MM5 code itself has over 220
subroutines
In computer programming, a function or subroutine is a sequence of program instructions that performs a specific task, packaged as a unit. This unit can then be used in programs wherever that particular task should be performed.
Functions may ...
, with more than 55,000 lines of code. It uses Standard Fortran 77 with
“Cray” pointers. A list of the subroutines of all of the functions within the MM5, with a short description and the routines that are called within it can be found here.
Use
The MM5 had been adapted for use in many different types of atmospheric simulations:
* Real-time regional weather forecasts
*
Tropical cyclone
A tropical cyclone is a rapidly rotating storm system characterized by a low-pressure center, a closed low-level atmospheric circulation, strong winds, and a spiral arrangement of thunderstorms that produce heavy rain and squalls. Dep ...
prediction
*
Climate change
In common usage, climate change describes global warming—the ongoing increase in global average temperature—and its effects on Earth's climate system. Climate change in a broader sense also includes previous long-term changes to ...
simulation and projection
Developments and improvements
TERRAIN's latest update uses USGS global 30 sec terrain elevation data, which looks at the entire world, where before was only used in the continental United States.
This new update also allows for a better quality terrain image that can be used in MM5. REGRID's improvement makes it simpler for its users to input the data and it also is more portable.
LIITLE_R was developed in 2001 to replace RAWINS. LITTLE_R's improvement again makes it easier for users to input data.
See also
*
Weather Research and Forecasting Model
References
External links
MM5 homepage
{{DEFAULTSORT:Mm5
Numerical climate and weather models