laptop and a wrench

Bogue

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

Dernière publication: October 5, 2022 ArcGIS Pro
Numéro d’ID de bogue BUG-000150733
EnvoiJuly 13, 2022
Dernière modificationJune 5, 2024
S’applique àArcGIS Pro
Version trouvée3.0
Système d’exploitationWindows OS
Version du système d’exploitationN/A
StatutWill Not Be Addressed

Informations supplémentaires

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.

Solution de contournement

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()

Étapes pour reproduire

ID de bogue: BUG-000150733

Logiciel:

  • ArcGIS Pro

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement