ISSM: initialize from a MAT file#

Use this walkthrough after Basic ISSM. The retained native MAT run and both scientific figures have passed their artifact checks. The 263-second beginner tutorial shows the recorded setup, native output and cached result controls.

MAT walkthrough#

Watch · pause · try it

ISSM: initialize from a MAT file

Import four MATLAB sources and the gridded initial fields, run native ISSM and inspect the saved results.

Open CryoLauncher ↗Download inputs (.zip)13 chapters

1. Prepare your files and access

Do this:

Open Pilot Tutorials → Upload a dataset → download the native initial-condition packet. Extract it.

Have an approved login, connected AWS resources and configured MATLAB/Connector. Choose Cloud → Advanced → ISSM.

Why: Full geometry and velocity fields must initialize the actual native mesh.

Look for: Four scripts + issm-shelf-initial.mat; verified BYO AWS, MATLAB and Connector.

Scripts: native-data-issm-mat/ (all four files). Data: datasets/issm-shelf-initial.mat. Prerequisites are linked on the tutorial page.

2. Create an owned example

Do this:

In Editor, enter a new name and choose New example.

This recording uses pilot-issm-mat-1119. A new ISSM example can include a seeded runme.m that must be replaced with your real script.

The blue confirmation says the workspace example was created.

Keep this owned example selected while uploading and referencing the input. Source files and datasets use different controls.

Why: An owned example keeps your imported workflow separate from installed examples. Source imports and dataset attachments must belong to the same example.

Look for: the newly created workspace name.

A seeded runme.m must be replaced by the supplied MAT run script before launch. This is an editable workspace example, separate from the read-only application examples.

3. Upload the MAT file

Do this:

Scroll below Environment & resources in the left column to Datasets. Choose issm-shelf-initial.mat, then choose Upload. The selected-file count changes from 1 to 0 after upload.

This is a synthetic 5×9 gridded field file for a 10 km square shelf.

Why: The MAT file contains the full synthetic initial-condition grids.

Look for: one selected file becomes Uploaded: issm-shelf-initial.mat.

Upload stores the file. The script and schema-specific reader must still load it.

4. Reference the staged filename

Do this:

Select issm-shelf-initial.mat and choose Reference in example. Keep the baseline filename.

The confirmation gives data/issm-shelf-initial.mat. The run script must read that exact relative path.

Why: Referencing provides the exact relative path that runme.m reads.

Look for: data/issm-shelf-initial.mat; do not add data/ twice.

Do not add data/ twice. Referencing makes the bytes available; it does not start the model.

5. Import all four source files

Do this:

Choose runme.m, Launch.par, validate_launch_dataset.m and load_initial_conditions.m together.

Check Replace existing script files for the seeded runme.m, then choose Import script files.

The confirmation names all four imported files and says Files are saved.

The imported runme.m is now the actual MAT reader/ISSM workflow. All four script hashes were verified before launch and in the submitted snapshot.

Why: Replacement updates the new example’s starter runme.m. Only saved scripts enter the next run snapshot.

Look for: runme.m, Launch.par, validate_launch_dataset.m, load_initial_conditions.m.

The actual continuous take shows selected count 4, replacement enabled, the import action and then count 0. All four filenames must appear in the saved-file confirmation before you continue.

6. Confirm the entry script

Do this:

In Experiment, confirm Action = Run and Run target = runme.m.

Importing source files does not select a different target or submit an AWS job.

Choose Review & Launch. Confirm model ISSM and example pilot-issm-mat-1119, readiness and resources.

Scroll to the bottom of the review and choose Launch cloud run explicitly.

Why: The entrypoint chooses the MATLAB workflow that will execute. Review checks resources, readiness, configured license and Connector.

Look for: ISSM · pilot-issm-mat-1119; 2 vCPU and 8 GiB.

The four saved scripts and the referenced MAT file must all be present before review. Check 2 vCPU / 8 GiB and the existing license/Connector. Measured execution times appear in the completion card.

7. Watch the new submission

Do this:

Confirm Launch cloud run at the bottom of the review.

Watch the MAT experiment progress through Staging/Submitting, then wait for Queued, Running and Completed.

Why: The new submission is the run to monitor through completion.

Look for: Staging/Submitting, then Queued, Running and Completed.

The manifest links the actual saved source/data, pinned image, job and retained archive.

8a. Initial thickness

Do this:

Initial thickness is 300–500 m.

The axes span a 10 km square in metres.

Surface elevation is in metres.

This floating shelf uses consistent thickness, base and surface.

Initial speed is in metres/year.

The next diagnostic solve computes the native velocity field.

Why: The saved native figure shows the uploaded fields on the Triangle mesh. Floating-shelf base and surface must remain consistent with thickness. The diagnostic solver then computes the native velocity response.

Look for: Initial speed uses metres/year; this is not a transient time plot.

