Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Ana Ordonez committed Jul 23, 2024
1 parent 9a8f13c commit c788101
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions pcmdi_metrics/sea_ice/lib/sea_ice_figures.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]])
Expand Down Expand Up @@ -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]])
Expand Down

0 comments on commit c788101

Please sign in to comment.