Skip to content

Latest commit

 

History

History
365 lines (237 loc) · 8.77 KB

BEGINNER_GUIDE.md

File metadata and controls

365 lines (237 loc) · 8.77 KB

Beginner Guide: MPAS and MPAS Configuration Studio

Start with Tutorial 00, then choose Global Atmosphere, LAM, Ocean, Seaice, or MALI. No compiled model is needed to explore or edit configurations.

1. What is MPAS?

MPAS is the Model for Prediction Across Scales.

The Studio covers four components: Atmosphere (weather and climate), Ocean (circulation and tracers), Seaice (floating sea ice), and MALI (glaciers, ice sheets, and ice shelves). Atmosphere has two native cores and both Global and LAM workflows. Ocean, Seaice, and MALI each have standalone v8.4.2 and E3SM v3.0.2 providers.

MPAS-Atmosphere solves atmospheric equations on a spherical mesh. The mesh is made from polygonal cells rather than a conventional latitude/longitude grid.

One important advantage is that the cell spacing can vary smoothly across the globe. A mesh can use coarse resolution over most of the world and much finer resolution over a region of interest.

2. What is MPAS Configuration Studio?

MPAS Configuration Studio is a browser-based configuration and workflow-preparation environment.

It helps with:

mesh choice/design
configuration
validation
project reproducibility
preprocessing packages
run-directory assembly

It does not replace the actual MPAS model executable.

Think of the Studio as the place where you prepare and check the files and instructions that a real MPAS installation will later use.

3. What are the two Atmosphere cores?

The remainder of the mesh-to-run examples below focus on the Global Atmosphere workflow and its two native cores. For LAM and other components, follow their module-specific tutorials.

init_atmosphere

This is the preprocessing core.

The Studio uses it for:

Static Fields -> static.nc
Initial Conditions -> init.nc

atmosphere

This is the atmospheric forecast/model core.

It uses the prepared initial conditions, mesh, decomposition, physics tables, Namelist, and Streams configuration.

4. What is a mesh?

A mesh is the computational grid.

Many MPAS meshes cover the sphere with cells; regional, Cartesian idealized, and georeferenced projected meshes also exist. A single-cell Seaice preview is a point.

A mesh determines:

  • where model cells are located;
  • how large the cells are;
  • which cells are neighbors;
  • how the model domain is decomposed for parallel execution.

Quasi-uniform mesh

Cell spacing is approximately similar across the globe.

Variable-resolution mesh

Cell spacing changes geographically.

For example:

coarser global background
        ↓
transition region
        ↓
fine regional refinement

5. Official mesh vs custom mesh

The Studio has two different mesh-authoring paths.

Official mesh

An existing mesh already has its topology and resolution pattern.

You may select it directly.

For supported official variable-resolution meshes, the Studio can relocate the existing refinement pattern.

Relocation does not redesign the mesh.

Custom mesh

A custom mesh begins with your own desired resolution pattern.

You define:

  • refinement center latitude;
  • refinement center longitude;
  • fine resolution;
  • background resolution;
  • fine radius;
  • transition width.

The Studio creates a deterministic design package. MPAS-Tools/JIGSAW is then used outside the browser to create the real mesh.

6. What is HFUN?

HFUN is the resolution-function concept used by the custom-mesh workflow.

In practical beginner terms:

HFUN describes how large the cells should be at different places.

The map preview is a visualization of the target spacing. It is not itself the finished MPAS mesh.

7. What is the Active Mesh Source?

The Studio intentionally separates:

  • what is displayed on the map; and
  • what is authoritative for export/generation.

You must explicitly choose:

Use Selected Official Mesh

or:

Use This Custom Design

This prevents an accidental map click or preview from silently changing the scientific source of the generated project.

8. What is a Namelist?

A Namelist is a text configuration file used by MPAS.

The Studio supports:

namelist.init_atmosphere
namelist.atmosphere

