Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
3243700
modified README for MDR
justinh2002 Apr 16, 2025
592809b
modified README.md [no ci]
justinh2002 Apr 16, 2025
4513d56
removed mention of CONTRIBUTING.md
justinh2002 Apr 16, 2025
15ce9f5
Update README.md
justinh2002 Apr 16, 2025
01d6c56
Update README.md
justinh2002 Apr 16, 2025
9e654ac
Update README.md
justinh2002 Apr 16, 2025
52ccf4e
Update README.md
justinh2002 Apr 16, 2025
bd904ef
Update README.md
justinh2002 Apr 16, 2025
1788465
Update README.md
justinh2002 Apr 16, 2025
c3bda9e
Update README.md
justinh2002 Apr 16, 2025
d91e41a
Update README.md
justinh2002 Apr 16, 2025
962f3d4
Update README.md
justinh2002 Apr 16, 2025
17f27c3
Update README.md
justinh2002 Apr 16, 2025
6e06ed0
removed line about access-hive docs
justinh2002 Apr 16, 2025
c1a2935
Merge branch '2_mdr_readme' of github.com:ACCESS-NRI/ACCESS-ISSM into…
justinh2002 Apr 16, 2025
7559af4
removed line on access-hive docs
justinh2002 Apr 16, 2025
f1752f4
Update README.md
justinh2002 Apr 16, 2025
083e100
Update README.md
justinh2002 Apr 16, 2025
ec044aa
add +ad variant install
justinh2002 Jun 19, 2025
797da19
Merge branch 'main' into justin/ad
justinh2002 Jun 19, 2025
9cc8635
changed release tag
justinh2002 Jun 19, 2025
34b8e6a
Merge branch 'justin/ad' of github.com:ACCESS-NRI/ACCESS-ISSM into ju…
justinh2002 Jun 19, 2025
3947567
version modified
justinh2002 Jun 19, 2025
0b9f14b
modify projections
justinh2002 Jun 19, 2025
256811a
changed version json for spack-packages
justinh2002 Jun 19, 2025
3a29c4f
add new git tag
justinh2002 Jun 19, 2025
f11362a
change branch to test branch of spack
justinh2002 Jun 19, 2025
6ce2e96
amend to test branch
justinh2002 Jun 19, 2025
89f1c20
fix commit versioning
justinh2002 Jun 19, 2025
d469fe2
update spack-packages to point to PR branch
justinh2002 Jun 24, 2025
4f06d28
added test directory and setup files
justinh2002 Jul 22, 2025
de8092f
reorganise
justinh2002 Jul 22, 2025
53f2d3e
version json takes on new debug variant package.py
justinh2002 Aug 22, 2025
bd6012b
only turn on debug variant, wrappers not needed
justinh2002 Aug 22, 2025
62c54ac
Merge branch 'main' into justinh2002/debug_pr
justinh2002 Aug 22, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ module avail access-issm
For users of ACCESS-ISSM model configurations released by ACCESS-NRI, the exact location of the model executables is not required. Model configurations will be updated with new model components when necessary.

For information on contributing your own fixes to the ACCESS-ISSM `spack.yaml`, see the [Hive Docs article](https://docs.access-hive.org.au/models/run-a-model/create-a-prerelease/) on creating a prerelease.

2 changes: 1 addition & 1 deletion config/versions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/ACCESS-NRI/schema/main/au.org.access-nri/model/deployment/config/versions/3-0-0.json",
"spack": "0.22",
"spack-packages": "2025.04.001"
"spack-packages": "justin/debug"
}
18 changes: 16 additions & 2 deletions spack.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
spack:
specs:
- access-issm@git.2025.03.0
- access-issm@git.2025.06.0

packages:
issm:
require:
- '@git.2025.04.11'
- '@git.2025.06.19'
- +wrappers
- +debug

# Mark Python 3.9.2 as external so Spack reuses the system module
python:
externals:
Expand All @@ -27,3 +30,14 @@ spack:
# Make the solver unify dependencies
concretizer:
unify: true

