I currently have a raster stack of environmental data, where each layer is a daily mean value. Reading/ importing this into R and analysing it works fine. However, when I write/ export it as a NetCDF and try to load it into ArcGIS, the values/ range for each layer are 0. I’ve tried this with other datasets and it works fine.
This is the code I’m using:
<code>raster::writeRaster(resampled_EKE,
file = "D:/filepathway/EKE2.nc",
format = "CDF",
overwrite = TRUE)
</code>
<code>raster::writeRaster(resampled_EKE,
file = "D:/filepathway/EKE2.nc",
format = "CDF",
overwrite = TRUE)
</code>
raster::writeRaster(resampled_EKE,
file = "D:/filepathway/EKE2.nc",
format = "CDF",
overwrite = TRUE)