I am trying to read NetCDF4 files from data developed by Toshicika Iizumi (https://doi.pangaea.de/10.1594/PANGAEA.909132) on global crop yields. I would like to turn the data into a form that is readable by ArcGIS Pro since ArcGIS doesn't recognize the NetCDF4 format.
I am reading the file with xarray like this...
import rioxarray
import xarray
fn = ".../yield_2012.nc4"
xds = xarray.open_dataset(fn)
xds
There doesn't seem to be any information on the projection.
How can I turn this into a raster or GeoTIFF for use in ArcGIS Pro?
import arcpy fn = "yield_2016.nc4" arcpy.MakeNetCDFRasterLayer_md(fn, "var", "lon","lat","yield")
but it doesn't seem like that worked. I also tried the geoprocessing tool and I can't see the nc4 file format in the directory.