Skip to content
Draft
Changes from 1 commit
Commits
Show all changes
331 commits
Select commit Hold shift + click to select a range
5f53219
bugfix
simone-silvestri Mar 31, 2025
9209bbf
add sea-ice ocean stress
simone-silvestri Apr 1, 2025
62b4629
Merge branch 'main' into ss/multi-year-JRA55
simone-silvestri Apr 1, 2025
4d963ea
fix tests
simone-silvestri Apr 1, 2025
52c91d9
Merge branch 'ss/multi-year-JRA55' of github.com:CliMA/ClimaOcean.jl …
simone-silvestri Apr 1, 2025
1ee41af
bugfix
simone-silvestri Apr 1, 2025
1d58772
Update JRA55_field_time_series.jl
simone-silvestri Apr 1, 2025
0c020d0
Update JRA55_field_time_series.jl
simone-silvestri Apr 1, 2025
bafe3c7
simplify
simone-silvestri Apr 1, 2025
350b657
add the inmemory stuff
simone-silvestri Apr 1, 2025
4a49b40
start with this
simone-silvestri Apr 3, 2025
fea1854
default to inmemory
simone-silvestri Apr 3, 2025
4441567
Merge remote-tracking branch 'origin/ss/multi-year-JRA55' into ss/omi…
simone-silvestri Apr 3, 2025
7c4aa61
go!
simone-silvestri Apr 3, 2025
24f7d93
add a failsafe + a test
simone-silvestri Apr 3, 2025
d231995
some cleanup
simone-silvestri Apr 3, 2025
ca1980c
better to write last
simone-silvestri Apr 3, 2025
f448eeb
Merge remote-tracking branch 'origin/ss/multi-year-JRA55' into ss/omi…
simone-silvestri Apr 3, 2025
fed209b
Merge branch 'main' into ss/sea-ice-momentum-stress
simone-silvestri Apr 3, 2025
aeedd2f
last index
simone-silvestri Apr 3, 2025
f954c69
Merge branch 'ss/sea-ice-momentum-stress' of github.com:CliMA/ClimaOc…
simone-silvestri Apr 3, 2025
ddee7f0
add this
simone-silvestri Apr 3, 2025
daeb12f
add a clock
simone-silvestri Apr 3, 2025
629d582
add the arctic
simone-silvestri Apr 3, 2025
54165a0
Merge branch 'ss/sea-ice-momentum-stress' into ss/omip-prototype
simone-silvestri Apr 3, 2025
35fe01d
try it out
simone-silvestri Apr 3, 2025
5548a99
correct dates
simone-silvestri Apr 3, 2025
dfb8590
Update experiments/omip_prototype/quarter_degree_omip.jl
simone-silvestri Apr 4, 2025
a049dc1
Update experiments/omip_prototype/quarter_degree_omip.jl
simone-silvestri Apr 4, 2025
d1e6faf
add stuff
simone-silvestri Apr 4, 2025
7186256
Merge branch 'main' into ss/omip-prototype
simone-silvestri Apr 7, 2025
a6d758d
going sixth degree
simone-silvestri Apr 10, 2025
0b8624e
Merge branch 'ss/omip-prototype' of github.com:CliMA/ClimaOcean.jl in…
simone-silvestri Apr 10, 2025
f18a772
some changes
simone-silvestri Apr 10, 2025
6679bbd
synchronize the clocks for the moment
simone-silvestri Apr 10, 2025
50a7226
Merge branch 'main' into ss/omip-prototype
simone-silvestri Apr 10, 2025
7975dd4
Update test_jra55.jl
simone-silvestri Apr 10, 2025
77e440b
bugfix
simone-silvestri Apr 10, 2025
5e3c729
Merge branch 'ss/omip-prototype' of github.com:CliMA/ClimaOcean.jl in…
simone-silvestri Apr 10, 2025
b05fb83
improve it quickly for now
simone-silvestri Apr 10, 2025
501b3fa
continue
simone-silvestri Apr 10, 2025
f258e29
Merge branch 'ss/omip-prototype' of github.com:CliMA/ClimaOcean.jl in…
simone-silvestri Apr 10, 2025
5751899
another try...
simone-silvestri Apr 14, 2025
af67adc
bugfix for the salt flux
simone-silvestri Apr 24, 2025
d008026
Merge remote-tracking branch 'origin/main' into ss/omip-prototype
simone-silvestri Apr 30, 2025
83f97e9
try it out
simone-silvestri Apr 30, 2025
03e7f19
correction
simone-silvestri Apr 30, 2025
1e02dd9
Merge remote-tracking branch 'origin/main' into ss/omip-prototype
simone-silvestri May 14, 2025
1eedc44
correct
simone-silvestri May 14, 2025
202212c
update
simone-silvestri May 22, 2025
efa566c
Merge remote-tracking branch 'origin/main' into ss/omip-prototype
simone-silvestri May 22, 2025
0c8d8b1
go for it
simone-silvestri May 22, 2025
0f04d0f
Update src/SeaIceSimulations.jl
simone-silvestri May 22, 2025
e28b9a4
Update SeaIceSimulations.jl
simone-silvestri May 22, 2025
0e1d4ca
Merge branch 'ss/default-sea-ice' into ss/omip-prototype
simone-silvestri May 22, 2025
2eeed4c
some.. salinity
simone-silvestri May 22, 2025
b27ac12
Merge branch 'main' into ss/omip-prototype
simone-silvestri May 29, 2025
4d09283
Merge branch 'main' into ss/omip-prototype
simone-silvestri Jun 5, 2025
1507936
Merge remote-tracking branch 'origin/main' into ss/omip-prototype
simone-silvestri Jun 18, 2025
702fe64
update sea ice simulation
simone-silvestri Jun 18, 2025
9664584
try like this for the moment and let it go
simone-silvestri Jun 18, 2025
8392922
Merge remote-tracking branch 'origin/main' into ss/omip-prototype
simone-silvestri Jul 14, 2025
d28b611
added project
simone-silvestri Jul 14, 2025
4b763ee
Merge branch 'ss/omip-prototype' of github.com:CliMA/ClimaOcean.jl in…
simone-silvestri Jul 14, 2025
c306b0f
retry like this
simone-silvestri Jul 14, 2025
83331f8
Merge branch 'ss/omip-prototype' of github.com:CliMA/ClimaOcean.jl in…
simone-silvestri Jul 14, 2025
4857647
hmmm this was explicit
simone-silvestri Jul 14, 2025
668bc53
use a fixed dt
simone-silvestri Jul 14, 2025
dcce9e2
update to new syntax
simone-silvestri Jul 14, 2025
d5288c1
go like this
simone-silvestri Jul 14, 2025
1322148
add a one-degree to test it out
simone-silvestri Jul 14, 2025
2490da2
Update one_degree_simulation.jl
simone-silvestri Jul 15, 2025
c411c71
Update one_degree_simulation.jl
simone-silvestri Jul 15, 2025
f762205
try without implicit solver
simone-silvestri Jul 17, 2025
759c1ac
Update Project.toml
simone-silvestri Jul 17, 2025
01e9f05
Update near_global_ocean_simulation.jl
simone-silvestri Jul 17, 2025
e48a2b5
Update one_degree_simulation.jl
simone-silvestri Jul 17, 2025
0765874
changes
simone-silvestri Jul 17, 2025
808e6c9
try it in both
simone-silvestri Jul 17, 2025
88bd4e8
Merge branch 'ss/adapt-to-new-oceananigans' into ss/zstar
simone-silvestri Jul 17, 2025
7cacb1d
adding the correct zstar branch
simone-silvestri Jul 17, 2025
7cb8d6b
added CUDA
simone-silvestri Jul 17, 2025
469883a
Update pipeline.yml
simone-silvestri Jul 17, 2025
86d0bce
revert CUDA
simone-silvestri Jul 17, 2025
509d6b4
enforce using a specific branch
navidcy Jul 17, 2025
308c9e3
Delete Manifest.toml
navidcy Jul 17, 2025
06d895c
Update Project.toml
navidcy Jul 17, 2025
6397010
enforce using Oceananigans#ss/fix-zstar-bc
navidcy Jul 17, 2025
ea59ebb
drop geebrish
navidcy Jul 17, 2025
352a3ef
enforce using Oceananigans#ss/fix-zstar-bc
navidcy Jul 17, 2025
2beac0e
use julia v1.10.10
navidcy Jul 17, 2025
ea86989
precompile again
navidcy Jul 17, 2025
89af369
use julia v1.10.10
navidcy Jul 17, 2025
9e2482b
first oceananigans; then develop
navidcy Jul 17, 2025
9affa64
add CUDA
navidcy Jul 17, 2025
7717533
using CUDA + record from Makie not CUDA
navidcy Jul 17, 2025
6e0be09
Update one_degree_simulation.jl
simone-silvestri Jul 18, 2025
4488c2e
some changes
simone-silvestri Jul 18, 2025
26fde07
Merge branch 'ss/zstar' of github.com:CliMA/ClimaOcean.jl into ss/zstar
simone-silvestri Jul 18, 2025
a436bed
increase a bit
simone-silvestri Jul 18, 2025
5746652
add more stuff
simone-silvestri Jul 18, 2025
5127f05
improvements
simone-silvestri Jul 18, 2025
1037980
improve
simone-silvestri Jul 18, 2025
71c82f5
add an equatorial single column
simone-silvestri Jul 21, 2025
bc33d07
possibly remove a bug?
simone-silvestri Jul 21, 2025
ed0d210
Update atmosphere_sea_ice_fluxes.jl
simone-silvestri Jul 21, 2025
5b5b747
Update atmosphere_sea_ice_fluxes.jl
simone-silvestri Jul 21, 2025
28d3e4e
adding the correct Manifest
simone-silvestri Jul 21, 2025
00a2933
Merge branch 'ss/zstar' of github.com:CliMA/ClimaOcean.jl into ss/zstar
simone-silvestri Jul 21, 2025
d7ef440
update
simone-silvestri Jul 21, 2025
b0d1fd3
Merge branch 'main' into ss/zstar
navidcy Jul 22, 2025
860ff09
Merge branch 'main' into ss/zstar
simone-silvestri Jul 22, 2025
5637600
Merge branch 'ss/zstar' of github.com:CliMA/ClimaOcean.jl into ss/zstar
simone-silvestri Jul 22, 2025
b3ab48b
remove equatorial single column
simone-silvestri Jul 22, 2025
d1c7450
remove manifest
simone-silvestri Jul 22, 2025
a1ede1f
revert
simone-silvestri Jul 22, 2025
4015bf4
token
simone-silvestri Jul 22, 2025
970ffeb
Revert "token"
simone-silvestri Jul 22, 2025
4b4f64e
Merge remote-tracking branch 'origin/ss/zstar' into ss/omip-prototype
simone-silvestri Jul 22, 2025
e6ff0d4
changed JRA55
simone-silvestri Jul 22, 2025
ef45d0c
added Project
simone-silvestri Jul 22, 2025
d96c32b
merged
simone-silvestri Jul 22, 2025
ea3ee12
bugfix
simone-silvestri Jul 22, 2025
9165bd2
Merge branch 'ss/omip-prototype' of github.com:CliMA/ClimaOcean.jl in…
simone-silvestri Jul 22, 2025
add5526
this should fix it
simone-silvestri Jul 22, 2025
35e2df6
Merge remote-tracking branch 'origin/main' into ss/omip-prototype
simone-silvestri Jul 25, 2025
92fda28
change sea ice
simone-silvestri Jul 28, 2025
ec70ca0
Merge remote-tracking branch 'origin/main' into ss/omip-prototype
simone-silvestri Jul 29, 2025
469bcb1
consolidate sea ice temperature
simone-silvestri Jul 30, 2025
736ac4c
adding the manifest
simone-silvestri Jul 30, 2025
6db860a
adding Manifest
simone-silvestri Aug 1, 2025
5e0997c
comment out for now
simone-silvestri Aug 1, 2025
049dacd
go for it
simone-silvestri Aug 8, 2025
cf22586
Merge branch 'ss/omip-prototype' of github.com:CliMA/ClimaOcean.jl in…
simone-silvestri Aug 8, 2025
17a2250
improve
simone-silvestri Aug 8, 2025
d024542
Merge remote-tracking branch 'origin/main' into ss/omip-prototype
simone-silvestri Aug 8, 2025
7d6ce58
improving the performance
simone-silvestri Aug 18, 2025
5e66a54
speed up
simone-silvestri Aug 18, 2025
9063e3e
recorrect Oceananigans
simone-silvestri Aug 18, 2025
4fb3526
Merge branch 'main' into ss/omip-prototype
simone-silvestri Aug 18, 2025
e7845a5
new Manifest
simone-silvestri Aug 18, 2025
fca5484
do not add Oceananigans
simone-silvestri Aug 18, 2025
09d22a3
Update make.jl
simone-silvestri Aug 18, 2025
3885668
one-degree-ompi for calibration
simone-silvestri Aug 20, 2025
8bbc3b8
Merge branch 'ss/omip-prototype' of github.com:CliMA/ClimaOcean.jl in…
simone-silvestri Aug 20, 2025
988ec77
update one degree
simone-silvestri Aug 20, 2025
3419022
use the correct value
simone-silvestri Aug 20, 2025
b1430e2
remove this for the moment
simone-silvestri Aug 20, 2025
abced34
Merge branch 'ss/omip-prototype' of github.com:CliMA/ClimaOcean.jl in…
simone-silvestri Aug 20, 2025
cf2e735
Update make.jl
simone-silvestri Aug 21, 2025
d0b3bf9
reduced the timestep
simone-silvestri Aug 28, 2025
5f3452d
Merge branch 'ss/omip-prototype' of github.com:CliMA/ClimaOcean.jl in…
simone-silvestri Aug 28, 2025
f9613d8
enforce real minimum depth
simone-silvestri Aug 28, 2025
557ddc9
Merge branch 'main' into ss/omip-prototype
simone-silvestri Sep 19, 2025
3861dba
Merge branch 'main' into ss/omip-prototype
xkykai Sep 22, 2025
d126260
Merge branch 'main' into ss/omip-prototype
xkykai Sep 23, 2025
22d6f31
Merge branch 'main' into ss/omip-prototype
xkykai Sep 29, 2025
19b09fd
Add one-eighth degree ocean simulation model implementation
xkykai Sep 29, 2025
cb89c6b
Add PythonCall import to one-eighth degree simulation script
xkykai Sep 29, 2025
60ff1b7
Enhance one-eighth degree simulation with detailed logging and initia…
xkykai Sep 30, 2025
743fa84
Merge branch 'main' into ss/omip-prototype
simone-silvestri Sep 30, 2025
ee23b69
Merge branch 'main' into xk/oneeighth-degree-simulation
xkykai Sep 30, 2025
09d5b2a
Update one-eighth degree simulation parameters and configurations
xkykai Sep 30, 2025
87f5ab6
Adjust vertical grid resolution to 80 levels in one-eighth degree sim…
xkykai Sep 30, 2025
8d8244a
Refactor initial condition setup to improve inpainting parameter hand…
xkykai Sep 30, 2025
ca25c22
change to 60 vertical levels
xkykai Sep 30, 2025
cf49b61
distributed is the way
xkykai Sep 30, 2025
578e262
Merge branch 'ss/omip-prototype' into xk/oneeighth-degree-simulation
xkykai Sep 30, 2025
4f01721
add Manifest for reproducibility
xkykai Oct 1, 2025
79a61c0
create minimal script for debugging
xkykai Oct 1, 2025
abac838
use oceananigans fixed branch
xkykai Oct 1, 2025
7f2f37d
a "technically working" script
xkykai Oct 1, 2025
3de93e9
Refactor sea-ice initialization and adjust simulation time step
xkykai Oct 2, 2025
76f5528
no inpainting for sea ice!
xkykai Oct 2, 2025
a2fef5c
Refactor sea-ice initial condition setting for improved clarity
xkykai Oct 2, 2025
f3b1b97
merge commit
simone-silvestri Oct 3, 2025
0d1dcd7
Merge branch 'main' into xk/oneeighth-degree-simulation
xkykai Oct 3, 2025
fd06826
Merge branch 'ss/omip-prototype' into xk/oneeighth-degree-simulation
xkykai Oct 3, 2025
bad6fb1
first fix, doesn't solve the nan issue yet
xkykai Oct 3, 2025
fb34727
write ValueInpainting, but leaves vestigial maxiter value
xkykai Oct 3, 2025
dee9a17
remove fill_nans functionaloty
xkykai Oct 3, 2025
a8df621
update default_inpainting to return ValueInpainting for sea ice metrics
xkykai Oct 4, 2025
c33ab40
Update sea-ice initial conditions and fix minor typos in simulation s…
xkykai Oct 4, 2025
3d0a6ff
Update Julia version and dependencies in Manifest.toml
xkykai Oct 4, 2025
c06f864
update ClimaSeaIce and Oceananigans
xkykai Oct 4, 2025
009ad6a
API
xkykai Oct 4, 2025
c4e9f45
minimal 1deg example
xkykai Oct 4, 2025
48ec24b
Add directory path for forcing data in one_degree_omip_minimal.jl
xkykai Oct 4, 2025
4f6ede7
Create directory for forcing data in one_degree_omip_minimal.jl
xkykai Oct 4, 2025
f42bb7c
rename MWE script
xkykai Oct 5, 2025
9dce3bd
try GPU
xkykai Oct 5, 2025
37f487f
change date, use MultiYearJRA55
xkykai Oct 5, 2025
0c272b0
set ECCO date too
xkykai Oct 5, 2025
d4c22a0
Switch architecture to CPU for minimal_script_MWE.jl
xkykai Oct 5, 2025
5ed95ac
remove GM, change WENO, remove S restoring, start date for MultiYearJ…
xkykai Oct 6, 2025
59d3004
refactor location function for clarity and consistency in CopernicusM…
xkykai Oct 6, 2025
9bcc290
Add logging for architecture setup in minimal_script_MWE.jl
xkykai Oct 6, 2025
eac9e52
update atmosphere state to load correct time indices
xkykai Oct 7, 2025
7dfce31
Merge branch 'xk/fix-glorys-seaice' into xk/oneeighth-degree-simulation
xkykai Oct 7, 2025
e4e685d
Merge branch 'xk/fix-prescribed-atmos-time-indexing' into xk/oneeight…
xkykai Oct 7, 2025
7e2f67a
fix spacing
xkykai Oct 7, 2025
78ccac8
Merge branch 'xk/fix-prescribed-atmos-time-indexing' into xk/oneeight…
xkykai Oct 7, 2025
58f62d3
just to test simulation
xkykai Oct 7, 2025
b6ff54a
using glorys to initialize
xkykai Oct 7, 2025
3166ed2
fix EN4 start date argument
xkykai Oct 7, 2025
d580079
add info logs for one-eighth degree simulation setup
xkykai Oct 7, 2025
e5d53ac
fix: correct argument name for temperature and salinity metadata in o…
xkykai Oct 7, 2025
50fa8fc
add MPIPreferences, up Manifest
xkykai Oct 8, 2025
5a95d16
fix: update GPU architecture setup and simulation parameters in minim…
xkykai Oct 8, 2025
a6d8d19
fix: update sea ice model reference in OMIP setup
xkykai Oct 8, 2025
33588ac
increase halo size for native grid in bathymetry regridding
xkykai Oct 8, 2025
c461625
pin CUDA at v0.8.5
xkykai Oct 8, 2025
207fcc4
a "working version" on google cloud
xkykai Oct 9, 2025
ee9a1b0
Merge branch 'xk/oneeighth-degree-simulation' of https://github.com/C…
xkykai Oct 9, 2025
0da47b2
oneeighth!
xkykai Oct 9, 2025
e783413
Add memory usage logging to progress function
xkykai Oct 9, 2025
c21aab6
Merge branch 'main' into ss/omip-prototype
taimoorsohail Oct 10, 2025
01af82e
Merge branch 'main' into ss/omip-prototype
navidcy Oct 10, 2025
695c052
Refactor ocean simulation parameters and enhance progress logging
xkykai Oct 10, 2025
b234fe1
Create directory for JRA55 data and initialize dataset
xkykai Oct 10, 2025
60f9431
Merge remote-tracking branch 'origin/xk/oneeighth-degree-simulation' …
xkykai Oct 11, 2025
eb0105d
Update Julia version and project dependencies in Manifest.toml
xkykai Oct 11, 2025
47929f4
first trial of half degree simulation!
xkykai Oct 11, 2025
5e61395
Enhance logging for ocean and sea ice model setup and initialization
xkykai Oct 11, 2025
915512c
Adjust dataset memory settings for salinity restoring and JRA55 backend
xkykai Oct 11, 2025
eff629b
Add logging for simulation script startup
xkykai Oct 11, 2025
b29c25a
Remove startup logging and ensure JRA55 data directory is created
xkykai Oct 11, 2025
94fa5a3
Simone's version
xkykai Oct 13, 2025
f9f9e64
Fix z_surf assignment to use correct function call for ExponentialDis…
xkykai Oct 13, 2025
4944de4
Fix eddy_closure instantiation by adding missing semicolon for keywor…
xkykai Oct 13, 2025
b3a21b5
add buoyancy push
xkykai Oct 13, 2025
3e525b5
Fix import statement for buoyancy formulations by removing unnecessar…
xkykai Oct 13, 2025
1bf8a99
Add logging for κ_skew and κ_symmetric values in command line arguments
xkykai Oct 13, 2025
01c98ac
script for running calibration samples
xkykai Oct 13, 2025
25faf57
update Manifest
xkykai Oct 13, 2025
8848dd1
Add CUDA version info output after command line argument parsing
xkykai Oct 13, 2025
f368383
20year run script to get samples faster
xkykai Oct 14, 2025
a744e81
Enhance command line argument parsing for simulation parameters and r…
xkykai Oct 14, 2025
aaac833
Add UCX library detection and logging for MPI+CUDA compatibility
xkykai Oct 14, 2025
463901e
Add UCX library detection and logging for MPI+CUDA compatibility
xkykai Oct 14, 2025
036bf64
temporary hack to use AveragedTimeInterval to average calibration target
xkykai Oct 15, 2025
e06d494
bump Oceananigans
xkykai Oct 15, 2025
582f80d
a grave error!
xkykai Oct 18, 2025
8361e1d
Add sampling length argument to command line parser and update relate…
xkykai Oct 18, 2025
c9ae84e
Update filename for ocean output writer to include sampling length
xkykai Oct 20, 2025
091f658
Add one-degree OMIP calibration samples script with command line pars…
xkykai Oct 21, 2025
667c5da
Update bathymetry regrid interpolation passes and change salinity dat…
xkykai Oct 21, 2025
0009799
Update data directory paths to use EN4 and ECCO datasets
xkykai Oct 21, 2025
3fce119
Update data directory and salinity dataset to use ECCO4Monthly
xkykai Oct 21, 2025
3a2046f
half degree omip with correct ecco initialization
xkykai Oct 25, 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
3 changes: 1 addition & 2 deletions half_degree_omip.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ Ny = 360 # meridional direction
Nz = 100

z_faces = ExponentialDiscretization(Nz, -6000, 0; scale=1800)

const z_surf = z_faces.cᵃᵃᶠ(Nz)
const z_surf = z_faces(Nz)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why const?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess because it's used in a function later?

@inline mask(x, y, z, t) = z ≥ z_surf - 1


grid = TripolarGrid(arch;
size = (Nx, Ny, Nz),
Expand Down
Loading