Skip to content

Latest commit

 

History

History
386 lines (262 loc) · 11.2 KB

USER_GUIDE.md

File metadata and controls

386 lines (262 loc) · 11.2 KB

MPAS Configuration Studio User Guide — V1.0.0

Who this guide is for

This guide is for both new and experienced MPAS users across all four modules.

If you are completely new to MPAS, start with:

V1.0.0 scope

Scientific authority Namelist records Options Registry Streams declarations
MPAS-Model v8.4.2: Atmosphere 14 166 12
MPAS-Model v8.4.2: Init Atmosphere 9 55 5
MPAS-Model v8.4.2: Ocean 86 946 55
E3SM v3.0.2: Ocean 118 1,303 71
MPAS-Model v8.4.2: Seaice 41 403 39
E3SM v3.0.2: Seaice 45 472 53
MPAS-Model v8.4.2: Landice 13 106 7
E3SM v3.0.2: MALI 15 176 8
Total 341 3,627 250

Counts describe the source inventories, not the number of values active in every mode or compiled build. The Atmosphere catalog includes conditional declarations. E3SM uses EAM/EAMxx rather than MPAS-Atmosphere, so no E3SM Atmosphere provider is included.

Capability Atmosphere Global Atmosphere LAM Ocean (standalone / E3SM) Seaice (standalone / E3SM) MALI (standalone / E3SM)
Namelist editing and validation Yes Independent draft Yes / Yes Yes / Yes Yes / Yes
Native namelist download Yes Selected files or ZIP Yes / Yes Internal serializer; no wired download in standalone editor / Yes Yes / Yes
Streams Edit, import, export Edit supported attributes and export Edit, validate, export / advisory reference Read-only / read-only Read-only / read-only
Project persistence Review-before-apply ZIP No saved LAM project Source-specific project workflows Session working state Session working state
Mesh workflow Official selection, placement, HFUN design, external build packages Regional native mesh required externally Preview only Preview only Preview only
Model execution External External External External External

For the E3SM providers, CIME definitions and conditional defaults are reference metadata. Studio does not generate, build, or execute a coupled CIME case. A native reference or exported namelist is not a complete simulation package.

Use Home / Change Module to switch workspaces. Read the current module tutorial: Atmosphere LAM, Ocean, Seaice, or MALI. The remainder of this guide describes the detailed Global Atmosphere workflow, including its distinctive Project Bundle and mesh-to-run capabilities.

Main workflow

Mesh
    ↓
Mesh Generation
    ↓
Static Fields `static.nc`
    ↓
Initial Conditions `init.nc`
    ↓
Atmosphere Run Package Atmosphere run package
    ↓
Final Workflow Validation final Studio validation
    ↓
external MPAS runtime

Mesh workspace

The Mesh workspace contains separate authoring paths for:

  • Official Mesh
  • Custom Mesh

Official Mesh

Use an existing MPAS mesh.

Supported variable-resolution official meshes may be relocated through the Official Mesh Placement workflow.

Custom Mesh

Design a new target spacing pattern using:

  • center latitude/longitude;
  • hmin;
  • hmax;
  • fine radius;
  • transition width.

Active Mesh Source

A mesh becomes authoritative for generation/export only after explicit activation.

Use:

Use Selected Official Mesh

or:

Use This Custom Design

Map display state is intentionally separate from export authority.

Mesh Generation workspace

The Mesh Generation workspace consumes the active mesh source.

Official and custom meshes follow different source-backed package paths.

See:

Initialization workspace

Initialization configures the init_atmosphere core.

The shared configuration workspace includes:

  • Editor
  • Text
  • Documentation
  • Validation

The V1 workflow also adds:

  • Static Fields
  • Initial Conditions

Static Fields / Static Fields

Creates a deterministic package for generating:

static.nc

See:

Initial Conditions / Initial Conditions

Creates a deterministic package for generating:

init.nc

Initial Conditions uses:

  • Static Fields static.nc;
  • a WPS ungrib.exe intermediate file;
  • a matching MPI partition when running in parallel.

See:

Atmosphere workspace

Atmosphere configures the atmosphere core.

The V1 workflow adds a Run Package subpage.

Atmosphere Run Package packages:

  • current namelist.atmosphere;
  • current streams.atmosphere;
  • current external stream lists;
  • validation evidence;
  • run-directory assembly logic;
  • runtime-file staging instructions.

