Skip to content

Commit

Permalink
Removes np.nan in output of spatial_filter.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bjmarfito authored Nov 12, 2024
1 parent c7e77cc commit ceee570
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mintpy/spatial_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ def filter_file(fname, ds_names=None, filter_type='lowpass_gaussian', filter_par
data = filter_data(data, filter_type, filter_par)

# save
data *= ~np.isnan(data)
dsDict[ds_name] = data

# write to file
Expand Down

0 comments on commit ceee570

Please sign in to comment.