This workflow shows the steps needed to create a mosaic dataset using multidimensional variables of time and vertical dimensions.
Create a mosaic dataset using netCDF files
While this workflow describes how to add data from the netCDF files into a mosaic dataset, the same concepts also apply to adding data from other multidimensional data types as well, such as GRIB, or HDF.
- Create a mosaic dataset using the Create Mosaic Dataset geoprocessing tool. This is the dataset container for the multidimensional datasets. The spatial reference for netCDF is assumed to be WGS 1984, but you can set it to a appropriate spatial reference. The spatial reference for a mosaic dataset cannot be changed once the mosaic dataset is created.
- Open the Add Rasters to Mosaic Dataset tool to add your data to the mosaic dataset.
- Choose the netCDF raster type.
- Specify the input data file, input dataset, or folder that contains the files. Select Folder if you have more than three files to add.
- Open the Raster Type Properties dialog box.
- On the Variable tab, click the Import variables from sample file button.
- Check the variable name or variable names you want to add. If you do not select any variables, all the variables are added. Optionally, remove the variables you do not need.
- The system standardizes the time and vertical dimension values whenever possible. If you want the original dimension values added to the mosaic dataset in addition to the standardized values, check the Copy the original dimension values checkbox.
- Close the Raster Type Properties dialog box once you are finished.
This will return you to the Add Rasters to Mosaic Dataset tool.
- Click the Browse button, located beside the Input data text box, to locate and add netCDF files.
- Under the Raster Processing category, check the Calculate Statistics check box. Under the Mosaic Post-processing category, check the Estimate Mosaic Dataset Statistics check box.
This is to make sure ArcGIS Pro gets the statistical information of input netCDF files, and displays your datasets with the correct value range. Without this step, your datasets are displayed using the system default value range, which is from -3.10282e+38 to 3.40282e+38.
- Click Run to run the tool to add data.
Visualize the multidimensional mosaic dataset
Now you can visualize the multidimensional mosaic dataset with the time slider. For more information on using the time slider, see Visualize temporal data using the time slider.
- Add the newly created multidimensional mosaic dataset to ArcGIS Pro.
- In the Contents pane, right-click the mosaic dataset layer and click Properties.
- Click the Time tab.
- You can click the Calculate button to calculate the time extent of the mosaic dataset, or you can manually set the time extent to visualize.
- If you selected multiple variables when adding the
data, click the Processing Templates tab.
- Click the processing template drop down arrow to see processing templates for each variable.
- Click OK to apply the time setting and close the Layer Properties dialog box.
- In the Contents pane, select the mosaic dataset .
- On the Data contextual tab, click Processing Templates and choose the processing template for the variable you would like to view in map.
- Now you can animate using the time slider.