ValueError: shape mismatch: objects cannot be broadcast to a single shape

Technical questions about ACOLITE
guoqiangqiu
Posts: 8
Joined: Sat Sep 18, 2021 11:20 am

Re: ValueError: shape mismatch: objects cannot be broadcast to a single shape

Post by guoqiangqiu »

Hi Quinten,
I also have the same question. Some cloud shadows were mistaken as dark water bodies, especially over the forest, and now in the new version of AcoLite, can we have a good way to identify them?
Thanks,
Guoqiang
quinten wrote: Wed Jun 30, 2021 1:37 pm Hi Isabel

Cloud shadows are a known problem! They are not easy to mask spectrally as they just look like darker water. There are some methods that detect the clouds first, and then project the shadow on the surface. These methods are not perfect, as they have issues with distinguishing other bright targets (e.g. sandy beaches) and/or need to assume the cloud height. At the moment there is no attempt to mask cloud shadows in the ACOLITE outputs.

Perhaps setting the NoData Value helps when writing the GeoTIFF files. I have updated ac.output.nc_to_geotiff on GitHub. Does this improve the handling of the masks?

Quinten
Post Reply