Creating a Cloud Raster Format from NetCDF-4

It is possible to create a Cloud Raster Format from NetCDF-4 by using ArcPy scripting.

Create a Cloud Raster Format from NetCDF-4 by using ArcPy scripting:

Step-by-step guide

import arcpy
arcpy.env.workspace = "C:/tmp/crf"

arcpy.CopyRaster_management(
    "Z:/home/arcgis/data/misr2019G.nc", #input
    "misr2019G.crf", #output
    "", # {config_keyword}
    "", # {background_value}
    -9999.0, # {nodata_value}
    "NONE", # {NONE | OneBitTo8Bit}
    "NONE", # {NONE | ColormapToRGB}
    "", # {1_BIT | 2_BIT | 4_BIT | ... | 64_BIT}
    "NONE", # {NONE | ScalePixelValue}
    "NONE", # {NONE | RGBToColormap}
    "CRF", # {TIFF | PNG ... | MRF},
    "NONE",# {NONE | Transform}
    "ALL_SLICES", # {CURRENT_SLICE | ALL_SLICES}
    "TRANSPOSE") # {NO_TRANSPOSE | TRANSPOSE}

# Reference
# [1] https://pro.arcgis.com/EN/PRO-APP/TOOL-REFERENCE/DATA-MANAGEMENT/copy-raster.htm
  1. Remove groups in NetCDF-4.
  2. Run ArcPy script like the following:
Image
icon_-_information

Use ncks -G : input.nc output.nc to remove groups.

Last Updated