@@ -13,7 +13,9 @@ rng = Random.MersenneTwister(rng_seed)
13
13
14
14
include (joinpath (pkgdir (ClimaCoupler), " experiments/calibration/cld_eff_rad/observation_map.jl" ))
15
15
16
+ ensemble_size = 10
16
17
addprocs (CAL. SlurmManager ())
18
+ # addprocs(CAL.SlurmManager(ensemble_size); cpus_per_task = 4, gpus_per_task = 1, partition = "a3", time = "08:00:00")
17
19
18
20
# Make variables and the forward model available on the worker sessions
19
21
@everywhere begin
24
26
25
27
# Experiment Configuration
26
28
output_dir = " experiments/calibration/output"
27
- ensemble_size = 10
28
29
n_iterations = 10
29
- priors = [
30
- constrained_gaussian (" prescribed_cloud_droplet_number_concentration" , 1.5e8 , 9e7 , 1e7 , 1e9 ),
31
- ]
30
+ priors = [constrained_gaussian (" prescribed_cloud_droplet_number_concentration" , 1e8 , 7e7 , 1e7 , 1e9 )]
32
31
prior = combine_distributions (priors)
33
- obs_path = joinpath (experiment_dir, " observations.jld2" )
34
- observations = JLD2. load_object (obs_path )
32
+ observation_path = joinpath (experiment_dir, " observations.jld2" )
33
+ observations = JLD2. load_object (observation_path )
35
34
36
35
eki = EKP. EnsembleKalmanProcess (
37
36
EKP. construct_initial_ensemble (rng, prior, ensemble_size),
38
37
observations,
39
38
EKP. TransformInversion (),
40
- verbose= true
41
- )
42
-
39
+ verbose = true ,
40
+ );
41
+ # using ClimaAtmos#main
43
42
eki = CAL. calibrate (CAL. WorkerBackend, eki, ensemble_size, n_iterations, prior, output_dir)
0 commit comments