Skip to content

Commit c0c90e7

Browse files
author
“Gennaro”
committed
Some typos corrected
1 parent 502fda8 commit c0c90e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mpas_analysis/sea_ice/climatology_map_risk_index_outcome.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def customize_masked_climatology(self, climatology, season):
234234
def _compute_risk_index_outcome(self, climatology):
235235
"""
236236
Compute the risk index outcome from sea-ice concentration and (floe) thickness,
237-
as outlined in by International Maritime Organization (IMO) document.
237+
as outlined in the International Maritime Organization (IMO) document.
238238
(https://www.imorules.com/GUID-2C1D86CB-5D58-490F-B4D4-46C057E1D102.html)
239239
"""
240240
ds_restart = xr.open_dataset(self.restartFileName)
@@ -251,7 +251,7 @@ def _compute_risk_index_outcome(self, climatology):
251251

252252
# reference floe thicknesses for calculation of Risk Index Values
253253
# (this values were agreed upon by Elizabeth Hunke, Andrew Roberts,
254-
#and Gennaro D'Angelo based on literature and IMO description)
254+
# and Gennaro D'Angelo based on literature and IMO description)
255255
h_riv = np.array([0.5, 10, 15, 30, 50, 70, 100, 120, 170, 200, 250]) * 0.01
256256
# table of Risk Index Values (defined by IMO)
257257
riv = np.array([[ 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 1, 1 ],\
@@ -293,7 +293,7 @@ def _compute_risk_index_outcome(self, climatology):
293293

294294
# Risk Index Outcome for single-category ice. There are only
295295
# two terms per cell: one coming from the fraction of the cell
296-
# occupied by open water and one coming from the fraction occupied
296+
# covered by open water and one coming from the fraction covered
297297
# by sea ice (rio <= 30 by IMO definition)
298298
rio = scale_factor * ((1.0 - concentration) * riv[pc, 0] + concentration * riv_iceCell)
299299

0 commit comments

Comments
 (0)