Instructions for Importing an ASCII Grid into Arcview GIS Using ArcToolbox or Spatial Analyst(older software)


First, download the desired ASCII raster grid from the PRISM Climate Group web page (http://prism.oregonstate.edu). File name suffix referes to the month number (e.g. 01 = Jan, ... 12 = Dec, 13 or 14 = Annual). After download, you MUST rename the file with the suffix txt or asc. ESRI software will not read the file name in any other convention. For help in downloading the ASCII grids, you might also look at the follwing web page: download.html


    ArcToolbox

  1. From ArcToolbox, select Conversion Tools - To Raster - ASCII to Raster
  2. Select the file icon in the far right of the Input ASCII Raster File file box.
  3. A dialog box will open. Select the ASCII file for import.
  4. Select the Output Raster.
  5. Select Output Type as Integer or Float.
  6. Select the OK button and the data will start importing.

    Spatial Analyst

  1. Once the raster file is on a local drive, use gunzip to uncompress the file (<filename>.gz). Download a shareware utility - if you do not already have one - to gunzip the file.
  2. Start Arcview GIS and be sure the Spatial Analyst extension is turned on. The do this, select File and Extensions... and check Spatial Analyst.
  3. Open existing or start a new project. Open and make a View active.
  4. Now import the gridded ASCII file you gunzipped, by selecting Fileand thenImport Grids.... The Import File Type should be set to ASCII.
  5. In the Import ASCII Files dialog box, you must change the "List Files of Type" to All Files (*.*). Select the unzipped ASCII file.
  6. At this point you must provide Arcview GIS with an output file name (the default is imgrd1) for the imported grid . Be sure you are saving in the correct directory and then type in the filename.
  7. At the dialog box "Import Grids: ..." Cell values as integers? Select "yes."
  8. Now go to a View, and add a theme. In the Add Theme dialog box, change type of theme from Featured Data Source to Gridded Data Source. Then simply select the imported grid that you saved in step 7.
    NOTE: A problem has been detected with the use of the PRISM
     precipitation grids (units=mm*100) with ArcView's Spatial Analyst
     [NT/win95 Arcview version 3.0a and spatial analyst v1.1.  Unix ArcView
     v3.0b and Spatial Analyst 1.0a.] The grid, once imported, does not
     display properly.  An easy fix has been found to allow ArcView users to
     use these grids.  Using ArcView's map calculator, divide the
     precipitation grid value by 100. The map will now display correctly and
     units will be in mm.

  9. Depending on the grid, the nodata_value is -999 or -9999.
  10. When the new theme is turned on, the view will show the latitude-longitude projected gridded data.
  11. To conserve disk space, you can now delete the original gunzipped file.

For additional Arcview GIS or Spatial Analyst HELP, please contact ESRI (www.esri.com).

For information on the gridded data (i.e. units, projection, etc.) please refer to the accompanying metadata and README files.


PRISM Group, Oregon State Univeristy
3 May 2010

Copyright © 199X, 20XX by the PRISM Climate Group, Oregon State University