Exact saved native PNG, shown as the complete three-panel strip; this panel is outlined without stretching or altering pixels.

9. Verify initialization and completion

Do this:

Initialized thickness, base, surface, vx and vy match the uploaded file at all 13 native vertices, with maximum error 0.

One diagnostic SSA Stressbalance solve completed; no physical time advances.

Why: A file upload is useful only when its fields actually initialize the model.

Look for: All five fields × 13 native vertices: interpolation error 0.

Startup 220.723 s · AWS task 51.018 s · script 9.568328 s, including setup, mesh, initial plotting and solving.

10. Render the current velocity field

Do this:

Open Workspace → Results for the completed MAT run. Confirm StressbalanceSolution and Vel, then choose Render.

The enabled button changes while the retained native velocity field is rendered.

Why: Render updates the retained native field without rerunning the model.

Look for: the accepted MAT run’s 13-node velocity field.

This Results identity belongs to the accepted MAT run; the final native field contains 13 vertices and 16 triangles.

11. Inspect final native velocity

Do this:

This is the unchanged native PNG from the accepted archive, with full axes and colour bar.

Speed is 100–180 m/year, and Vel agrees with hypot(Vx,Vy). The initial and solved velocities need not match in the interior.

Why: Use the full axes, colour bar and velocity components together.

Look for: Speed 100–180 m/year; Vel agrees with hypot(Vx,Vy).

The mesh spans 10 km × 10 km. This diagnostic run has no transient time axis.

12. Interpret the checks precisely

Do this:

Arithmetic-node mean thickness is 402.307692 m. Node-RMS speed sqrt(mean(Vel²)) is 142.564238 m/year; convergence count is the scalar 12.

These metrics are not area-weighted.

Why: Arithmetic-node metrics differ from area-weighted triangle metrics.

Look for: Mean h 402.307692 m; node-RMS speed 142.564238 m/year; iteration count 12.

Five inferred non-front boundary vertices match input vx/vy. Saved spc arrays remain opaque; this boundary check is an inference, not direct decoding.

13. Prepare the archive download

Do this:

Choose Download results. When the fresh HTTPS link appears, use it to save this run’s archive.

The next step follows that link; the archive contains the native fields, figures, initialized arrays and provenance.

Click the fresh download link. The browser saved a 15-member ZIP with valid CRC.

Every file is byte-identical to the originally checked MAT archive. Keep the archive with its input, image and output hashes.

Why: The archive preserves fields, figures, initialization and runtime provenance. Keep the archive with its source, data, image and output hashes.

Look for: 15 CRC-valid members, byte-identical to the originally checked MAT archive.

Download preparation uses the completed run’s retained results. One native execution; this cached download does not rerun the solver. Repeatability and accuracy require separate checks.

Use native-data-issm-mat/runme.m, Launch.par, validate_launch_dataset.m and load_initial_conditions.m. Upload datasets/issm-shelf-initial.mat and reference data/issm-shelf-initial.mat. Read captions · Download video

Video (MP4) · Captions (VTT) · Sanitized native run and video receipt

The silent video gives Action, Why and Look-for instructions for the actual controls. The full initial three-panel plot remains visible, with the relevant thickness, surface or speed panel outlined. The scientific figures are exact saved archive members; the initial three-panel figure is cropped only for video readability.

Before you start#

Sign in to CryoLauncher with an approved account. Use your existing reviewed BYO AWS connection and MATLAB license/Connector configuration. The recording uses that verified native BYO route; it does not activate the planned hosted funding route. Review the actual resources and allowance before any launch.

Download the native initial-condition packet and extract it. The current packet contains the same five scientific files whose bytes were checked against this actual submitted run.

Where to find it after extraction

What to use

native-data-issm-mat/

runme.m, Launch.par, validate_launch_dataset.m, load_initial_conditions.m

datasets/

issm-shelf-initial.mat

These are synthetic analytic shelf fields, not observations or a serialized ISSM model. MATLAB’s load reads the numeric initial_conditions struct. This particular bounded schema/loader has been exercised; arbitrary MAT files, v7.3 files and unrelated dependencies are not qualified by this run. The complete HDF5/MAT schema and units remain available.

