For the Input netCDF File value, type or browse to C:NetCDFtemperature.nc. Usage This tool supports netCDF files with. Click the Make NetCDF Raster Layer tool in the list. YDimension, bandDimension ) ArcGIS Pro 3.1 Other versions Help archive Summary Makes a feature layer from a netCDF file. Reading netCDF data using geoprocessing tools. RasterToNetCDF_md (raspath, netcdf, variable, units, XDimension , join (ws_out, name ) # Process: RasterToNetCDF print "Exporting ". ListRasters ( "*", "TIF" ) for rasname in rasters : Units = "" # gcsqm seems to be unvalid (ERROR: 000243) Are you sure the units are OK (I'm running an old 10.3.1 version of ArcMap). When I clear the units variable (line 10) it runs without problems. The specified unit is either invalid or not supported by the UDUNITS library Doing a manual conversion threw the error 000243:Ġ00243: The units value is either invalid or not supported. To render the output as a voxel layer, it must be added to a local scene with the same horizontal and vertical coordinate system as the netCDF file. I took the code provided by Dan Patterson and changed it a bit for the file naming part. The Output netCDF file parameter will not automatically add layers to the map or scene. RasterToNetCDF_md (inRaster, outNetCDFFile, variable, units , workspace = "D:\2012A" # Set local variablesīandDimension = "" # Process: RasterToNetCDFĪrcpy. īelow script i am using for conversion of raster to NetCDF. We are going to need to convert these values to degrees Celsius. You’ll notice that the range of values is between 283 and 300. Rightclick Make NetCDF Raster Layer and click Open or doubleclick the tool. Use the Make NetCDF Raster Layer to import the data into ArcMap. ĮRROR 000840 : The value is not a Raster Catalog. In the ArcToolbox window, expand the Multidimension Tools toolbox. Without row dimensions, the tool creates one point only using the 1st value of latitude and the 1st value of longitude. Specify latitude and longitude as Row Dimensions as well. ĮRROR 000840 : The value is not a Raster Layer. Create a feature layer first using the ' Make NetCDF Feature Layer ' Geoprocessing tool in ArcGIS Pro, and then rasterize the created output. While i ran the below script , i am getting the error,īelow i have attached my raster file also, which i trying to convert in NetCDF format.Įrror Code ExecuteError : Failed to execute. I have multiples raster files, i am trying to convert it in NetCDF file using Arcpy script .
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |