Skip To Content

Build Multidimensional Info

Summary

Generates multidimensional metadata in the mosaic dataset including information regarding variables and dimensions.

Usage

  • If you created a mosaic dataset from netCDF, GRIB or HDF files, the multidimensional information is already built into the mosaic dataset, and you can view the information in the dataset properties. The Build Multidimensional Info tool creates multidimensional information for a mosaic dataset that contains images collected at multiple times, depths, or heights, but was not created from netCDF files.

  • This tool creates the following two text fields in the mosaic dataset:

    • Variable—Stores the names of the variables. For example, this field will store the string Temperature for all the images with temperature data, and Salinity for all the images containing salinity data.
    • Dimensions—Stores the names of the dimensions. For example, if your temperature data has a corresponding dimension field named Date for the day it was captured, and your salinity data has a dimension field named Depth for the depth at which it was measured, the Dimensions field for that variable would be Date, Depth. The two fields, Date and Depth, must exist and be populated in the mosaic dataset.

Syntax

BuildMultidimensionalInfo(in_mosaic_dataset, {variable_field}, {dimension_fields})
ParameterExplanationData Type
in_mosaic_dataset

The input multidimensional mosaic dataset.

Mosaic Layer
variable_field
(Optional)

The field in the mosaic dataset that stores the variable names and is used to populate a new field named Variable. If all rasters in the mosaic dataset represent the same variable, type the name of the variable, for example, Temperature.

If the Variable field does not already exist, an existing field or string value must be specified. If the Variable field exists, the tool will update the multidimensional information only.

String
dimension_fields
[dimension_fields,...]
(Optional)

The fields in the mosaic dataset that store the dimension information and are used to populate a new field named Dimensions.

If the Dimensions field already exists, the tool will update the multidimensional information only.

String

Derived Output

NameExplanationData Type
out_mosaic_dataset

The updated mosaic dataset.

Mosaic Layer

Code sample

BuildMultidimensionalInfo example 1 (Python window)

This is a Python sample for BuildMultidimensionalInfo.

## Build multidimensional information for a time series mosaic dataset 
## with Landsat 7 imagery.

import arcpy
arcpy.BuildMultidimensionalInfo_management(
	"C:/data/input.gdb/L7TimeSeriesMosaic", "Landsat7", 'AcquisitionDate')
BuildMultidimensionalInfo example 2 (stand-alone script)

This is a Python script sample for BuildMultidimensionalInfo.

## Build multidimensional information for a time series mosaic dataset 
## with Landsat 7 imagery.

import arcpy
arcpy.BuildMultidimensionalInfo_management(
	"C:/data/input.gdb/L7TimeSeriesMosaic", "Landsat7", 'AcquisitionDate')

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: No
  • Standard: Yes
  • Advanced: Yes

Related topics