SMS:Conversions Scalar/Vector: Difference between revisions
From XMS Wiki
Jump to navigationJump to search
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=Conversions Scalar↔Vector= | Datasets can be converted from scalar datasets to vector dataset or converted from vector datasets to scalar datasets. | ||
==Conversions Scalar↔Vector== | |||
===Scalar to Vector=== | |||
Converts two scalar datasets to a single vector dataset. The specified scalar datasets can be either magnitude and direction, or x and y components. | |||
To convert to vector do the following: | To convert to vector do the following: | ||
#In the Project Explorer, select two scalar datasets. Click on the first dataset, press and hold down the ''CTRL'' key, then click the second dataset. | |||
#Right-click on the selected datasets and select '''Scalars to Vector''' to open the ''Scalar to Vector'' dialog. | |||
#Select whether the datasets are magnitude and direction or x and y components. | |||
#Give the new vector dataset a name in the ''Dataset Name'' field. | |||
#Click '''Ok''' to create the new vector dataset. | |||
==Vector to Scalar== | ===Vector to Scalar=== | ||
Converts a single vector dataset into one or more scalar datasets. The resulting scalar datasets can be magnitude, direction, x or y components. | Converts a single vector dataset into one or more scalar datasets. The resulting scalar datasets can be magnitude, direction, x or y components. | ||
To convert to scalar do the following: | To convert to scalar do the following: | ||
#In the Project Explorer, right-click on a vector dataset and select '''Vector to Scalars''' to open the ''Vector to Scalar'' dialog. | |||
#Place checkboxes next to the datasets to be created. | |||
#Give the new scalar datasets a prefix in the ''Prefix'' field. | |||
#Click '''Ok''' to create the new scalar dataset. | |||
==Dataset Toolbox== | |||
The process of converting scalar datasets to vector datasets, or vector to scalar, can also be done using the [[SMS:Dataset Toolbox|''Dataset Toolbox'']]. To do this: | |||
# Select the ''Data'' | '''Dataset Toobox''' menu command to open the ''Dataset Toolbox'' dialog. | |||
# For scalar to vector: | |||
## Select the "Scalar to Vector" conversion tool. | |||
## Select the vx and vy datasets. | |||
## Select whether the datasets are magnitude and direction or x and y components. | |||
## Give the new vector dataset a name in the ''Output dataset name'' field. | |||
## Click '''Compute''' to create the vector dataset. | |||
# For vector to scalar: | |||
## Select the "Vector to Scalar" conversion tool. | |||
## Place checkboxes next to the datasets to be created. | |||
##Give the new scalar datasets a prefix in the ''Dataset name prefix'' field. | |||
## Click '''Compute''' to create the scalar dataset. | |||
==Related Topics== | |||
* [[SMS:Dataset Toolbox|Dataset Toolbox]] | |||
{{Template:Navbox SMS}} | {{Template:Navbox SMS}} | ||
[[Category:Datasets]] |
Latest revision as of 15:45, 26 May 2020
Datasets can be converted from scalar datasets to vector dataset or converted from vector datasets to scalar datasets.
Conversions Scalar↔Vector
Scalar to Vector
Converts two scalar datasets to a single vector dataset. The specified scalar datasets can be either magnitude and direction, or x and y components.
To convert to vector do the following:
- In the Project Explorer, select two scalar datasets. Click on the first dataset, press and hold down the CTRL key, then click the second dataset.
- Right-click on the selected datasets and select Scalars to Vector to open the Scalar to Vector dialog.
- Select whether the datasets are magnitude and direction or x and y components.
- Give the new vector dataset a name in the Dataset Name field.
- Click Ok to create the new vector dataset.
Vector to Scalar
Converts a single vector dataset into one or more scalar datasets. The resulting scalar datasets can be magnitude, direction, x or y components.
To convert to scalar do the following:
- In the Project Explorer, right-click on a vector dataset and select Vector to Scalars to open the Vector to Scalar dialog.
- Place checkboxes next to the datasets to be created.
- Give the new scalar datasets a prefix in the Prefix field.
- Click Ok to create the new scalar dataset.
Dataset Toolbox
The process of converting scalar datasets to vector datasets, or vector to scalar, can also be done using the Dataset Toolbox. To do this:
- Select the Data | Dataset Toobox menu command to open the Dataset Toolbox dialog.
- For scalar to vector:
- Select the "Scalar to Vector" conversion tool.
- Select the vx and vy datasets.
- Select whether the datasets are magnitude and direction or x and y components.
- Give the new vector dataset a name in the Output dataset name field.
- Click Compute to create the vector dataset.
- For vector to scalar:
- Select the "Vector to Scalar" conversion tool.
- Place checkboxes next to the datasets to be created.
- Give the new scalar datasets a prefix in the Dataset name prefix field.
- Click Compute to create the scalar dataset.
Related Topics
SMS – Surface-water Modeling System | ||
---|---|---|
Modules: | 1D Grid • Cartesian Grid • Curvilinear Grid • GIS • Map • Mesh • Particle • Quadtree • Raster • Scatter • UGrid | |
General Models: | 3D Structure • FVCOM • Generic • PTM | |
Coastal Models: | ADCIRC • BOUSS-2D • CGWAVE • CMS-Flow • CMS-Wave • GenCade • STWAVE • WAM | |
Riverine/Estuarine Models: | AdH • HEC-RAS • HYDRO AS-2D • RMA2 • RMA4 • SRH-2D • TUFLOW • TUFLOW FV | |
Aquaveo • SMS Tutorials • SMS Workflows |