Skip to content

Commit 6823bd8

Browse files
authored
CLN:convention: Remove unused docstring & kwargs (#904)
1 parent bda583f commit 6823bd8

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

rioxarray/_convention/_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ class ConventionProtocol(Protocol):
1414

1515
@classmethod
1616
def read_crs(
17-
cls, obj: Union[xarray.Dataset, xarray.DataArray], **kwargs
17+
cls, obj: Union[xarray.Dataset, xarray.DataArray]
1818
) -> Optional[rasterio.crs.CRS]:
1919
"""Read CRS from the object using this convention."""
2020

2121
@classmethod
2222
def read_transform(
23-
cls, obj: Union[xarray.Dataset, xarray.DataArray], **kwargs
23+
cls, obj: Union[xarray.Dataset, xarray.DataArray]
2424
) -> Optional[Affine]:
2525
"""Read transform from the object using this convention."""
2626

rioxarray/_convention/cf.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ def read_crs(
3030
----------
3131
obj : xarray.Dataset or xarray.DataArray
3232
Object to read CRS from
33-
grid_mapping_name : str, optional
34-
Name of the grid_mapping coordinate variable
3533
3634
Returns
3735
-------

0 commit comments

Comments
 (0)