Skip to content

Commit 294368f

Browse files
Fix typos
1 parent ed1ab14 commit 294368f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

pygmt/datasets/earth_deflection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ def load_earth_deflection(
9494
--------
9595
9696
>>> 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)
9999
>>> grid = load_earth_deflection()
100100
>>> # load the default grid for south-north deflection
101101
>>> grid = load_earth_deflection(direction="ndefl")

pygmt/datasets/load_remote_dataset.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class GMTRemoteDataset(NamedTuple):
111111
},
112112
),
113113
"earth_edefl": GMTRemoteDataset(
114-
description="IGPP Earth east-west deflections",
114+
description="IGPP Earth east-west deflection",
115115
units="micro-radians",
116116
extra_attributes={"horizontal_datum": "WGS84"},
117117
resolutions={
@@ -296,7 +296,7 @@ class GMTRemoteDataset(NamedTuple):
296296
},
297297
),
298298
"earth_ndefl": GMTRemoteDataset(
299-
description="IGPP Earth south-north deflections",
299+
description="IGPP Earth south-north deflection",
300300
units="micro-radians",
301301
extra_attributes={"horizontal_datum": "WGS84"},
302302
resolutions={

pygmt/tests/test_datasets_earth_deflection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def test_earth_edefl_01d():
1515
data = load_earth_deflection(resolution="01d")
1616
assert data.name == "z"
1717
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"
1919
assert data.attrs["units"] == "micro-radians"
2020
assert data.attrs["horizontal_datum"] == "WGS84"
2121
assert data.shape == (181, 361)
@@ -62,7 +62,7 @@ def test_earth_ndefl_01d():
6262
data = load_earth_deflection(resolution="01d", direction="ndefl")
6363
assert data.name == "z"
6464
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"
6666
assert data.attrs["units"] == "micro-radians"
6767
assert data.attrs["horizontal_datum"] == "WGS84"
6868
assert data.shape == (181, 361)

0 commit comments

Comments
 (0)