Skip to content

Commit

Permalink
add type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
jkittner committed Jul 12, 2022
1 parent 673e0e4 commit 4b7f6f0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion w2w/w2w.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,10 @@ def check_lcz_integrity(info: Info, LCZ_BAND: int) -> None:
lcz.rio.to_raster(info.src_file_clean, dtype=np.int32)


def using_kdtree(data, kpoints):
def using_kdtree(
data: pd.DataFrame,
kpoints: int,
) -> Tuple[NDArray[np.int_], NDArray[np.int_]]:

'''
Extract nearest kpoints to each point given a list of them.
Expand Down

0 comments on commit 4b7f6f0

Please sign in to comment.