Skip to content

Commit

Permalink
Apply mask to vstd.
Browse files Browse the repository at this point in the history
  • Loading branch information
andwatson committed Nov 1, 2022
1 parent fd696d5 commit b76b0d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion decompose_insar_velocities.m
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,7 @@ function decompose_insar_velocities(config_file)
mask_regrid(isnan(mask_regrid)) = 0;
mask_regrid(mask_regrid>=0.5) = 1; mask_regrid(mask_regrid<0.5) = 0;
vel_regrid(mask_regrid==0) = NaN;
vstd_regrid(mask_regrid==0) = NaN;

% convert to logical
mask_regrid = logical(mask_regrid);
Expand Down Expand Up @@ -642,4 +643,4 @@ function decompose_insar_velocities(config_file)
disp('Run complete')
toc

end
end

0 comments on commit b76b0d5

Please sign in to comment.