Follow the recorded controls#

  1. Choose Cloud → Advanced → ISSM. In the right-hand Workspace → Editor, enter a new example name and choose New example. Keep the owned example selected. The recorded name is pilot-issm-mat-1119.

  2. Scroll down the left column to Datasets. Choose issm-shelf-initial.mat with Choose data files, then choose the separate Upload button. Selecting a file alone does not upload it.

  3. Select the uploaded MAT file and choose Reference in example. Keep its baseline filename. Confirm the exact staged path is data/issm-shelf-initial.mat; do not add data/ twice.

  4. In Editor, choose all four source files from native-data-issm-mat/. Enable Replace existing script files for the seeded runme.m, then choose Import script files. The recorded selected-file count is four. Continue only when the success message names all four saved files.

  5. In Experiment, confirm Action = Run and Run target = runme.m. Import does not select a different target or launch a job.

  6. Choose Review & Launch. Check model ISSM, the owned MAT example, ready infrastructure, existing license/Connector, pinned image, resources and time limit. Scroll to the bottom of the review and choose Launch cloud run explicitly. Watch the run enter Staging and Queued.

  7. After actual completion, open the right-hand Workspace → Results, choose StressbalanceSolution → Vel, then Render. Confirm the Results identity names your MAT example and completed run.

  8. Choose Download results, use the fresh HTTPS link, and save/open the archive. Inspect the saved initial-condition figure, initialized MAT arrays, final native figure, fields, metrics and runtime/RNG metadata. Confirm that your browser saved the ZIP.

Recording scope: separate real takes and reading holds shorten setup and compute waits. Actual upload/reference, corrected four-file import, cached Render and Download actions are retained, together with exact native figures. The failed initial import is excluded and the final launch-confirmation click was below the original crop; subsequent MAT Staging/Submitting states are shown. Cached Results actions use the same completed run, without rerunning the solver.

What the MAT file initializes#

The uploaded structured grid is 5 × 9 over 10 km × 10 km. Fields contain thickness, base, surface, vx, vy and an all-floating mask; coordinates/geometry are metres and velocity is metres/year. Density metadata is 917/1028 kg m⁻³ for ice/water, and temperature is 253.15 K. The loader checks the schema, units, coverage, finite values and hydrostatic consistency.

MATLAB interp2 initializes md.geometry.thickness/base/surface and md.initialization.vx/vy/vel at every native vertex. After SetIceShelfBC, the reviewed Launch.par prescribes uploaded/interpolated synthetic vx/vy only on the existing finite velocity constraints, preserving NaN entries at the east calving front. Synthetic fields are not labelled as observations. This source member is SHA-256 65585ecc35704fa180fad5cf048ce21a9cbacd162edc55f2ca29037753db0388.

The saved pre-solve arrays match independent interpolation of all five thickness/base/surface/vx/vy fields at all 13 native vertices, with zero maximum absolute error for each. Floating-base and surface-closure errors are also zero in those retained numeric arrays. These are initialization checks, not a guarantee that diagnostic interior velocity stays at its initial guess.

Exact saved initial MAT thickness and surface in meters, speed in meters per year; horizontal coordinates are meters

Checked native outcome and limits#

One diagnostic SSA Stressbalance solve completed successfully. It does not advance physical time. The mesh has 13 vertices and 16 triangles, covering 100,000,000 m². Vx, Vy, Vel and Pressure are finite at all 13 nodes; StressbalanceConvergenceNumSteps is a separate scalar 12. Vel agrees with hypot(Vx,Vy) to a maximum absolute difference of about 2.84e−14 m/year.

The reported thickness range is 300–500 m. The checked arithmetic-node mean thickness is 402.307692 m and node-RMS speed sqrt(mean(Vel.^2)) is 142.564238 m/year. These metrics are not area-weighted; do not compare them as equality with Icepack’s differently weighted example metrics. Final speed spans 100–180 m/year.

Exact native ISSM MAT speed, meters per year; x and y are meters

A topology-based check inferred five non-front boundary vertices, conservatively excluding all x=L front vertices including corners. Their solved Vx/Vy equal the uploaded/interpolated values. This is an inferred observable-field check: the saved MATLAB MCOS model and actual spc arrays remain opaque to these readers. No direct constraint-array or final geometry decoding is claimed.

The browser ZIP is 268,858 bytes, with 15 CRC-valid members, SHA-256 0f54f3fd12221a4c833f316e73e6a96ef7b36d6c229dde6d3c461699c3dc0c33. The later recorded cached download has SHA-256 b26363bb8fcad85bfb80eb35c32a7b50a0a8b0371013830f5d9eb3bc712615b7; all 15 member hashes are identical to the original archive. Only ZIP packaging metadata differs. Actual submitted source/data hashes, pinned image and retained archive/member hashes bind these checks to this run. MATLAB is R2024b Update 7, ISSM 2026.1. The run used 2 vCPU / 8 GiB. Submission to Batch start took 220.723 s, the task 51.018 s, and the script-reported interval 9.568328 s. The script interval includes setup, meshing, initial plotting and solving; it is not pure solver timing. The displayed 60-minute estimate is not measured model time.

MATLAB global RNG state was captured without resetting/advancing it; Triangle’s internal seed and script/library-owned generators remain unobserved. This is one native execution, with no independent repeat, PC/AWS agreement, cross-model equivalence or scientific accuracy claim.

Recording matrix · All pilot tutorials