terraref / extractors-hyperspectral

Scripts and code relevant to the SWIR and VNIR cameras.
BSD 3-Clause "New" or "Revised" License
6 stars 6 forks source link

Hmb1 patch12 #30

Closed hmb1 closed 7 years ago

hmb1 commented 7 years ago

Hi Charlie, Have added the "-m" option for location of the user supplied netCDF mask file ( msk_fl). This file contains the single var "double SoilRemovalMask(x, y)" . AFAIKT elements are 0.0 or 1.0 If the x, y dims don't match the data then a warning is emitted processing of the indices continues without it

...Henry

hmb1 commented 7 years ago

now will work with any mask type - where( SoilRemovalMask != 0) *@var_nm=flt_mss;

czender commented 7 years ago

Thanks for fixing that. Next step is to coordinate passing the correct plant/soil mask to the hyperspectral workflow for each image. It's also possible for the HS workflow to call the mask-generator itself and then use the mask. The choice on how to do this should consider input from (at least) @remotesensinglab @dlebauer and @max-zilla