HOW TO

Convert a GRIB file to netCDF while preserving variables in ArcGIS Pro

Last Published: December 12, 2023

Summary

The General Regularly-distributed Information in Binary (GRIB) file is a compact data format commonly used in meteorology to store historical and forecast weather data. This file contains variables such as temperature, wind speed, and precipitation. In ArcGIS Pro, the GRIB file can be converted to netCDF to improve data accessibility and provide a more descriptive format using the Raster to NetCDF tool. However, this method does not preserve variables from the GRIB file. This article describes how to convert a GRIB file to a netCDF file while preserving the variables in ArcGIS Pro.

Procedure

  1. Open the project in ArcGIS Pro.
  2. Add the GRIB file with multiple variables to the map.
    1. On the Map tab, click Add Data drop-down menu, and select Multidimensional Raster Layer.
    2. In the Multidimensional Raster Layer dialog box, click Import Variables The Import Variable button and browse to the GRIB file for the input.
    3. For Select Variables, check the check boxes of the variables to retain in the raster layer.
    4. For Output Configuration, select Multidimensional Multivariate Raster from the drop-down list.
    5. Click OK.
The Add Multidimensional Raster Layers dialog box
  1. Convert the GRIB file to netCDF using the Copy Raster tool.
    1. In the Geoprocessing pane, search for and click Copy Raster (Data Management Tools).
    2. In the Copy Raster pane, for Input Raster, select the GRIB raster layer from the drop-down list.
    3. For Output Raster Dataset, specify a location and name for the output raster dataset with the netCDF file extension (.nc).
    4. For Format, select NetCDF format from the drop-down list and check the Process as Multidimensional check box.
    5. Click Run.
The Copy Raster pane

Article ID: 000031509

Software:
  • ArcGIS Pro 3 1
  • ArcGIS Pro 3 0
  • ArcGIS Pro 3 2

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options