Skip to content

Commit

Permalink
common.py: typo fixes (#1828)
Browse files Browse the repository at this point in the history
  • Loading branch information
schwehr authored Nov 13, 2023
1 parent dd0069c commit 474226f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions geemap/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -7675,7 +7675,7 @@ def latitude_grid(step=1.0, west=-180, east=180, south=-85, north=85):
north (int, optional): The north boundary in degrees. Defaults to 85.

Returns:
ee.FeatureColleciton: A feature collection of latitude grids.
ee.FeatureCollection: A feature collection of latitude grids.
"""
values = ee.List.sequence(south, north - step, step)

Expand Down Expand Up @@ -7706,7 +7706,7 @@ def longitude_grid(step=1.0, west=-180, east=180, south=-85, north=85):
north (int, optional): The north boundary in degrees. Defaults to 85.

Returns:
ee.FeatureColleciton: A feature collection of longitude grids.
ee.FeatureCollection: A feature collection of longitude grids.
"""

values = ee.List.sequence(west, east - step, step)
Expand Down Expand Up @@ -7950,7 +7950,7 @@ def rename_bands(img, in_band_names, out_band_names):

Args:
img (object): The image to be renamed.
in_band_names (list): The list of of input band names.
in_band_names (list): The list of input band names.
out_band_names (list): The list of output band names.

Returns:
Expand Down Expand Up @@ -8844,7 +8844,7 @@ def kml_to_geojson(in_kml, out_geojson=None, **kwargs):


def kml_to_ee(in_kml, **kwargs):
"""Converts a KML to ee.FeatureColleciton.
"""Converts a KML to ee.FeatureCollection.

Args:
in_kml (str): The file path to the input KML.
Expand Down Expand Up @@ -8873,7 +8873,7 @@ def kml_to_ee(in_kml, **kwargs):


def kmz_to_ee(in_kmz, **kwargs):
"""Converts a KMZ to ee.FeatureColleciton.
"""Converts a KMZ to ee.FeatureCollection.

Args:
in_kmz (str): The file path to the input KMZ.
Expand Down Expand Up @@ -15494,4 +15494,4 @@ def geotiff_to_image(image: str, output: str) -> None:
image = Image.fromarray(data.transpose(1, 2, 0))

# Save the image as a JPEG file
image.save(output)
image.save(output)

0 comments on commit 474226f

Please sign in to comment.