laptop and a wrench

Bug

Unable to add and view network Common Data Form (NetCDF) files in ArcGIS Pro.

Last Published: October 5, 2022 ArcGIS Pro
Bug ID Number BUG-000150733
SubmittedJuly 13, 2022
Last ModifiedJune 5, 2024
Applies toArcGIS Pro
Version found3.0
Operating SystemWindows OS
Operating System VersionN/A
StatusWill Not Be Addressed

Additional Information

Even though the provided data is in netCDF format, it is not fully Climate and Forecast (CF) compliant. Coordinate variables are not properly connected with the data variables. This is resolved when the data is created.

Workaround

Use the following python script to augment the coordinate information:

import netCDF4 ds = netCDF4.Dataset(r'C:\test.nc', 'r+')# Open the netCDF file and set the mode to write varList = ds.variables.keys() # Get a list of all of the variables in the file for v in varList: if v not in ['latitude', 'longitude']: # Excludes variables that do not need coordinates information attached ds.variables[v].coordinates = 'latitude longitude' ds.close()

Steps to Reproduce

Bug ID: BUG-000150733

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options