When trying to get the mosiac tool to not do a cloud based clean mask, I came across a problem in the get_clean_mask_func(): in apps/dc_algorithm/models/application_models.py, where if you were to not specify bit_mask or cf_mask it would crash because the return_all_true() has a problem where it is calling .shape on a numpy array as a function:
without the parenthesis after .shape. This isn't a bug that the mosaic tool would run into normally but I thought I would post it just in case anyone has this happen to them.
When trying to get the mosiac tool to not do a cloud based clean mask, I came across a problem in the
get_clean_mask_func():
inapps/dc_algorithm/models/application_models.py
, where if you were to not specifybit_mask
orcf_mask
it would crash because thereturn_all_true()
has a problem where it is calling.shape
on a numpy array as a function:Should be:
without the parenthesis after
.shape
. This isn't a bug that the mosaic tool would run into normally but I thought I would post it just in case anyone has this happen to them.