Label | Explanation | Data Type |
Input Trajectory File
| The input trajectory file. | File; Mosaic Layer; Mosaic Dataset; Trajectory Layer |
Output Trajectory Layer
| The output feature layer that contains the selected variables. | Feature Layer |
Dimension Name
(Optional) | The dimension name. The first dimension is used by default. | String |
Predefined Variables
(Optional) | The predefined variables available for different sensor types.
| String |
Variables
(Optional) | The variables that will be included in the output layer. All variables are selected by default. | String |
Summary
Generates a feature layer from selected variables in a trajectory file.
Usage
This tool can use trajectory data from satellite altimetry sensors such as Jason, Sentinel-3, CryoSat, and ICESat.
The same type of measurement acquired by different sensors can be stored under different variable names. The Predefined Variables parameter automatically maps different variable names to a common measurement type, which allows you to add and integrate data from multiple sensors. For example, to combine sea surface height data from both sentinel 3 and sentinel 6, use the Sea Surface Height option. The tool will map the corresponding variables for the two sensors to a common variable in the output trajectory layer.
Parameters
arcpy.management.MakeTrajectoryLayer(in_trajectory_file, out_trajectory_layer, {dimension}, {predefined_variables}, {variables})
Name | Explanation | Data Type |
in_trajectory_file | The input trajectory file. | File; Mosaic Layer; Mosaic Dataset; Trajectory Layer |
out_trajectory_layer | The output feature layer that contains the selected variables. | Feature Layer |
dimension (Optional) | The dimension name. The first dimension is used by default. | String |
predefined_variables [predefined_variables,...] (Optional) | The predefined variables available for different sensor types.
| String |
variables [variables,...] (Optional) | The variables that will be included in the output layer. All variables are selected by default. | String |
Code sample
This example creates a trajectory layer from a Cryosat trajectory file.
# Import system modules
import arcpy
from arcpy import *
# Set local variables
in_trajectory_file = r"C:\data\Cryosat\CS_OFFL_SIR_LRM_2__20210301T000738_20210301T001611_D001.nc"
out_trajectory_layer = r"C:\data\Cryosat\trajectory_layer
dimension = "CS_OFFL_SIR_LRM_2__20210301T000738_20210301T001611_D001_time_20_ku"
predefined_variables = "SSH;H_SEA_ICE"
variables = "height_1_20_ku"
# Execute
trajectory_output = arcpy.management.MakeTrajectoryLayer(in_trajectory_file, out_trajectory_layer,
dimension, predefined_variables, variables)
Environments
Licensing information
- Basic: No
- Standard: Yes
- Advanced: Yes