Grid Editor

The File | Open, Grids | Editor | Grid Editor, and Map Tools | Edit Layer | Grid commands open the grid editor as a new document.

The grid editor contains various methods for editing the grid Z values. Editing the grid z values will change the appearance of any grid-based maps. For example, the grid editor can be used to edit contours on a contour map or change the surface in a 3D surface map.

 

Each grid node is indicated with a black "+" in the grid editor window by default. Each blanked (NoData) grid node is indicated with a blue "x" by default. The active node is highlighted with a red diamond. To move between grid nodes, press the arrow keys, or click a node with the Select tool active to make it the active node. The grid editor also includes contours, node labels, and a color fill. The grid appearance is controlled by the items in the Contents window and the properties displayed in the Properties window. Note the Undo command does not undo changes in the Properties window in the grid editor.

 

The grid editor also allows you to open an image file and save as a grid file.

 

Grid Editor Window

The following image and table explain the purpose of the grid editor window components. Click various parts of the image to see detailed information about the window components.

 

 

This is the Surfer grid editor with the Contents and Properties windows on the left and grid editor window on the right.

 

 

Component Name

Component Definition

Ribbon

The ribbon contains the Grid Editor commands.

Contents

Toggle the display of the Node Labels, Node Symbols, Contours, and Color Fill with the Contents window.

Properties

Edit Node Labels, Node Symbols, Contours, and Color Fill display properties in the Properties window.

Tabbed Documents

Plot windows, worksheet windows, and grid editor windows are displayed as tabbed documents.

Tool Options

The tool options bar contains the Z value box, Brush size, Density, and/or Pressure depending on the selected tool mode.

Active Node

The node that is currently selected. The active node is highlighted with a red diamond.

Grid Node

Each grid node is indicated with a black "+" in the grid editor window by default. Blanked (NoData) nodes are indicated with a blue "x".

Status Bar

The status bar includes information about the selected property, active node grid coordinates, and cursor map coordinates.

 

Grid Editor Commands

The Grid Editor ribbon tab includes the following commands:

 

Select

Select a grid node to edit the grid Z values one node at a time

Brush

Apply a specific Z value to one or more nodes

Warp

Drag grid values from one region into another

Smooth

Apply weighted averaging to grid nodes

Push Down

Decrease grid node values

Pull Up

Increase grid node values

Eraser

Blank (assign NoData value) to grid nodes

Eyedropper

Acquire a grid node value by clicking on the grid

Undo

Undo the last operation

Redo

Redo the last undone operation

Fit to Window

Fits the entire grid in the grid editor window

Zoom In

Increase the grid editor window magnification

Zoom Out

Decrease the grid editor window magnification

Grid Info

Display information about the grid in a report window

Track Cursor

Track cursor location across plot, worksheet, and grid editor windows for maps, data files, and grids.

Update Layer

Updates the associated map layer with the edited grid

 

Using the Grid Editor

The grid editor can be used on existing map layers or on grid files without first creating a map.

 

To edit a map layer's grid:

  1. Select the map layer you wish to edit in the plot document Contents window. Only the grid for this map layer will be edited, even when multiple layers use the same grid file.

  2. Click Map Tools | Edit Layer | Grid in the plot window. The grid file is opened and is represented by a filled contour map. The location of each grid node in the file is marked with a black "+". Blanked (NoData) nodes are marked with a blue "x".

  3. Use the Grid Editor | Tools commands to make the desired adjustments to the grid.

  4. When you are done editing the grid, click the Grid Editor | Options | Update Layer command to update the map layer in the plot document with your grid.

  5. If you wish to save your edits to a file, click File | Save As to create a new grid file. Click File | Save to overwrite the existing grid file. It is necessary to save your edits to a file with Save or Save As if you wish to update all layers in your map to use the edited grid.

  6. To close the grid editor window, click the File | Close command or click the X in the grid editor document tab. To view an existing window and keep the grid editor window open, click on another document tab.

 

To edit a grid file:

  1. Click the Grids | Editor | Grid Editor command and select the grid file in the Open Grid dialog. Alternatively, click the File | Open command and select a grid file in the Open dialog.  The grid file is opened and is represented by a filled contour map. The location of each grid node in the file is marked with a black "+". Blanked (NoData) nodes are marked with a blue "x".

  2. Use the Grid Editor | Tools commands to make the desired adjustments to the grid.

  3. When you are done editing the grid, click File | Save As to create a new grid file. Click File | Save to overwrite the existing grid file. It is necessary to save your edited grid to a file with Save or Save As if you wish to create map layers with the grid.

  4. To close the grid editor window, click the File | Close command or click the X in the grid editor document tab. To view an existing window and keep the grid editor window open, click on another document tab.

 

 

See Also

Surfer User Interface

Plot Document

Worksheet Document

Grid Info

Menu and Tab Commands