From c788101aaf50817d42c8183796e2ebffada44ec2 Mon Sep 17 00:00:00 2001 From: Ana Ordonez Date: Tue, 23 Jul 2024 15:36:48 -0700 Subject: [PATCH] remove comment --- pcmdi_metrics/sea_ice/lib/sea_ice_figures.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/pcmdi_metrics/sea_ice/lib/sea_ice_figures.py b/pcmdi_metrics/sea_ice/lib/sea_ice_figures.py index f8485783e..3e5ae7f06 100644 --- a/pcmdi_metrics/sea_ice/lib/sea_ice_figures.py +++ b/pcmdi_metrics/sea_ice/lib/sea_ice_figures.py @@ -24,11 +24,6 @@ def create_summary_maps_arctic(ds, var_ice, metrics_output_path, meta, model): xvar = lib.find_lon(ds) yvar = lib.find_lat(ds) - # Some models have NaN values in coordinates - # that can't be plotted by pcolormesh - # ds[xvar] = replace_nan_zero(ds[xvar]) - # ds[yvar] = replace_nan_zero(ds[yvar]) - # Set up regions region_NA = np.array([[-120, 45], [-120, 80], [90, 80], [90, 45]]) region_NP = np.array([[90, 45], [90, 65], [240, 65], [240, 45]]) @@ -128,11 +123,6 @@ def create_summary_maps_antarctic(ds, var_ice, metrics_output_path, meta, model) xvar = lib.find_lon(ds) yvar = lib.find_lat(ds) - # Some models have NaN values in coordinates - # that can't be plotted by pcolormesh - # ds[xvar] = replace_nan_zero(ds[xvar]) - # ds[yvar] = replace_nan_zero(ds[yvar]) - # Set up regions region_IO = np.array([[20, -90], [90, -90], [90, -55], [20, -55]]) region_SA = np.array([[20, -90], [-60, -90], [-60, -55], [20, -55]])