# ISSM: initialize from a MAT file

Use this walkthrough after [Basic ISSM](basic_issm.md). 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

<link rel="stylesheet" href="videos/cryostack-pilot-player-20261119.css">
<section id="pilot-mat-player" data-cryostack-pilot-player data-pilot-cinema="false" role="region" aria-labelledby="pilot-mat-title">
  <header class="pilot-heading"><p class="pilot-eyebrow">Watch · pause · try it</p><h2 id="pilot-mat-title">ISSM: initialize from a MAT file</h2><p>Import four MATLAB sources and the gridded initial fields, run native ISSM and inspect the saved results.</p></header>
  <div class="pilot-stage" id="pilot-mat-stage"><video id="pilot-mat-video" controls playsinline muted preload="metadata" poster="videos/issm-own-mat-data-wide.poster.jpg" aria-label="ISSM: initialize from a MAT file guided tutorial"><source src="videos/issm-own-mat-data-wide.mp4" type="video/mp4"><track kind="captions" src="videos/issm-own-mat-data-wide.vtt" srclang="en" label="English captions"><a href="videos/issm-own-mat-data-wide.mp4">Download the tutorial video</a>.</video></div>
  <div class="pilot-controls"><button type="button" data-pilot-guided-start data-pilot-enhancement class="pilot-primary" aria-pressed="false" hidden>Start guided walkthrough</button><label class="pilot-guided-option" data-pilot-enhancement hidden><input type="checkbox" data-pilot-guided-toggle> Pause after each step</label><button type="button" data-pilot-try data-pilot-enhancement hidden>Pause and try this step</button><button type="button" data-pilot-cinema data-pilot-enhancement aria-pressed="false" aria-expanded="false" aria-controls="pilot-mat-player" hidden>Cinema view</button><a class="pilot-action" href="https://cryostack.eas.gatech.edu/cryolauncher/" target="_blank" rel="noopener noreferrer">Open CryoLauncher ↗</a><a class="pilot-action" href="https://cryostack.eas.gatech.edu/_downloads/b17f3f65614301ba826ad952db56c404/native-initial-conditions-packet.zip">Download inputs (.zip)</a><span class="pilot-step-count" data-pilot-count>13 chapters</span></div>
  <p class="pilot-guided-help" data-pilot-guided-help hidden>Guided mode pauses after each recorded confirmation. Try the action, then Continue. Mark the checklist yourself after doing each step.</p>
  <div class="pilot-learning"><nav class="pilot-chapters" aria-label="ISSM: initialize from a MAT file chapters"><h3>Chapters</h3><ol><li><a data-pilot-chapter href="#pilot-mat-mat-01" aria-label="Go to 00:00: 1. Prepare your files and access"><span class="pilot-time">00:00</span><span>1. Prepare your files and access</span></a></li><li><a data-pilot-chapter href="#pilot-mat-mat-02" aria-label="Go to 00:15: 2. Create an owned example"><span class="pilot-time">00:15</span><span>2. Create an owned example</span></a></li><li><a data-pilot-chapter href="#pilot-mat-mat-04" aria-label="Go to 00:39: 3. Upload the MAT file"><span class="pilot-time">00:39</span><span>3. Upload the MAT file</span></a></li><li><a data-pilot-chapter href="#pilot-mat-mat-05" aria-label="Go to 01:02: 4. Reference the staged filename"><span class="pilot-time">01:02</span><span>4. Reference the staged filename</span></a></li><li><a data-pilot-chapter href="#pilot-mat-mat-06" aria-label="Go to 01:23: 5. Import all four source files"><span class="pilot-time">01:23</span><span>5. Import all four source files</span></a></li><li><a data-pilot-chapter href="#pilot-mat-mat-08" aria-label="Go to 01:54: 6. Confirm the entry script"><span class="pilot-time">01:54</span><span>6. Confirm the entry script</span></a></li><li><a data-pilot-chapter href="#pilot-mat-mat-10" aria-label="Go to 02:15: 7. Watch the new submission"><span class="pilot-time">02:15</span><span>7. Watch the new submission</span></a></li><li><a data-pilot-chapter href="#pilot-mat-mat-11" aria-label="Go to 02:25: 8a. Initial thickness"><span class="pilot-time">02:25</span><span>8a. Initial thickness</span></a></li><li><a data-pilot-chapter href="#pilot-mat-mat-14" aria-label="Go to 02:46: 9. Verify initialization and completion"><span class="pilot-time">02:46</span><span>9. Verify initialization and completion</span></a></li><li><a data-pilot-chapter href="#pilot-mat-mat-15" aria-label="Go to 03:00: 10. Render the current velocity field"><span class="pilot-time">03:00</span><span>10. Render the current velocity field</span></a></li><li><a data-pilot-chapter href="#pilot-mat-mat-16" aria-label="Go to 03:16: 11. Inspect final native velocity"><span class="pilot-time">03:16</span><span>11. Inspect final native velocity</span></a></li><li><a data-pilot-chapter href="#pilot-mat-mat-17" aria-label="Go to 03:32: 12. Interpret the checks precisely"><span class="pilot-time">03:32</span><span>12. Interpret the checks precisely</span></a></li><li><a data-pilot-chapter href="#pilot-mat-mat-18" aria-label="Go to 03:48: 13. Prepare the archive download"><span class="pilot-time">03:48</span><span>13. Prepare the archive download</span></a></li></ol></nav><div class="pilot-instructions" data-pilot-instructions><p class="pilot-check-progress" data-pilot-enhancement hidden><output data-pilot-progress aria-live="polite">0 of 13 steps checked</output> · notes stay in this page visit</p><article class="pilot-step" data-pilot-step id="pilot-mat-mat-01"><h3 id="pilot-mat-mat-01-title" tabindex="-1">1. Prepare your files and access</h3><p><strong>Do this:</strong></p><p>Open Pilot Tutorials → Upload a dataset → download the native initial-condition packet. Extract it.</p><p>Have an approved login, connected AWS resources and configured MATLAB/Connector. Choose Cloud → Advanced → ISSM.</p><p><strong>Why:</strong> Full geometry and velocity fields must initialize the actual native mesh.</p><p><strong>Look for:</strong> Four scripts + issm-shelf-initial.mat; verified BYO AWS, MATLAB and Connector.</p><p class="pilot-note">Scripts: native-data-issm-mat/ (all four files). Data: datasets/issm-shelf-initial.mat. Prerequisites are linked on the tutorial page.</p><label class="pilot-check" for="pilot-mat-mat-01-check"><input id="pilot-mat-mat-01-check" type="checkbox" data-pilot-check aria-labelledby="pilot-mat-mat-01-title pilot-mat-mat-01-label"><span id="pilot-mat-mat-01-label">I’ve checked this step</span></label></article><article class="pilot-step" data-pilot-step id="pilot-mat-mat-02"><h3 id="pilot-mat-mat-02-title" tabindex="-1">2. Create an owned example</h3><p><strong>Do this:</strong></p><p>In Editor, enter a new name and choose New example.</p><p>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.</p><p>The blue confirmation says the workspace example was created.</p><p>Keep this owned example selected while uploading and referencing the input. Source files and datasets use different controls.</p><p><strong>Why:</strong> An owned example keeps your imported workflow separate from installed examples. Source imports and dataset attachments must belong to the same example.</p><p><strong>Look for:</strong> the newly created workspace name.</p><p class="pilot-note">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.</p><label class="pilot-check" for="pilot-mat-mat-02-check"><input id="pilot-mat-mat-02-check" type="checkbox" data-pilot-check aria-labelledby="pilot-mat-mat-02-title pilot-mat-mat-02-label"><span id="pilot-mat-mat-02-label">I’ve checked this step</span></label></article><article class="pilot-step" data-pilot-step id="pilot-mat-mat-04"><h3 id="pilot-mat-mat-04-title" tabindex="-1">3. Upload the MAT file</h3><p><strong>Do this:</strong></p><p>Scroll below Environment &amp; 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.</p><p>This is a synthetic 5×9 gridded field file for a 10 km square shelf.</p><p><strong>Why:</strong> The MAT file contains the full synthetic initial-condition grids.</p><p><strong>Look for:</strong> one selected file becomes Uploaded: issm-shelf-initial.mat.</p><p class="pilot-note">Upload stores the file. The script and schema-specific reader must still load it.</p><label class="pilot-check" for="pilot-mat-mat-04-check"><input id="pilot-mat-mat-04-check" type="checkbox" data-pilot-check aria-labelledby="pilot-mat-mat-04-title pilot-mat-mat-04-label"><span id="pilot-mat-mat-04-label">I’ve checked this step</span></label></article><article class="pilot-step" data-pilot-step id="pilot-mat-mat-05"><h3 id="pilot-mat-mat-05-title" tabindex="-1">4. Reference the staged filename</h3><p><strong>Do this:</strong></p><p>Select issm-shelf-initial.mat and choose Reference in example. Keep the baseline filename.</p><p>The confirmation gives data/issm-shelf-initial.mat. The run script must read that exact relative path.</p><p><strong>Why:</strong> Referencing provides the exact relative path that runme.m reads.</p><p><strong>Look for:</strong> data/issm-shelf-initial.mat; do not add data/ twice.</p><p class="pilot-note">Do not add data/ twice. Referencing makes the bytes available; it does not start the model.</p><label class="pilot-check" for="pilot-mat-mat-05-check"><input id="pilot-mat-mat-05-check" type="checkbox" data-pilot-check aria-labelledby="pilot-mat-mat-05-title pilot-mat-mat-05-label"><span id="pilot-mat-mat-05-label">I’ve checked this step</span></label></article><article class="pilot-step" data-pilot-step id="pilot-mat-mat-06"><h3 id="pilot-mat-mat-06-title" tabindex="-1">5. Import all four source files</h3><p><strong>Do this:</strong></p><p>Choose runme.m, Launch.par, validate_launch_dataset.m and load_initial_conditions.m together.</p><p>Check Replace existing script files for the seeded runme.m, then choose Import script files.</p><p>The confirmation names all four imported files and says Files are saved.</p><p>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.</p><p><strong>Why:</strong> Replacement updates the new example’s starter runme.m. Only saved scripts enter the next run snapshot.</p><p><strong>Look for:</strong> runme.m, Launch.par, validate_launch_dataset.m, load_initial_conditions.m.</p><p class="pilot-note">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.</p><label class="pilot-check" for="pilot-mat-mat-06-check"><input id="pilot-mat-mat-06-check" type="checkbox" data-pilot-check aria-labelledby="pilot-mat-mat-06-title pilot-mat-mat-06-label"><span id="pilot-mat-mat-06-label">I’ve checked this step</span></label></article><article class="pilot-step" data-pilot-step id="pilot-mat-mat-08"><h3 id="pilot-mat-mat-08-title" tabindex="-1">6. Confirm the entry script</h3><p><strong>Do this:</strong></p><p>In Experiment, confirm Action = Run and Run target = runme.m.</p><p>Importing source files does not select a different target or submit an AWS job.</p><p>Choose Review &amp; Launch. Confirm model ISSM and example pilot-issm-mat-1119, readiness and resources.</p><p>Scroll to the bottom of the review and choose Launch cloud run explicitly.</p><p><strong>Why:</strong> The entrypoint chooses the MATLAB workflow that will execute. Review checks resources, readiness, configured license and Connector.</p><p><strong>Look for:</strong> ISSM · pilot-issm-mat-1119; 2 vCPU and 8 GiB.</p><p class="pilot-note">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.</p><label class="pilot-check" for="pilot-mat-mat-08-check"><input id="pilot-mat-mat-08-check" type="checkbox" data-pilot-check aria-labelledby="pilot-mat-mat-08-title pilot-mat-mat-08-label"><span id="pilot-mat-mat-08-label">I’ve checked this step</span></label></article><article class="pilot-step" data-pilot-step id="pilot-mat-mat-10"><h3 id="pilot-mat-mat-10-title" tabindex="-1">7. Watch the new submission</h3><p><strong>Do this:</strong></p><p>Confirm Launch cloud run at the bottom of the review.</p><p>Watch the MAT experiment progress through Staging/Submitting, then wait for Queued, Running and Completed.</p><p><strong>Why:</strong> The new submission is the run to monitor through completion.</p><p><strong>Look for:</strong> Staging/Submitting, then Queued, Running and Completed.</p><p class="pilot-note">The manifest links the actual saved source/data, pinned image, job and retained archive.</p><label class="pilot-check" for="pilot-mat-mat-10-check"><input id="pilot-mat-mat-10-check" type="checkbox" data-pilot-check aria-labelledby="pilot-mat-mat-10-title pilot-mat-mat-10-label"><span id="pilot-mat-mat-10-label">I’ve checked this step</span></label></article><article class="pilot-step" data-pilot-step id="pilot-mat-mat-11"><h3 id="pilot-mat-mat-11-title" tabindex="-1">8a. Initial thickness</h3><p><strong>Do this:</strong></p><p>Initial thickness is 300–500 m.</p><p>The axes span a 10 km square in metres.</p><p>Surface elevation is in metres.</p><p>This floating shelf uses consistent thickness, base and surface.</p><p>Initial speed is in metres/year.</p><p>The next diagnostic solve computes the native velocity field.</p><p><strong>Why:</strong> 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.</p><p><strong>Look for:</strong> Initial speed uses metres/year; this is not a transient time plot.</p><p class="pilot-note">Exact saved native PNG, shown as the complete three-panel strip; this panel is outlined without stretching or altering pixels.</p><label class="pilot-check" for="pilot-mat-mat-11-check"><input id="pilot-mat-mat-11-check" type="checkbox" data-pilot-check aria-labelledby="pilot-mat-mat-11-title pilot-mat-mat-11-label"><span id="pilot-mat-mat-11-label">I’ve checked this step</span></label></article><article class="pilot-step" data-pilot-step id="pilot-mat-mat-14"><h3 id="pilot-mat-mat-14-title" tabindex="-1">9. Verify initialization and completion</h3><p><strong>Do this:</strong></p><p>Initialized thickness, base, surface, vx and vy match the uploaded file at all 13 native vertices, with maximum error 0.</p><p>One diagnostic SSA Stressbalance solve completed; no physical time advances.</p><p><strong>Why:</strong> A file upload is useful only when its fields actually initialize the model.</p><p><strong>Look for:</strong> All five fields × 13 native vertices: interpolation error 0.</p><p class="pilot-note">Startup 220.723 s · AWS task 51.018 s · script 9.568328 s, including setup, mesh, initial plotting and solving.</p><label class="pilot-check" for="pilot-mat-mat-14-check"><input id="pilot-mat-mat-14-check" type="checkbox" data-pilot-check aria-labelledby="pilot-mat-mat-14-title pilot-mat-mat-14-label"><span id="pilot-mat-mat-14-label">I’ve checked this step</span></label></article><article class="pilot-step" data-pilot-step id="pilot-mat-mat-15"><h3 id="pilot-mat-mat-15-title" tabindex="-1">10. Render the current velocity field</h3><p><strong>Do this:</strong></p><p>Open Workspace → Results for the completed MAT run. Confirm StressbalanceSolution and Vel, then choose Render.</p><p>The enabled button changes while the retained native velocity field is rendered.</p><p><strong>Why:</strong> Render updates the retained native field without rerunning the model.</p><p><strong>Look for:</strong> the accepted MAT run’s 13-node velocity field.</p><p class="pilot-note">This Results identity belongs to the accepted MAT run; the final native field contains 13 vertices and 16 triangles.</p><label class="pilot-check" for="pilot-mat-mat-15-check"><input id="pilot-mat-mat-15-check" type="checkbox" data-pilot-check aria-labelledby="pilot-mat-mat-15-title pilot-mat-mat-15-label"><span id="pilot-mat-mat-15-label">I’ve checked this step</span></label></article><article class="pilot-step" data-pilot-step id="pilot-mat-mat-16"><h3 id="pilot-mat-mat-16-title" tabindex="-1">11. Inspect final native velocity</h3><p><strong>Do this:</strong></p><p>This is the unchanged native PNG from the accepted archive, with full axes and colour bar.</p><p>Speed is 100–180 m/year, and Vel agrees with hypot(Vx,Vy). The initial and solved velocities need not match in the interior.</p><p><strong>Why:</strong> Use the full axes, colour bar and velocity components together.</p><p><strong>Look for:</strong> Speed 100–180 m/year; Vel agrees with hypot(Vx,Vy).</p><p class="pilot-note">The mesh spans 10 km × 10 km. This diagnostic run has no transient time axis.</p><label class="pilot-check" for="pilot-mat-mat-16-check"><input id="pilot-mat-mat-16-check" type="checkbox" data-pilot-check aria-labelledby="pilot-mat-mat-16-title pilot-mat-mat-16-label"><span id="pilot-mat-mat-16-label">I’ve checked this step</span></label></article><article class="pilot-step" data-pilot-step id="pilot-mat-mat-17"><h3 id="pilot-mat-mat-17-title" tabindex="-1">12. Interpret the checks precisely</h3><p><strong>Do this:</strong></p><p>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.</p><p>These metrics are not area-weighted.</p><p><strong>Why:</strong> Arithmetic-node metrics differ from area-weighted triangle metrics.</p><p><strong>Look for:</strong> Mean h 402.307692 m; node-RMS speed 142.564238 m/year; iteration count 12.</p><p class="pilot-note">Five inferred non-front boundary vertices match input vx/vy. Saved spc arrays remain opaque; this boundary check is an inference, not direct decoding.</p><label class="pilot-check" for="pilot-mat-mat-17-check"><input id="pilot-mat-mat-17-check" type="checkbox" data-pilot-check aria-labelledby="pilot-mat-mat-17-title pilot-mat-mat-17-label"><span id="pilot-mat-mat-17-label">I’ve checked this step</span></label></article><article class="pilot-step" data-pilot-step id="pilot-mat-mat-18"><h3 id="pilot-mat-mat-18-title" tabindex="-1">13. Prepare the archive download</h3><p><strong>Do this:</strong></p><p>Choose Download results. When the fresh HTTPS link appears, use it to save this run’s archive.</p><p>The next step follows that link; the archive contains the native fields, figures, initialized arrays and provenance.</p><p>Click the fresh download link. The browser saved a 15-member ZIP with valid CRC.</p><p>Every file is byte-identical to the originally checked MAT archive. Keep the archive with its input, image and output hashes.</p><p><strong>Why:</strong> The archive preserves fields, figures, initialization and runtime provenance. Keep the archive with its source, data, image and output hashes.</p><p><strong>Look for:</strong> 15 CRC-valid members, byte-identical to the originally checked MAT archive.</p><p class="pilot-note">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.</p><label class="pilot-check" for="pilot-mat-mat-18-check"><input id="pilot-mat-mat-18-check" type="checkbox" data-pilot-check aria-labelledby="pilot-mat-mat-18-title pilot-mat-mat-18-label"><span id="pilot-mat-mat-18-label">I’ve checked this step</span></label></article><div class="pilot-step-nav" data-pilot-enhancement hidden><button type="button" data-pilot-prev>Previous step</button><button type="button" data-pilot-next>Next step</button><button type="button" class="pilot-primary" data-pilot-continue hidden>Continue to next step</button></div></div></div>
  <p class="pilot-footnote">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. <a href="videos/issm-own-mat-data-wide.vtt">Read captions</a> · <a href="videos/issm-own-mat-data-wide.mp4">Download video</a></p>
  <p class="pilot-status" data-pilot-status role="status" aria-live="polite"></p><script type="application/json" data-pilot-metadata>{"schema": "cryostack.pilot.interactive-tutorial.v1", "title": "ISSM: initialize from a MAT file", "video_sha256": "b3c15d9289f5ee146dbb72aa33114b3219baee1dbf2f5cd32223aa4abf3471e4", "duration_seconds": 263.0, "source_edit_receipt_sha256": "c273443ad5599c4cc09bf8e63cb9f9e77eb74e059b7d2dd612838377ddcf15c4", "public_scene_chapters_sha256": "21242bc223248e2b284ca087a3112c5c1b5c1aa16c9f57a8c80d12346edaba93", "chapter_timing": "Receipt-bound logical chapters include control cue, actual transition and confirmation; durations are video times.", "steps": [{"id": "mat-01", "logical_id": "orientation", "title": "1. Prepare your files and access", "start": 0.0, "end": 15.0, "instructions": ["Open Pilot Tutorials \u2192 Upload a dataset \u2192 download the native initial-condition packet. Extract it.", "Have an approved login, connected AWS resources and configured MATLAB/Connector. Choose Cloud \u2192 Advanced \u2192 ISSM."], "why": "Full geometry and velocity fields must initialize the actual native mesh.", "expected": "Four scripts + issm-shelf-initial.mat; verified BYO AWS, MATLAB and Connector.", "note": "Scripts: native-data-issm-mat/ (all four files). Data: datasets/issm-shelf-initial.mat. Prerequisites are linked on the tutorial page.", "pauseAfter": false, "source_scene_ids": ["mat-01"]}, {"id": "mat-02", "logical_id": "example", "title": "2. Create an owned example", "start": 15.0, "end": 39.0, "instructions": ["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.", "expected": "Expected: the newly created workspace name.", "note": "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.", "pauseAfter": true, "source_scene_ids": ["mat-02", "mat-03"]}, {"id": "mat-04", "logical_id": "upload", "title": "3. Upload the MAT file", "start": 39.0, "end": 62.0, "instructions": ["Scroll below Environment \u0026 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\u00d79 gridded field file for a 10 km square shelf."], "why": "The MAT file contains the full synthetic initial-condition grids.", "expected": "Expected: one selected file becomes Uploaded: issm-shelf-initial.mat.", "note": "Upload stores the file. The script and schema-specific reader must still load it.", "pauseAfter": true, "source_scene_ids": ["mat-04"]}, {"id": "mat-05", "logical_id": "reference", "title": "4. Reference the staged filename", "start": 62.0, "end": 83.0, "instructions": ["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.", "expected": "Expected: data/issm-shelf-initial.mat; do not add data/ twice.", "note": "Do not add data/ twice. Referencing makes the bytes available; it does not start the model.", "pauseAfter": true, "source_scene_ids": ["mat-05"]}, {"id": "mat-06", "logical_id": "scripts", "title": "5. Import all four source files", "start": 83.0, "end": 114.0, "instructions": ["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\u2019s starter runme.m. Only saved scripts enter the next run snapshot.", "expected": "runme.m, Launch.par, validate_launch_dataset.m, load_initial_conditions.m.", "note": "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.", "pauseAfter": true, "source_scene_ids": ["mat-06", "mat-07"]}, {"id": "mat-08", "logical_id": "review", "title": "6. Confirm the entry script", "start": 114.0, "end": 135.0, "instructions": ["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 \u0026 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.", "expected": "ISSM \u00b7 pilot-issm-mat-1119; 2 vCPU and 8 GiB.", "note": "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.", "pauseAfter": true, "source_scene_ids": ["mat-08", "mat-09"]}, {"id": "mat-10", "logical_id": "submit", "title": "7. Watch the new submission", "start": 135.0, "end": 145.0, "instructions": ["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.", "expected": "Expected: Staging/Submitting, then Queued, Running and Completed.", "note": "The manifest links the actual saved source/data, pinned image, job and retained archive.", "pauseAfter": true, "source_scene_ids": ["mat-10"]}, {"id": "mat-11", "logical_id": "initial-fields", "title": "8a. Initial thickness", "start": 145.0, "end": 166.0, "instructions": ["Initial thickness is 300\u2013500 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.", "expected": "Initial speed uses metres/year; this is not a transient time plot.", "note": "Exact saved native PNG, shown as the complete three-panel strip; this panel is outlined without stretching or altering pixels.", "pauseAfter": true, "source_scene_ids": ["mat-11", "mat-12", "mat-13"]}, {"id": "mat-14", "logical_id": "validation", "title": "9. Verify initialization and completion", "start": 166.0, "end": 180.0, "instructions": ["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.", "expected": "All five fields \u00d7 13 native vertices: interpolation error 0.", "note": "Startup 220.723 s \u00b7 AWS task 51.018 s \u00b7 script 9.568328 s, including setup, mesh, initial plotting and solving.", "pauseAfter": true, "source_scene_ids": ["mat-14"]}, {"id": "mat-15", "logical_id": "render", "title": "10. Render the current velocity field", "start": 180.0, "end": 196.0, "instructions": ["Open Workspace \u2192 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.", "expected": "Expected: the accepted MAT run\u2019s 13-node velocity field.", "note": "This Results identity belongs to the accepted MAT run; the final native field contains 13 vertices and 16 triangles.", "pauseAfter": true, "source_scene_ids": ["mat-15"]}, {"id": "mat-16", "logical_id": "field", "title": "11. Inspect final native velocity", "start": 196.0, "end": 212.0, "instructions": ["This is the unchanged native PNG from the accepted archive, with full axes and colour bar.", "Speed is 100\u2013180 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.", "expected": "Speed 100\u2013180 m/year; Vel agrees with hypot(Vx,Vy).", "note": "The mesh spans 10 km \u00d7 10 km. This diagnostic run has no transient time axis.", "pauseAfter": true, "source_scene_ids": ["mat-16"]}, {"id": "mat-17", "logical_id": "metrics", "title": "12. Interpret the checks precisely", "start": 212.0, "end": 228.0, "instructions": ["Arithmetic-node mean thickness is 402.307692 m. Node-RMS speed sqrt(mean(Vel\u00b2)) 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.", "expected": "Mean h 402.307692 m; node-RMS speed 142.564238 m/year; iteration count 12.", "note": "Five inferred non-front boundary vertices match input vx/vy. Saved spc arrays remain opaque; this boundary check is an inference, not direct decoding.", "pauseAfter": true, "source_scene_ids": ["mat-17"]}, {"id": "mat-18", "logical_id": "download", "title": "13. Prepare the archive download", "start": 228.0, "end": 263.0, "instructions": ["Choose Download results. When the fresh HTTPS link appears, use it to save this run\u2019s 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.", "expected": "15 CRC-valid members, byte-identical to the originally checked MAT archive.", "note": "Download preparation uses the completed run\u2019s retained results. One native execution; this cached download does not rerun the solver. Repeatability and accuracy require separate checks.", "pauseAfter": true, "source_scene_ids": ["mat-18", "mat-19"]}]}</script>
</section>
<script defer src="videos/cryostack-pilot-player-20261119.js"></script>


<a href="videos/issm-own-mat-data-wide.mp4">Video (MP4)</a> · <a href="videos/issm-own-mat-data-wide.vtt">Captions (VTT)</a> · <a href="videos/issm-own-mat-manifest.json">Sanitized native run and video receipt</a>

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](https://cryostack.eas.gatech.edu/cryolauncher/) with an
approved account. Use your existing reviewed [BYO AWS connection](byo_aws_setup.md)
and [MATLAB license/Connector configuration](matlab_byo_setup.md). 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 {download}`native initial-condition packet <../native-initial-conditions-packet.zip>`
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](upload_dataset.md) 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.

<a href="videos/issm-mat-initial-conditions.png"><img src="videos/issm-mat-initial-conditions.png" alt="Exact saved initial MAT thickness and surface in meters, speed in meters per year; horizontal coordinates are meters" style="max-width:100%;height:auto"></a>

## 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**.

<a href="videos/issm-mat-final-velocity.png"><img src="videos/issm-mat-final-velocity.png" alt="Exact native ISSM MAT speed, meters per year; x and y are meters" style="max-width:100%;height:auto"></a>

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](recording_matrix.md) · [All pilot tutorials](../soft_launch.md)
