File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 9
9
using CairoMakie, GeoMakie, Printf, StatsBase
10
10
import ClimaLand. LandSimVis as LandSimVis
11
11
12
+ # Need access to get_era5_obs_var_dict and get_sim_var_dict
13
+ ext = Base. get_extension (ClimaLand, :LandSimulationVisualizationExt )
12
14
"""
13
15
ClimaCalibrate.observation_map(iteration)
14
16
@@ -67,14 +69,14 @@ function process_member_data(
67
69
sample_date_ranges = CALIBRATE_CONFIG. sample_date_ranges
68
70
nelements = CALIBRATE_CONFIG. nelements
69
71
@info " Short names: $short_names "
70
- era5_obs_vars = LandSimVis . get_era5_obs_var_dict ()
72
+ era5_obs_vars = ext . get_era5_obs_var_dict ()
71
73
for short_name in short_names
72
74
short_name in keys (era5_obs_vars) || error (
73
75
" Variable $short_name does not appear in the observation dataset. Add the variable to get_era5_obs_var_dict" ,
74
76
)
75
77
end
76
78
77
- sim_var_dict = LandSimVis . get_sim_var_dict (diagnostics_folder_path)
79
+ sim_var_dict = ext . get_sim_var_dict (diagnostics_folder_path)
78
80
vars = map (short_names) do short_name
79
81
var = sim_var_dict[short_name]()
80
82
var = ClimaAnalysis. average_season_across_time (var, ignore_nan = false )
You can’t perform that action at this time.
0 commit comments