or run

npx @tessl/cli init
Log in

Version

Tile

Overview

Evals

Files

Files

docs

atmospheric-indicators.mdconversion-indicators.mdcore-computation.mdensemble-analysis.mdfire-weather.mdindex.mdland-indicators.mdsea-ice-indicators.mdspatial-analogs.mdstatistical-downscaling.mdstatistical-indicators.mdutilities.md

sea-ice-indicators.mddocs/

0

# Sea Ice Indicators

1

2

Sea ice concentration and extent indicators for polar climate analysis and marine applications. These indicators are crucial for Arctic and Antarctic climate monitoring, shipping route planning, and marine ecosystem assessment.

3

4

## Capabilities

5

6

### Sea Ice Area and Extent

7

8

Basic sea ice metrics for polar climate monitoring and trend analysis.

9

10

```python { .api }

11

def sea_ice_area(sic, freq="YS"):

12

"""

13

Total sea ice area from sea ice concentration.

14

15

Parameters:

16

- sic: xr.DataArray, daily sea ice concentration data (0-1 or %)

17

- freq: str, resampling frequency (default "YS" for yearly)

18

19

Returns:

20

xr.DataArray: Total sea ice area

21

"""

22

23

def sea_ice_extent(sic, thresh="15%", freq="YS"):

24

"""

25

Sea ice extent (area with concentration above threshold).

26

27

Parameters:

28

- sic: xr.DataArray, daily sea ice concentration data

29

- thresh: str or float, concentration threshold (default "15%")

30

- freq: str, resampling frequency

31

32

Returns:

33

xr.DataArray: Sea ice extent

34

"""

35

36

def sic_mean(sic, freq="YS"):

37

"""

38

Mean sea ice concentration over specified period.

39

40

Parameters:

41

- sic: xr.DataArray, daily sea ice concentration data

42

- freq: str, resampling frequency

43

44

Returns:

45

xr.DataArray: Mean sea ice concentration

46

"""

47

48

def sic_max(sic, freq="YS"):

49

"""

50

Maximum sea ice concentration over specified period.

51

52

Parameters:

53

- sic: xr.DataArray, daily sea ice concentration data

54

- freq: str, resampling frequency

55

56

Returns:

57

xr.DataArray: Maximum sea ice concentration

58

"""

59

```

60

61

### Sea Ice Threshold Indicators

62

63

Threshold-based sea ice metrics for extreme ice conditions analysis.

64

65

```python { .api }

66

def sic_days_above(sic, thresh="15%", freq="YS"):

67

"""

68

Number of days with sea ice concentration above threshold.

69

70

Parameters:

71

- sic: xr.DataArray, daily sea ice concentration data

72

- thresh: str or float, concentration threshold (default "15%")

73

- freq: str, resampling frequency

74

75

Returns:

76

xr.DataArray: Number of days above threshold

77

"""

78

79

def sic_days_below(sic, thresh="15%", freq="YS"):

80

"""

81

Number of days with sea ice concentration below threshold.

82

83

Parameters:

84

- sic: xr.DataArray, daily sea ice concentration data

85

- thresh: str or float, concentration threshold (default "15%")

86

- freq: str, resampling frequency

87

88

Returns:

89

xr.DataArray: Number of days below threshold

90

"""

91

92

def ice_free_days(sic, thresh="15%", freq="YS"):

93

"""

94

Number of ice-free days (concentration below threshold).

95

96

Parameters:

97

- sic: xr.DataArray, daily sea ice concentration data

98

- thresh: str or float, ice-free threshold (default "15%")

99

- freq: str, resampling frequency

100

101

Returns:

102

xr.DataArray: Number of ice-free days

103

"""

104

```

105

106

### Sea Ice Season Indicators

107

108

Sea ice seasonality metrics for understanding ice formation and melt patterns.

109

110

```python { .api }

111

def sea_ice_season_start(sic, thresh="15%", window=5, freq="YS"):

112

"""

113

Start date of sea ice season.

114

115

Parameters:

116

- sic: xr.DataArray, daily sea ice concentration data

117

- thresh: str or float, concentration threshold (default "15%")

118

- window: int, minimum number of consecutive days (default 5)

119

- freq: str, resampling frequency

120

121

Returns:

122

xr.DataArray: Ice season start day of year

123

"""

124

125

def sea_ice_season_end(sic, thresh="15%", window=5, freq="YS"):

126

"""

127

End date of sea ice season.

128

129

Parameters:

130

- sic: xr.DataArray, daily sea ice concentration data

131

- thresh: str or float, concentration threshold (default "15%")

132

- window: int, minimum number of consecutive days (default 5)

133

- freq: str, resampling frequency

134

135

Returns:

136

xr.DataArray: Ice season end day of year

137

"""

138

139

def sea_ice_season_length(sic, thresh="15%", window=5, freq="YS"):

140

"""

141

Length of sea ice season.

142

143

Parameters:

144

- sic: xr.DataArray, daily sea ice concentration data

145

- thresh: str or float, concentration threshold (default "15%")

146

- window: int, minimum number of consecutive days (default 5)

147

- freq: str, resampling frequency

148

149

Returns:

150

xr.DataArray: Ice season length in days

151

"""

152

```

153

154

## Usage Examples

155

156

### Basic Sea Ice Analysis

157

158

```python

159

import xarray as xr

160

import xclim.seaIce as xcs

161

162

# Load sea ice concentration data

163

sic = xr.open_dataset("sea_ice.nc").siconc # Concentration in %

164

165

# Calculate basic sea ice metrics

166

ice_area = xcs.sea_ice_area(sic, freq="YS")

167

ice_extent = xcs.sea_ice_extent(sic, thresh="15%", freq="YS")

168

mean_conc = xcs.sic_mean(sic, freq="YS")

169

```

170

171

### Sea Ice Seasonality

172

173

```python

174

# Analyze ice season timing and duration

175

season_start = xcs.sea_ice_season_start(

176

sic, thresh="15%", window=7, freq="YS"

177

)

178

season_end = xcs.sea_ice_season_end(

179

sic, thresh="15%", window=7, freq="YS"

180

)

181

season_length = xcs.sea_ice_season_length(

182

sic, thresh="15%", window=7, freq="YS"

183

)

184

185

# Count ice-free days

186

ice_free = xcs.ice_free_days(sic, thresh="15%", freq="YS")

187

```

188

189

### Threshold Analysis

190

191

```python

192

# Days with significant ice cover

193

ice_days = xcs.sic_days_above(sic, thresh="50%", freq="YS")

194

195

# Days with minimal ice

196

low_ice_days = xcs.sic_days_below(sic, thresh="30%", freq="YS")

197

```