Mosaic Dataset to NetCDF error

456
2
12-19-2022 07:27 AM
AlfonsoYanezMorillo
New Contributor II

Hi all,

I'm trying to convert a Mosaic dataset with several LUC rasters into a NetCDF file and always I've got an error.

I created a Raster Dataset with 10 rasters representing land use classes. Then I opened the footprint's table, and I added a field for the year.

When I run the Raster to NetCDF tool, it always ends up with an 999998 error. I tried using directly the raw Mosaic dataset, after building multidimensional info, using the year field for dimension time with type long or date.

I doesn't matter what I change, it always makes an error. Including, I restarted ArcGIS.

Thanks 

Tags (2)
0 Kudos
2 Replies
DanPatterson
MVP Esteemed Contributor

The full error would help as well as the paths to the data and the output location since it could be path errors


... sort of retired...
0 Kudos
AlfonsoYanezMorillo
New Contributor II

Here are the parameters in the Raster to NetCDF tool:

  1. Input Raster: E:\PROJECTS\DRB\DRBGHG\MyWorkspace.gdb\LUC_Series_pilot 
  2. Output netCDF File: E:\PROJECTS\DRB\DRBGHG\data\raster\pilot\LUC_pilot.nc
  3. Variable: LUC
  4. Variable Units:
  5. X Dimension: x
  6. Y Dimension: y
  7. Fields to Dimensions:
  • Field: Year
  • Dimension: Year

8. Compression Level: 0

 

Error 999998: Unexpected Error.

Failed to Execute (RasterToNetCDF).

 

LUC_Series_pilot is a mosaic dataset with 4 rasters (signed integer) and I created the field "Year" (long) which is populated with 2020, 2030, 2040, 2050 values.

Thanks

0 Kudos