Skip to content

Commit

Permalink
add ENV DATADEPS_ALWAYS_ACCEPT true
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelforget committed Jun 20, 2024
1 parent d650a6b commit 8cccc48
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/warmup.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ import MITgcm, Climatology
import MITgcm.ClimateModels
import MITgcm.MeshArrays
git=MITgcm.ClimateModels.git

ENV["DATADEPS_ALWAYS_ACCEPT"]=true
##

if false
p0=pathof(MITgcm)
fil=joinpath(dirname(p0),"..","examples","configurations","OCCA2.toml")
MC=MITgcm.MITgcm_config(inputs=MITgcm.read_toml(fil))
Expand All @@ -21,7 +20,6 @@ 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 @@ -33,8 +31,8 @@ ClimateModels.launch(tmp)

MeshArrays.GRID_LLC90_download()

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

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

0 comments on commit 8cccc48

Please sign in to comment.