Good Afternoon, I’m having an issue using the set var/bad = 0 dataset command. I’ve defined some new regions as the following, to indicate presence or absence of stratification: let X = if stratified[l=1:12@sum] eq 0 then 1 else 0 let Y = if stratified[l=10:2@sum] eq 0 and stratified[l=3:9@sum] gt 0 and stratified[l=3:9@sum] le 3 then 1 else 0 So this creates a map of 1’s where the region matches what is described in the mask, and 0’s where it doesn’t. So now I try to mask out all of the 0’s so that I can create shapefiles of the areas matching my description using: Set var/bad = 0 X Set var/bad = 0 Y However, this seems to mask the entirety of my data and I get a screen telling me that no data is available. Does anyone have any clues as to why this happens? Because I am lost for ideas, I think it might be to do with the fact that both of these ‘original’ datasets will have values of 0 (as seen in original definitions), and so it is masking the original dataset, does anyone know how I can make the mask apply only to my map of 1’s and 0’s? Many thanks, Josh Sent from Mail for Windows 10 |