Bug
Bug ID Number | BUG-000150733 |
---|---|
Submitted | July 13, 2022 |
Last Modified | June 5, 2024 |
Applies to | ArcGIS Pro |
Version found | 3.0 |
Operating System | Windows OS |
Operating System Version | N/A |
Status | Will Not Be Addressed |
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()
Bug ID: BUG-000150733
Software:
Get help from ArcGIS experts
Download the Esri Support App