SMS:Import Spectra Workflow: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(25 intermediate revisions by 2 users not shown)
Line 1: Line 1:
To import spectral data into SMS, do the following:
{{Import Spectra}}
{{Navbox SMS}}


[[Category:SMS Workflows]]
[[Category:General Workflows]]
[[Category:Importing Data]]
<!--
{|class="mw-collapsible mw-collapsed" style="width:100%; border:1px solid #D0E0FF; margin-bottom:0.4em;"
{|class="mw-collapsible mw-collapsed" style="width:100%; border:1px solid #D0E0FF; margin-bottom:0.4em;"
|-
|-
Line 6: Line 12:
|-
|-
|
|
:#Use [[SMS:File Menu|''File'' | '''Open...''']] to open files with spectral data such as STWAVE ENG files (*.eng), STWAVE nesting files (*.nst), CMS-Wave ENG files (*.eng), CMS-Wave nesting files (*.nst), BOUSS-2D directional wave spectrum files (*.dws), and coastal data information program files (*.cdip).
:#Use [[SMS:File Menu|''File'' | '''Open...''']] to open files with spectral data such as STWAVE ENG files (*.eng), STWAVE nesting files (*.nst), [[SMS:CMS-Wave Spectral Energy File|CMS-Wave ENG files (*.eng)]], CMS-Wave nesting files (*.nst), BOUSS-2D directional wave spectrum files (*.dws), and coastal data information program files (*.cdip).
:#Alternatively, [https://en.wikipedia.org/wiki/Drag_and_drop drag and drop] the file into the Graphics Window in SMS.
:#Alternatively, [https://en.wikipedia.org/wiki/Drag_and_drop drag and drop] the file into the Graphics Window in SMS.
|}
|}
{|class="mw-collapsible mw-collapsed" style="width:100%; border:1px solid #D0E0FF; margin-bottom:0.4em;"
{|class="mw-collapsible mw-collapsed" style="width:100%; border:1px solid #D0E0FF; margin-bottom:0.4em;"
|-
|-
!style="text-align:left;"|2. Create a Spectral coverage.
!style="text-align:left;"|2. Create a [[SMS:Spectral Coverage|Spectral coverage]].
|-
|-
|
|
 
:All spectral data needs to be a spectral coverage. Opening a file with spectral data will cause the ''Spectral Coverage'' dialog to appear where a spectral coverage can be created. If this does not appear, create a coverage with the Spectral type using the steps below:
<blockquote>
{{SMS new coverage workflow}}
</blockquote>
|}
|}
{|class="mw-collapsible mw-collapsed" style="width:100%; border:1px solid #D0E0FF; margin-bottom:0.4em;"
{|class="mw-collapsible mw-collapsed" style="width:100%; border:1px solid #D0E0FF; margin-bottom:0.4em;"
Line 21: Line 30:
|-
|-
|
|
:#Double-click on a point in the spectral coverage using the [[SMS:Map Module Tools#Select Feature Point|'''Select Feature Point''']] [[File:SMS Select Node Tool.svg|15 px]] tool.
:#View spectral data in the [[SMS:Spectral Energy|''Spectral Energy'']] dialog.
|}


|}


Alternatively, spectral data can be imported to a specific location in the project.
Alternatively, spectral data can be imported to a specific location in the project.
{|class="mw-collapsible mw-collapsed" style="width:100%; border:1px solid #D0E0FF; margin-bottom:0.4em;"
{{SMS Generate Spectral Distribution Workflow}}
|-
!style="text-align:left;"|1. Create a Spectral coverage.
|-
|
 
|}
{|class="mw-collapsible mw-collapsed" style="width:100%; border:1px solid #D0E0FF; margin-bottom:0.4em;"
|-
!style="text-align:left;"|2. Create a feature point.
|-
|
|}
:#Open the Spectral Energy dialog.
:#Use the Import Spectra button.




Line 46: Line 43:
[[Category:SMS Workflows]]
[[Category:SMS Workflows]]
[[Category:General Workflows]]
[[Category:General Workflows]]
[[Category:Importing Data]]
-->

Latest revision as of 18:45, 6 June 2024

To import spectral data into SMS, do the following:

1. Open spectral data files.
  1. Use File | Open... to open files with spectral data such as STWAVE ENG files (*.eng), STWAVE nesting files (*.nst), CMS-Wave ENG files (*.eng), CMS-Wave nesting files (*.nst), BOUSS-2D directional wave spectrum files (*.dws), and coastal data information program files (*.cdip).
  2. Alternatively, drag and drop the file into the Graphics Window in SMS.
2. Create a Spectral coverage.
All spectral data needs to be a spectral coverage. Opening a file with spectral data will cause the Spectral Coverage dialog to appear where a spectral coverage can be created. If this does not appear, create a coverage with the Spectral type using the steps below:
1. Create new coverage from scratch.
  1. Select Map Data in the Project Explorer and use the New Coverage right-click command.
  2. Use the New Coverage dialog to create a new coverage by selecting the desired coverage type, and naming the coverage.
2. Create new coverage from an existing coverage.
  1. Use the Duplicate command on an existing coverage. This will copy any feature objects on the coverage.
  2. Use the Rename command to give the coverage a new name.
  3. Change the coverage type.
3. View spectral data.
  1. Double-click on a point in the spectral coverage using the Select Feature Point SMS Select Node Tool.svg tool.
  2. View spectral data in the Spectral Energy dialog.


Alternatively, spectral data can be imported to a specific location in the project.

1. Create a Spectral coverage.
Create a new coverage with the "Spectral" type.
1. Create new coverage from scratch.
  1. Select Map Data in the Project Explorer and use the New Coverage right-click command.
  2. Use the New Coverage dialog to create a new coverage by selecting the desired coverage type, and naming the coverage.
2. Create new coverage from an existing coverage.
  1. Use the Duplicate command on an existing coverage. This will copy any feature objects on the coverage.
  2. Use the Rename command to give the coverage a new name.
  3. Change the coverage type.
2. Create a feature point.
  1. Use the Create Feature Point Create Points Tool.svg tool to add a point where the spectral data is to be imported on the spectral coverage.
3. Assign spectral data to location.
1. Access Spectral Energy dialog.
  1. Double-click on a point in the spectral coverage using the Select Feature Point SMS Select Node Tool.svg tool.
2. Create spectral grid.
  1. In the Spectral Energy dialog, click the Create Grid button.
  2. Enter the Grid angle in the Spectral Grid Attributes dialog.
  3. Enter the grid properties in the Create Spectral Energy Grid dialog.
3. Import spectral data.
  1. In the Spectral Energy dialog, click the Spectra button.
  2. In the Generate Spectra dialog, click the Import button.
  3. Import the spectral data file.