Exercise 1: Displaying a raster layer from a netCDF file

Complexity: Beginner Data Requirement: ArcGIS Tutorial Data Setup Data Path: C:\arcgis\ArcTutor\NetCDF Goal: Create a raster layer from a netCDF file.

You'll locate the Make NetCDF Raster Layer tool and create a raster layer using a variable from a netCDF file. You'll then change the display by selecting a different time step. This exercise will take approximately 15 minutes to complete.

Copying tutorial data

Before working with multidimension tools, you'll organize your tutorial data.

Steps:
  1. Open Windows Explorer. You can use the shortcut key combination Windows logo key+E to open it.
  2. Navigate to the location where you installed the tutorial data; for example, if you installed ArcGIS on your C drive, navigate to C:\arcgis\ArcTutor.
  3. Right-click the NetCDF folder and click Copy.
  4. Right-click the C drive (or an alternative location) in Windows Explorer and click Paste.

Making a netCDF raster layer

You'll run the Make NetCDF Raster Layer tool to create a raster layer using the tmin variable from the temperature.nc netCDF file.

Steps:
  1. Start ArcMap.
  2. Click OK on the ArcMap startup dialog box.
  3. Open the Make NetCDF Raster Layer tool.

    NoteNote:
    You can use the Search window to locate the tool.

    1. Click the Search button Search Window.
    2. Choose Tools.
    3. Type Make NetCDF Raster Layer.
    4. Click the magnifying glass icon.
    5. Click the Make NetCDF Raster Layer tool in the list.

    Search for Make NetCDF Raster Layer tool

  4. For the Input netCDF File value, type or browse to C:\NetCDF\temperature.nc.
  5. Accept default values for Variable (tmin), X Dimension (lon), and Y Dimension (lat) parameters.
  6. Type Minimum_Temperature in the Output Raster Layer text box.
  7. Click OK to run the tool.

    Parameter values in Make NetCDF Raster Layer tool

The Minimum_Temperature raster layer is added to ArcMap. It displays the winter minimum temperature of the year 1875, which is the default (first) time step. Note that the maximum and minimum and temperature values in the table of contents are 27.6854 and -59.0669, respectively.

Maximum and minimum values of the Minimum_Temperature layer

Displaying a specific time step

The raster layer is displayed using the default time step, which is 1/1/1875. You'll change the display to show the minimum winter temperature of the year 1940 by changing the time step on the Layer Properties dialog box.

Steps:
  1. Right-click the Minimum_Temperature layer in the table of contents and click Properties.

    Open layer properties dialog

  2. Click the NetCDF tab.
  3. Click the cell next to Year under the Value column. An arrow appears.
  4. Click the arrow and choose 1/1/1940.
  5. Click OK on the Layer Properties dialog box.

    Specify time step on the layer properties dialog

The Minimum_Temperature layer now displays the winter minimum temperature of 1940. Note that the maximum and minimum temperatures have changed to 28.153 and -60.2398, respectively.

Returning to the default time step

You can return to the default (the first) time step by changing the time dimension value on the Layer Properties dialog box, or you can run the Select by Dimension tool.

Steps:
  1. Open the Select by Dimension tool.
  2. For the Input Layer or Table value, choose Minimum_Temperature from the drop-down list.
  3. Accept default values for all other parameters.
  4. Click OK to run the tool.

    Parameter values in Select by Dimension tool

The display of the Minimum_Temperature layer is back to the default time step (in other words, the winter minimum temperature of 1875). Note that the maximum and minimum temperatures are now back to 27.6854 and -59.0669, respectively.

Related Topics


6/6/2013