See:

Streams workspace

Streams controls MPAS input/output declarations.

The Studio supports:

streams.init_atmosphere
streams.atmosphere
stream_list.*

The Streams workflow supports:

  • editing;
  • text views;
  • import/export;
  • external list membership;
  • documentation;
  • validation;
  • review-before-apply imports.

Validation

The Studio contains source-backed validation for:

  • Namelist;
  • Streams;
  • cross-configuration compatibility;
  • integrated project state.

Blocking findings prevent gated package creation.

Warnings and information remain visible without automatically becoming hard errors.

Final Workflow Validation

Open:

Project -> Final Workflow Validation (Final Workflow Validation)

A passing result uses:

pass_studio_validated_runtime_unverified

Final Workflow Validation intentionally records real MPAS runtime execution as not verified in the browser.

See:

Project Bundles

What is a Project Bundle?

A Project Bundle is a portable ZIP for saving, sharing, archiving, and reopening the complete Studio project.

Standard filename:

mpas-configuration-project.zip

Typical contents

project.json
config/
  namelist.init_atmosphere
  namelist.atmosphere
  streams.init_atmosphere
  streams.atmosphere
  stream_list.*
mesh/
  mesh-descriptor.json
validation/
  validation-report.json
README.txt

The validation report is included only when validation evidence is available and selected for export.

Native files remain portable

The files under config/ are normal MPAS configuration artifacts.

These files can be extracted from the ZIP archive and transferred to another workstation, Linux system, HPC cluster, or MPAS installation.

Configuration Studio is not required for these extracted native files.

What is project.json?

project.json is the Studio reproducibility manifest.

It preserves:

  • schema identity;
  • Studio identity;
  • MPAS source/provenance identity;
  • native Namelist artifacts;
  • native Streams artifacts;
  • active mesh information;
  • optional validation evidence.

MPAS itself does not read project.json.

Opening a Project Bundle

Opening a Project Bundle is a review-before-apply operation.

The Studio verifies the archive and presents the review.

The current project is not replaced until you choose:

Apply Project

If the native MPAS artifacts disagree with the canonical project manifest, the bundle is considered inconsistent and Apply is blocked.

Raw JSON project compatibility

The portable ZIP Project Bundle is the preferred V1.0.0 project format, but the Studio also preserves compatibility with the earlier raw JSON project representation where supported. Raw JSON compatibility does not bypass project review, validation semantics, or mesh-source authority.

Validation evidence after reopening

Stored validation evidence is historical evidence.

Opening or applying the Project Bundle does not mean Configuration Studio has rerun those validation checks.

If validation results existed before a different project was applied, those older results are not silently treated as validation of the newly applied project.

After applying an imported project, run validation again when you need current validation evidence.

Exact official-mesh visualization data

All 24 official Atmosphere meshes remain selectable. The release includes exact-cell MPCT products for 17 and intentionally omits the seven dense meshes below. Lightweight catalog metadata and native download links remain available. The 5 Ocean, 7 Seaice, and 7 MALI previews are included: 36 hosted previews out of 43 total selections.

Download-only Atmosphere mesh Nominal spacing
x1.4096002 12 km
x1.5898242 10 km
x1.10485762 7.5 km
x1.23592962 5 km
x1.36864002 4 km
x1.41943042 3.75 km
x1.65536002 3 km

The official mesh baseline is MPAS-Atmosphere v8.4.1, distinct from the v8.4.2 configuration authority. A complete historical 24-mesh exact-cell runtime is much larger and is not required for V1.0.0. Native NetCDF mesh files are separate from MPCT visualization products. See Official Mesh Rendering Policy for details.

Running the test inventory

From the repository root:

for test in tools/test_*.js; do
    node "$test" || break
done

for test in tools/test_*.py; do
    python3 "$test" || break
done

The full accepted Workhorse inventory passed 217/217, with zero failures or blocked tests. Some tests require the 17 hosted exact-cell payloads and a pinned upstream E3SM checkout; a source-only archive may not satisfy those prerequisites.

Beginner help

Technical documentation

Upstream references

Runtime limitation statement

The Studio validates and packages browser-side workflow state. It does not claim a completed scientific MPAS run until the generated workflow is actually executed on a machine with the required MPAS runtime and input data.