Skip to content

Commit

Permalink
Some typos corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
“Gennaro” committed Jun 26, 2023
1 parent 502fda8 commit c0c90e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mpas_analysis/sea_ice/climatology_map_risk_index_outcome.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def customize_masked_climatology(self, climatology, season):
def _compute_risk_index_outcome(self, climatology):
"""
Compute the risk index outcome from sea-ice concentration and (floe) thickness,
as outlined in by International Maritime Organization (IMO) document.
as outlined in the International Maritime Organization (IMO) document.
(https://www.imorules.com/GUID-2C1D86CB-5D58-490F-B4D4-46C057E1D102.html)
"""
ds_restart = xr.open_dataset(self.restartFileName)
Expand All @@ -251,7 +251,7 @@ def _compute_risk_index_outcome(self, climatology):

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

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

Expand Down

0 comments on commit c0c90e7

Please sign in to comment.