Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Grund <[email protected]>
Co-authored-by: Wei Ji <[email protected]>
  • Loading branch information
3 people authored Mar 6, 2023
1 parent 9e5b847 commit 2045561
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions pygmt/clib/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -1515,7 +1515,7 @@ def grid_from_virtualfile(self, grid):
Yields
------
vfile : str
The name of virtual file.
Name of the virtual file.
"""
family = "GMT_IS_GRID"
geometry = "GMT_IS_SURFACE"
Expand All @@ -1525,12 +1525,12 @@ def grid_from_virtualfile(self, grid):
@contextmanager
def grid_to_virtualfile(self):
"""
Create a virtual file for a output grid.
Create a virtual file for an output grid.
Yields
------
vfile : str
The name of virtual file.
Name of the virtual file.
"""
family = "GMT_IS_GRID"
geometry = "GMT_IS_SURFACE"
Expand Down
2 changes: 1 addition & 1 deletion pygmt/datatypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import xarray as xr
from pygmt.clib.session import Session

# Lenghts of grid header variables
# Lengths of grid header variables
with Session() as lib:
GMT_GRID_UNIT_LEN80 = lib["GMT_GRID_UNIT_LEN80"]
GMT_GRID_TITLE_LEN80 = lib["GMT_GRID_TITLE_LEN80"]
Expand Down

0 comments on commit 2045561

Please sign in to comment.