File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ class GMTRemoteDataset(NamedTuple):
94
94
),
95
95
"earth_dist" : GMTRemoteDataset (
96
96
description = "GSHHG Earth distance to shoreline" ,
97
- units = "km " ,
97
+ units = "kilometers " ,
98
98
extra_attributes = {"horizontal_datum" : "WGS84" },
99
99
resolutions = {
100
100
"01d" : Resolution ("01d" ),
@@ -152,7 +152,7 @@ class GMTRemoteDataset(NamedTuple):
152
152
),
153
153
"earth_geoid" : GMTRemoteDataset (
154
154
description = "EGM2008 Earth geoid" ,
155
- units = "m " ,
155
+ units = "meters " ,
156
156
extra_attributes = {"horizontal_datum" : "WGS84" },
157
157
resolutions = {
158
158
"01d" : Resolution ("01d" ),
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ def test_earth_dist_01d():
14
14
data = load_earth_dist (resolution = "01d" )
15
15
assert data .name == "z"
16
16
assert data .attrs ["description" ] == "GSHHG Earth distance to shoreline"
17
- assert data .attrs ["units" ] == "km "
17
+ assert data .attrs ["units" ] == "kilometers "
18
18
assert data .attrs ["horizontal_datum" ] == "WGS84"
19
19
assert data .shape == (181 , 361 )
20
20
assert data .gmt .registration == 0
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ def test_earth_geoid_01d():
15
15
assert data .name == "z"
16
16
assert data .attrs ["long_name" ] == "geoid (m)"
17
17
assert data .attrs ["description" ] == "EGM2008 Earth geoid"
18
- assert data .attrs ["units" ] == "m "
18
+ assert data .attrs ["units" ] == "meters "
19
19
assert data .attrs ["horizontal_datum" ] == "WGS84"
20
20
assert data .shape == (181 , 361 )
21
21
assert data .gmt .registration == 0
You can’t perform that action at this time.
0 commit comments