When the message Calculating cloud properties for # clouds appears in the terminal it it usually one cloud more than in the resulting tables of cloud properties. It is also wrong in the progress bar that follows that message.
I think it has to do with skipping labels that are zero (line 224 in cloudalyze.py) since the number in the message is calculated previously on all unique labels, potentially including zero (line 219).
When the message
Calculating cloud properties for # cloudsappears in the terminal it it usually one cloud more than in the resulting tables of cloud properties. It is also wrong in the progress bar that follows that message.I think it has to do with skipping labels that are zero (line 224 in
cloudalyze.py) since the number in the message is calculated previously on all unique labels, potentially including zero (line 219).