Skip to content

Commit

Permalink
Fixed docs build error
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs committed Sep 27, 2022
1 parent 7a62dd6 commit e1095f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lidar/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,10 +553,11 @@ def reproject_image(image, output, dst_crs="EPSG:4326", resampling="nearest", **


def check_file_path(file_path, make_dirs=True):

"""Gets the absolute file path.
Args:
file_path ([str): The path to the file.
file_path (str): The path to the file.
make_dirs (bool, optional): Whether to create the directory if it does not exist. Defaults to True.
Raises:
Expand Down
4 changes: 2 additions & 2 deletions lidar/filling.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def regionGroup(img_array, min_size, no_data):
"""IdentifIies regions based on region growing method
Args:
img_array (np.array): The numpy array containing the image.
img_array (array): The numpy array containing the image.
min_size (int): The minimum number of pixels to be considered as a depression.
no_data (float): The no_data value of the image.
Expand All @@ -77,7 +77,7 @@ def np2rdarray(in_array, no_data, projection, geotransform):
"""Converts an numpy array to rdarray.
Args:
in_array (np.array): The input numpy array.
in_array (array): The input numpy array.
no_data (float): The no_data value of the array.
projection (str): The projection of the image.
geotransform (str): The geotransform of the image.
Expand Down

0 comments on commit e1095f6

Please sign in to comment.