Skip to content

Commit 7a970c8

Browse files
committed
Downgrade interpolation gap warnings to debug level
1 parent 396ea8b commit 7a970c8

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

cloudnetpy/categorize/lidar.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ def _mask_profiles(
5959
) -> None:
6060
prefix = f"Unable to interpolate lidar for {len(ind)}"
6161
if dim == "time" and ind:
62-
logging.warning("%s time steps", prefix)
62+
logging.debug("%s time steps", prefix)
6363
data[ind, :] = ma.masked
6464
elif dim == "height" and ind:
65-
logging.warning("%s altitudes", prefix)
65+
logging.debug("%s altitudes", prefix)
6666
data[:, ind] = ma.masked
6767

6868
def _add_meta(self) -> None:

cloudnetpy/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ def interpolate_1d(
504504

505505
if len(bad_idx) > 0:
506506
msg = f"Unable to interpolate for {len(bad_idx)} time steps"
507-
logging.warning(msg)
507+
logging.debug(msg)
508508
interpolated[bad_idx] = ma.masked
509509

510510
return interpolated

0 commit comments

Comments
 (0)