Skip to content

Commit

Permalink
Fix conflicting sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanideCN committed Jun 22, 2020
1 parent b50d4e0 commit 8a7d618
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cinrad/io/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,6 @@ def available_product(self, tilt: int) -> list:

@staticmethod
def get_range(drange: Number_T, reso: Number_T) -> np.ndarray:
return np.arange(reso, drange + reso, reso)
rng = np.arange(reso, drange + reso, reso)
valid_entry = int(drange // reso)
return rng[:valid_entry]

0 comments on commit 8a7d618

Please sign in to comment.