A Namelist contains options such as:

  • start time;
  • run duration;
  • time step;
  • physics choices;
  • initialization mode;
  • vertical levels.

The Studio does not invent a separate replacement format. It edits and exports native MPAS Namelist files.

9. What are Streams files?

Streams define model input and output behavior.

The Studio supports:

streams.init_atmosphere
streams.atmosphere
stream_list.*

Streams can define things such as:

  • input files;
  • output files;
  • intervals;
  • which variables belong to a stream.

10. What is graph.info?

graph.info represents mesh connectivity in a form used for decomposition.

When you run with multiple MPI tasks, MPAS needs a partition file.

Examples:

graph.info.part.2
graph.info.part.8
graph.info.part.32

The number at the end corresponds to the requested MPI task count.

11. What is static.nc?

static.nc contains mesh-dependent geographic fields such as terrain and land surface information.

It is created in Static Fields.

A valid static.nc may be reusable for different initialization dates if the mesh geography and relevant static-data settings are unchanged.

A relocated official mesh needs a new static.nc because the cells are now at different geographic locations.

12. What is init.nc?

init.nc is the atmospheric initial-condition file produced in Initial Conditions.

It combines:

static.nc
+
meteorological first-guess data
+
vertical-grid setup

13. What meteorological file does Initial Conditions use?

Initial Conditions uses a WPS intermediate file produced by ungrib.exe.

Example:

FILE:2026-06-15_00

It does not use a WRF met_em.d0*.nc file.

14. What is MPI?

MPI is a common method for running scientific models across multiple processes.

If you choose 8 MPI tasks, the workflow normally needs:

graph.info.part.8

Static Fields static interpolation is intentionally serial in the Studio workflow.

Initial Conditions and the Atmosphere model may use multiple MPI tasks.

15. What is a Project Bundle?

The Project Bundle is a portable ZIP used to save the Studio project.

It includes native MPAS configuration files plus the information the Studio needs to reconstruct the project.

MPAS itself does not read project.json.

You can extract the native files and use them on another system.

16. What does validation mean?

The Studio contains multiple validation layers.

It can check:

  • Namelist values;
  • Streams structure;
  • reviewed cross-configuration relationships;
  • complete Studio workflow contracts.

Validation results may be:

  • blocking;
  • warning;
  • information.

A warning does not automatically mean the configuration is invalid.

17. What does Final Workflow Validation mean?

Final Workflow Validation is the final browser-verifiable Studio workflow gate.

A successful result is:

pass_studio_validated_runtime_unverified

That means:

  • the Studio-side workflow passed;
  • project reproducibility passed;
  • the current configuration has no blocking integrated findings;
  • the real MPAS runtime was not executed by the browser.

18. What do I need to run real MPAS?

Depending on your workflow, you may need:

  • a compiled MPAS-Model 8.4.2 installation;
  • MPI;
  • NetCDF and related compiled dependencies;
  • init_atmosphere_model;
  • atmosphere_model;
  • MPAS runtime physics tables;
  • WPS geographic data;
  • WPS intermediate meteorological files;
  • MPAS-Tools;
  • JIGSAW for custom mesh generation;
  • ncdump;
  • Python 3.

The Studio helps prepare and validate the workflow, but those external runtime requirements remain outside the browser.

19. Recommended first workflow

For a new user:

Launch Studio
    ↓
Select an official mesh
    ↓
Use Selected Official Mesh
    ↓
Inspect Initialization configuration
    ↓
Inspect Atmosphere configuration
    ↓
Run validation
    ↓
Export Project Bundle

Do this before attempting custom mesh generation or a real forecast.

20. Next step

Continue with:

21. Scientific providers, presets, and CIME

A provider identifies the actual source Registry version. E3SM and standalone options can have different types, defaults, records, and accepted settings. Presets are examples, not a guarantee of a runnable experiment. CIME conditional defaults are references, not automatically resolved coupled-case settings. Use validation for known constraints and upstream scientific instructions for real runs.