Skip to content

Commit

Permalink
another try
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelforget committed Jun 20, 2024
1 parent 3878dab commit 0eaae7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ RUN ${mainpath}/.juliaup/bin/julia --project=${mainpath} -e "import Pkg; Pkg.ins
RUN ${mainpath}/.juliaup/bin/julia --project=${mainpath} ${mainpath}/src/warmup.jl

ENV MPI_INC_DIR /usr/lib/x86_64-linux-gnu/openmpi/include
ENV NETCDF_ROOT /usr

RUN jupyter lab build && \
jupyter lab clean && \
Expand Down
4 changes: 3 additions & 1 deletion src/warmup.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ using MITgcm.ClimateModels.Git

##

if false
p0=pathof(MITgcm)
fil=joinpath(dirname(p0),"..","examples","configurations","OCCA2.toml")
MC=MITgcm.MITgcm_config(inputs=MITgcm.read_toml(fil))
Expand All @@ -20,6 +21,7 @@ cp(joinpath(MC,"MITgcm/mysetups/ECCOv4/input/download_files.jl"),"src/download_f

mv(joinpath(MC,"MITgcm/mysetups/ECCOv4/build/mitgcmuv"),"src/mitgcmuv")
rm(pathof(MC),recursive=true)
end

##

Expand All @@ -31,7 +33,7 @@ ClimateModels.launch(tmp)

MeshArrays.GRID_LLC90_download()
Climatology.ECCOdiags_add("release2")
Climatology.ECCOdiags_add("release4")
#Climatology.ECCOdiags_add("release4")

Downloads.download(
"https://zenodo.org/record/5784905/files/interp_coeffs_halfdeg.jld2",
Expand Down

0 comments on commit 0eaae7f

Please sign in to comment.