Feature to NetCDF (Multidimension Tools)
Summary
Converts point features to a netCDF file.
Usage
The default variable name is the same as the input feature field name specified in the Fields to Variables parameter (
fields_to_variablesin Python).The type of variable is the same as the type of field.
Special fields
Shape.XandShape.Yare always available in the Fields to Variables drop-down list. They can be used for specifying variable names for x-coordinates and y-coordinates, respectively. If variable names are not specified orShape.XandShape.Yare not added to the list, the x- and y-coordinates are exported with default variable names. The default Variable names forShape.XandShape.Yarelonandlat, respectively, when the feature is in a geographic coordinate system. In all other cases, the default Variable names forShape.XandShape.Yarexandy, respectively.Special fields
Shape.ZandShape.Mare available in the Fields to Variables drop-down list for features with z- and m-values. To export z- and m-values, you must addShape.ZandShape.Mto the list. The default Variable names forShape.ZandShape.Marezandm, respectively.The default dimension name is the same as the input feature field name specified in the Fields to Dimensions parameter (
fields_to_ dimensionsin Python).The size of a dimension is equal to the number of unique values in the respective field.
If no field is specified as a row dimension, a dimension
RecordIDvalue is created in the output netCDF file with a size equal to the number of features.String fields cannot be used to create dimensions in the netCDF file.
When multiple fields are used to create dimensions in the netCDF file using the Fields to Dimensions parameter, the output netCDF file may become large in size. Ensure that there is enough space in the output location to avoid tool failure.
The tool writes variables as Discrete Sample Geometry (DSG), such as points or trajectory, following the CF conventions. Since, this data is not gridded, the variables in the output netCDF file are not suitable for creating a voxel layer.
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Input Features |
The input point features. |
Feature Layer |
|
Fields to Variables |
The field or fields that will be used to create variables in the netCDF file. Four special fields—Shape.X, Shape.Y, Shape.Z, and Shape.M—can be used for exporting x-coordinates or longitude, y-coordinates or latitude, z-values, and m-values of input features, respectively. Value table columns:
|
Value Table |
|
Output netCDF File |
The output netCDF file. The file name must have an |
File |
|
Fields to Dimensions (Optional) |
The field or fields that will be used to create dimensions in the netCDF file. Value table columns:
|
Value Table |
Environments
Current Workspace, Scratch Workspace
Licensing information
- Basic: Yes
- Standard: Yes
- Advanced: Yes
Related topics
- An overview of the Multidimension toolbox
- An overview of the NetCDF toolset
- Find a geoprocessing tool
- Raster to NetCDF
- Table to NetCDF
- NetCDF Profiles To Feature Class (Discrete Sampling Geometry)
- NetCDF Time Series To Feature Class (Discrete Sampling Geometry)
- NetCDF Trajectories To Feature Class (Discrete Sampling Geometry)