File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -94,8 +94,8 @@ def load_earth_deflection(
94
94
--------
95
95
96
96
>>> from pygmt.datasets import load_earth_deflection
97
- >>> # load the default grid for east-west deflection (gridline-registered 1
98
- >>> # arc-degree grid)
97
+ >>> # load the default grid for east-west deflection (gridline-registered
98
+ >>> # 1 arc-degree grid)
99
99
>>> grid = load_earth_deflection()
100
100
>>> # load the default grid for south-north deflection
101
101
>>> grid = load_earth_deflection(direction="ndefl")
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ class GMTRemoteDataset(NamedTuple):
111
111
},
112
112
),
113
113
"earth_edefl" : GMTRemoteDataset (
114
- description = "IGPP Earth east-west deflections " ,
114
+ description = "IGPP Earth east-west deflection " ,
115
115
units = "micro-radians" ,
116
116
extra_attributes = {"horizontal_datum" : "WGS84" },
117
117
resolutions = {
@@ -296,7 +296,7 @@ class GMTRemoteDataset(NamedTuple):
296
296
},
297
297
),
298
298
"earth_ndefl" : GMTRemoteDataset (
299
- description = "IGPP Earth south-north deflections " ,
299
+ description = "IGPP Earth south-north deflection " ,
300
300
units = "micro-radians" ,
301
301
extra_attributes = {"horizontal_datum" : "WGS84" },
302
302
resolutions = {
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ def test_earth_edefl_01d():
15
15
data = load_earth_deflection (resolution = "01d" )
16
16
assert data .name == "z"
17
17
assert data .attrs ["long_name" ] == "edefl (microradians)"
18
- assert data .attrs ["description" ] == "IGPP Earth east-west deflections "
18
+ assert data .attrs ["description" ] == "IGPP Earth east-west deflection "
19
19
assert data .attrs ["units" ] == "micro-radians"
20
20
assert data .attrs ["horizontal_datum" ] == "WGS84"
21
21
assert data .shape == (181 , 361 )
@@ -62,7 +62,7 @@ def test_earth_ndefl_01d():
62
62
data = load_earth_deflection (resolution = "01d" , direction = "ndefl" )
63
63
assert data .name == "z"
64
64
assert data .attrs ["long_name" ] == "ndefl (microradians)"
65
- assert data .attrs ["description" ] == "IGPP Earth south-north deflections "
65
+ assert data .attrs ["description" ] == "IGPP Earth south-north deflection "
66
66
assert data .attrs ["units" ] == "micro-radians"
67
67
assert data .attrs ["horizontal_datum" ] == "WGS84"
68
68
assert data .shape == (181 , 361 )
You can’t perform that action at this time.
0 commit comments