From db5c793f51182816a2286558db1d3f665492e000 Mon Sep 17 00:00:00 2001 From: Gabriele Bozzola Date: Mon, 9 Dec 2024 11:25:41 -0800 Subject: [PATCH] Load OrderedDict PR #1103 and #1094 are inconsistent. This uses OrderedDict directly from ClimaAnalysis --- experiments/ClimaEarth/leaderboard/data_sources.jl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/experiments/ClimaEarth/leaderboard/data_sources.jl b/experiments/ClimaEarth/leaderboard/data_sources.jl index ddaddb1e79..ac1a904102 100644 --- a/experiments/ClimaEarth/leaderboard/data_sources.jl +++ b/experiments/ClimaEarth/leaderboard/data_sources.jl @@ -1,6 +1,5 @@ import ClimaAnalysis import ClimaUtilities.ClimaArtifacts: @clima_artifact -import OrderedCollections: OrderedDict # Tuple of short names for loading simulation and observational data sim_obs_short_names_no_pr = [ @@ -193,7 +192,11 @@ function get_rmse_var_dict() ClimaAnalysis.add_unit!(rmse_var_rlut, "CliMA", "W m^-2") # Store the rmse vars in a dictionary - rmse_var_dict = OrderedDict("pr" => rmse_var_pr, "rsut" => rmse_var_rsut, "rlut" => rmse_var_rlut) + rmse_var_dict = ClimaAnalysis.OrderedCollections.OrderedDict( + "pr" => rmse_var_pr, + "rsut" => rmse_var_rsut, + "rlut" => rmse_var_rlut, + ) return rmse_var_dict end