You can convert the Z value of NoData (blanked) grid nodes in a GRD file to any other value a couple different ways.
Note this does not change the data value that the grid sees as NoData, it just changes the Z value of the existing NoData nodes so that they have valid data.
Method 1: Grid Math
The easiest way is to click Grids | Calculate | Math. This is the simplest solution.
- Click Grids | Calculate | Math.
- In the Grid Math dialog, click the Add Grids button, select your grid file and click Open.
- Change the NoData Handling to Remap to and then enter the value you want for the blanked nodes as the Remap Value (e.g. 0 or 9999).
- Change the Output Grid File if you wish and click OK. The new grid is created, and all the NoData nodes have been converted from the NoData Z value to the Z value specified.
Method 2: Grid Filter
Another option is to click Grids | Edit | Filter.
- Click Grids | Edit | Filter.
- In the Grid Filter dialog, select the Input Grid from the drop down list, or click Browse to navigate to the file.
- Choose Linear Convolution Filters | User Defined Filters | General User-defined (mxn) to fill a blanked area with a value.
- Set the Edge Effects | NoData Nodes to Fill and set the Value to whatever value you want the blanked nodes to be (e.g. 0 or 9999).
- Change the Output Grid File if you wish and click OK. The new grid is created, and all the NoData nodes have been converted from the NoData Z value to the Z value specified.
Updated November, 2021
Comments
Please sign in to leave a comment.