# Enable generating module files (TCL by default).
modules:
default:
tcl:
include:
- access-issm
- issm
- access-triangle
projections:
access-issm: '{name}/2025.06.0-{hash:7}'
76 changes: 76 additions & 0 deletions test/Mismip.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
import numpy as np
from SetIceShelfBC import SetIceShelfBC
from mismipbasalforcings import mismipbasalforcings

# Creating thickness
print(' creating thickness')
bx = -150 - 728.8*(md.mesh.x/300000)**2 + 343.91*(md.mesh.x/300000)**4 - 50.57*(md.mesh.x/300000)**6
by = (500./(1 + np.exp(-2./4000.*(md.mesh.y - 80000./2 - 24000))) +
500./(1 + np.exp( 2./4000.*(md.mesh.y - 80000./2 + 24000))))
by0 = (500./(1 + np.exp(-2./4000.*(0 - 80000./2 - 24000))) +
500./(1 + np.exp( 2./4000.*(0 - 80000./2 + 24000))))
md.geometry.bed = np.maximum(bx + by, -720)
md.geometry.surface = np.maximum(bx + by0 + 100, 10)
md.geometry.base = np.maximum(md.geometry.bed, -90)
md.geometry.thickness = md.geometry.surface - md.geometry.base

# Creating drag
print(' creating drag')
md.friction.coefficient = np.sqrt(3.160e6) * np.ones(md.mesh.numberofvertices)
md.friction.p = 3 * np.ones(md.mesh.numberofelements)
md.friction.q = 0 * np.ones(md.mesh.numberofelements)

# Creating flow law parameter
print(' creating flow law parameter')
md.materials.rheology_B = 1/((6.338e-25)**(1/3)) * np.ones(md.mesh.numberofvertices)
md.materials.rheology_n = 3 * np.ones(md.mesh.numberofelements)
md.materials.rheology_law = 'None'

# Boundary conditions for diagnostic model
print(' boundary conditions for diagnostic model')
md = SetIceShelfBC(md, './Front.exp')
md.mask.ice_levelset[:] = -1
md.mask.ocean_levelset[:] = -1
pos = np.where((md.mesh.x < 640000.1) & (md.mesh.x > 639999.9))[0]
md.mask.ice_levelset[pos] = 0
md.stressbalance.spcvx[:] = np.nan
md.stressbalance.spcvy[:] = np.nan
pos = np.where(((md.mesh.y < 80000.1) & (md.mesh.y > 79999.9)) |
((md.mesh.y < 0.1) & (md.mesh.y > -0.1)))[0]
md.stressbalance.spcvy[pos] = 0
pos2 = np.where((md.mesh.x < 0.1) & (md.mesh.x > -0.1))[0]
md.stressbalance.spcvx[pos2] = 0
md.stressbalance.spcvy[pos2] = 0

# Forcing conditions
print(' forcing conditions')
# --- basal melt and buttressing conditions -----------------------
md.basalforcings = mismipbasalforcings() # ← remove md


md.basalforcings.meltrate_factor = 0
md.basalforcings.threshold_thickness = 75
md.basalforcings.upperdepth_melt = -100
md.smb.mass_balance = 0.3 * np.ones(md.mesh.numberofvertices)
md.basalforcings.geothermalflux = 0.5 * np.ones(md.mesh.numberofvertices)
md.basalforcings.groundedice_melting_rate = 0. * np.ones(md.mesh.numberofvertices)

# Other model parameters
md.thermal.spctemperature = np.nan * np.ones(md.mesh.numberofvertices)
md.groundingline.migration = 'SubelementMigration'
md.materials.rho_ice = 918
md.materials.rho_water = 1028
md.constants.g = 9.8
md.constants.yts = 31556926
md.transient.isthermal = 0
md.transient.isgroundingline = 1
md.stressbalance.isnewton = 0

# Initialization
md.initialization.vx = np.ones(md.mesh.numberofvertices)
md.initialization.vy = np.ones(md.mesh.numberofvertices)
md.initialization.vz = np.ones(md.mesh.numberofvertices)
md.initialization.vel = np.sqrt(2) * np.ones(md.mesh.numberofvertices)
md.initialization.pressure = md.constants.g * md.materials.rho_ice * md.geometry.thickness
md.initialization.temperature = 273 * np.ones(md.mesh.numberofvertices)

Loading
Loading