Hi,
You need to modify the following code from [1].
Code:
% Focus on aerosol (=3) data only. Make the rest fill value (= 0).
data(data_ft > 3) = 0;
data(data_ft < 3) = 0;
Since the above code is for aerosol, change the value to 2 for cloud.
Code:
% Focus on cloud (=2) data only. Make the rest fill value (= 0).
data(data_ft > 2) = 0;
data(data_ft < 2) = 0;
Then, you can classify the cloud data according to user's guide:
0 = low overcast, transparent
1 = low overcast, opaque
2 = transition stratocumulus
3 = low, broken cumulus
4 = altocumulus (transparent)
5 = altostratus (opaque)
6 = cirrus (transparent)
7 = deep convective (opaque)
Regards,
[1]
http://hdfeos.org/zoo/MORE/LaRC/CALI..._35_40ZN_hdf.m