diff --git a/src/ich/args_in.py b/src/ich/args_in.py index ced3f94001328bf9b8cbb9a73723d4d7c61da40b..7c2989de3ad5f85d3011191972960f38cd7c144a 100644 --- a/src/ich/args_in.py +++ b/src/ich/args_in.py @@ -75,7 +75,7 @@ def rvog_inverse(args): lidar_ht[lidar_ht==0] = np.nan - if args.htl==None and args.htg==None: + if args.htg==0 or (args.htl==None and args.htg==None): """ Calculating the upper limit of the heights to be estimated from the LiDAR data Ceiling the upper limit to the closest multiple of 5 for the height at 99.9 percentile """ args.htl=0