ArcGIS for Desktop

  • Documentation
  • Pricing
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS for Desktop

A complete professional GIS

ArcGIS for Server

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Pricing
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

Reading netCDF data as a raster layer

Caution:

You cannot add a netCDF file using the Add Data button Add Data.

Using the Make NetCDF Raster Layer tool from the Multidimension Tools toolbox, you can create a raster layer from a netCDF variable. The output raster layer can be used in other tools that accept rasters as input for further analysis. To save the output layer, right-click the layer in the ArcMap table of contents and click Save As Layer File, or use the Save To Layer File tool from the Data Management Tools toolbox.

A raster layer can be created using variables with two or more dimensions. The output raster layer type is either float or integer based on the netCDF variable type. The following example shows a variable, rainfall, with three dimensions:

netcdf annualrainfall {
dimensions:
	latitude = 48 ;
	longitude = 115 ;
	time = UNLIMITED ; 
variables:
	float latitude (latitude) ;
		latitude:units = "degrees_north" ;
	float longitude (longitude) ;
		longitude:units = "degrees_east" ;
	int time(time) ;
		time:units = "days since 1895-01-01" ;
		time:time_step = "annual" ;
		time:calendar = "gregorian" ;
	float rainfall (time, latitude, longitude) ;
		rainfall:units = "mm yr-1" ;
		rainfall:_FillValue = -9999.f ;
		rainfall:missing_value = -9999.f ;
}
  1. Click the Search window button Search or tab.
  2. Click Tools.
  3. Type Make NetCDF Raster Layer in the text box and click Search Search.
  4. Click Make NetCDF Raster Layer in the returned list to open the tool.
  5. Type the name in the Input netCDF File text box, or click the browse button to navigate to the input file.
  6. Click the Variable drop-down arrow and choose a variable from the list.
  7. Click the X Dimension drop-down arrow and choose a dimension from the list, or alternatively, leave the default.
  8. Click the Y Dimension drop-down arrow and choose a dimension from the list, or alternatively, leave the default.
  9. Type the name in the Output Raster Layer text box, or leave the default.
  10. Optionally, to create a multiband raster, click the Band Dimension drop-down arrow and choose a dimension from the list.
  11. To specify a slice other than the default of multidimensional data, click the Default Values drop-down arrow and choose a dimension from the list. The dimension is added to the table. Click the Value drop-down arrow next to the added dimension and choose a value. Repeat this step to specify values for other dimensions.
  12. Click OK.

    An in-memory raster layer is created. You cannot see this layer in the ArcCatalog tree, but it can be used as input to geoprocessing tools that support it. In ArcMap, a raster layer is added to the table of contents.

Note:

You can also drag and drop a netCDF file in ArcMap. If the file contains variables with two or more dimensions, a raster layer is created and displayed using the first variable.

Related Topics

  • Reading netCDF data using geoprocessing tools
  • Make NetCDF Raster Layer
Feedback on this topic?

ArcGIS for Desktop

  • Home
  • Documentation
  • Pricing
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS for Desktop
  • ArcGIS for Server
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal