多次元情報の構築 (データ管理ツール)
サマリー
変数およびディメンションに関する情報を含んでいるモザイク データセット内の多次元メタデータを生成します。
使用法
NetCDF ファイルからのモザイク データセット 、GRIB ファイル、または HDF ファイルからモザイク データセットを作成すると、多次元情報がモザイク データセットに構築され、その情報をデータセット プロパティで確認することができます。 多次元情報の構築 ツールは、複数の時刻、深さ、または高さで収集された画像を含んでいるが、NetCDF ファイルから作成されなかったモザイク データセットに関する多次元情報を作成します。
このツールは、次の 2 つのテキスト フィールドをモザイク データセットに作成します。
Variable—変数の名前を格納します。 たとえば、このフィールドは、気温データを含んでいるすべての画像の場合、文字列 Temperature を格納し、塩分濃度データを含んでいるすべての画像の場合、Salinity を格納します。
Dimensions—ディメンションの名前を格納します。 たとえば、気温データが、キャプチャーされた日を表す、対応する Date ディメンション フィールドを含んでおり、塩分濃度データが、計測された深さを表す Depth ディメンション フィールドを含んでいる場合、この変数の Dimensions フィールドは Date, Depth になります。 モザイク データセット内に 2 つのフィールド Date および Depth が存在し、データが入力されている必要があります。
パラメーター
ラベル
説明
データ タイプ
モザイク データセット
入力多次元モザイク データセット。
Mosaic Layer
変数フィールド
(オプション)
変数名を格納し、Variable という名前の新しいフィールドにデータを入力するために使用される、モザイク データセット内のフィールド。 モザイク データセット内のすべてのラスターが同じ変数を表す場合、その変数の名前 (たとえば、Temperature ) を入力します。
Variable フィールドがまだ存在しない場合、既存のフィールドまたは文字列値を指定する必要があります。 Variable フィールドが存在する場合、このツールは、多次元情報のみを更新します。
String
ディメンション フィールド
(オプション)
ディメンション情報を格納し、Dimensions という名前の新しいフィールドにデータを入力するために使用される、モザイク データセット内のフィールド。
Dimensions フィールドがすでに存在する場合、このツールは、多次元情報のみを更新します。
値テーブル列:
Dimension Field —The name of the dimension field.
Description —The description of the field.
Units —The units of the field values.
Value Table
変数情報
(オプション)
Variable フィールドに関する追加情報を指定します。
値テーブル列:
Variable Name —The name of the variable field.
Description —The description of the field.
Units —The units of the field values.
Value Table
派生した出力
ラベル
説明
データ タイプ
モザイク データセット
更新されたモザイク データセット。
Mosaic Layer
arcpy.management.BuildMultidimensionalInfo(in_mosaic_dataset, {variable_field}, {dimension_fields}, {variable_desc_units})
名前
説明
データ タイプ
in_mosaic_dataset
入力多次元モザイク データセット。
Mosaic Layer
variable_field
(オプション)
変数名を格納し、Variable という名前の新しいフィールドにデータを入力するために使用される、モザイク データセット内のフィールド。 モザイク データセット内のすべてのラスターが同じ変数を表す場合、その変数の名前 (たとえば、Temperature ) を入力します。
Variable フィールドがまだ存在しない場合、既存のフィールドまたは文字列値を指定する必要があります。 Variable フィールドが存在する場合、このツールは、多次元情報のみを更新します。
String
dimension_fields
[[dimension field, description, units],...]
(オプション)
ディメンション情報を格納し、Dimensions という名前の新しいフィールドにデータを入力するために使用される、モザイク データセット内のフィールド。
Dimensions フィールドがすでに存在する場合、このツールは、多次元情報のみを更新します。
値テーブル列:
Dimension Field —The name of the dimension field.
Description —The description of the field.
Units —The units of the field values.
Value Table
variable_desc_units
[[variable name, description, units],...]
(オプション)
Variable フィールドに関する追加情報を指定します。
値テーブル列:
Variable Name —The name of the variable field.
Description —The description of the field.
Units —The units of the field values.
Value Table
派生した出力
名前
説明
データ タイプ
out_mosaic_dataset
更新されたモザイク データセット。
Mosaic Layer
コードのサンプル
BuildMultidimensionalInfo の例 1 (Python ウィンドウ)
以下は、BuildMultidimensionalInfo 関数を実行する Python サンプルです。
## Build multidimensional information for a time series mosaic dataset
## with Landsat 7 imagery.
import arcpy
arcpy.md.BuildMultidimensionalInfo(
"C:/data/input.gdb/L7TimeSeriesMosaic", "Landsat7", 'AcquisitionDate')
BuildMultidimensionalInfo の例 2 (スタンドアロン スクリプト)
以下は、BuildMultidimensionalInfo 関数を実行する Python スクリプトのサンプルです。
## Build multidimensional information for a mosaic dataset
## containing sea ice extent imagery over time and water depth.
import arcpy
arcpy.env.workspace = "C:/data"
## Define the input parameters
inputmosaicdataset = "input.gdb/seaice_1982_2019"
variable_field = "measurement"
dimension_fields= "AcquisitionDate;Depth"
arcpy.md.BuildMultidimensionalInfo(
inputmosaicdataset, variable_field,
dimension_fields)
環境
このツールは、ジオプロセシング環境を一切使用しません。
ライセンス情報
Basic: いいえ
Standard: はい
Advanced: はい