User:Tgibbs/Workflows: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
__NOINDEX__
__NOINDEX__
To import spectral data into SMS, do the following:


This is a fake workflow. This workflow includes all of the specific workflows needed when trying to make a PB & J.
{|class="mw-collapsible mw-collapsed" style="width:100%; border:1px solid #D0E0FF; margin-bottom:0.4em;"
 
[[file:Peanut-Butter-Jelly-Sandwich.jpg]]
 
To make a PB & J, use the following steps:
{| class="mw-collapsible mw-collapsed" style="width:80%; border:1px solid #D0E0FF; margin-bottom:0.4em;"
|-
|-
!style="text-align:left;"|1. Grab 2 slices of bread.
!style="text-align:left;"|1. Open spectral data files.
|-
|-
|
|
<blockquote>
:#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).
Pop them in the toaster if you'd like.
:#Alternatively, [https://en.wikipedia.org/wiki/Drag_and_drop drag and drop] the file into the Graphics Window in SMS.
</blockquote>
|}
|}
{| class="mw-collapsible mw-collapsed" style="width:80%; 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. On one slice, spread jelly using a butter knife.
!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>
<blockquote>
Wash the knife in between uses. Use jelly first for an easier clean.
{{SMS new coverage workflow}}
</blockquote>
</blockquote>
|}
|}
{| class="mw-collapsible mw-collapsed" style="width:80%; 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;"|3. On the other slice, spread peanut butter using a butter knife.
!style="text-align:left;"|3. View spectral data.
|-
|-
|
|
<blockquote>
:#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.
You can substitute with almond butter, or really any spread.
:#View spectral data in the [[SMS:Spectral Energy|''Spectral Energy'']] dialog.
</blockquote>
|}
|}
{| class="mw-collapsible mw-collapsed" style="width:80%; border:1px solid #D0E0FF; margin-bottom:0.4em;"
 
 
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;"
|-
|-
!style="text-align:left;"|4. Smash them together and enjoy.
!style="text-align:left;"|3. Assign spectral data to location.
|-
|-
|
|
<blockquote>
:#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.
[https://www.instructables.com/How-to-Make-a-Peanut-Butter-and-Jelly-Sandwich-4/#:~:text=Cut%20the%20sandwich%20diagonally%20or,middle%20depending%20on%20your%20preference. Click here if you want to view the different ways to cut your PB & J.]
:#In the [[SMS:Spectral Energy|''Spectral Energy'']] dialog, click the '''Create Grid''' button.
</blockquote>
:#Enter the Grid angle in the [[SMS:Spectral Grid Attributes|''Spectral Grid Attributes'']] dialog.
:#Enter the grid properties in the [[SMS:Create Spectral Energy Grid|''Create Spectral Energy Grid'']] dialog.
:#In the [[SMS:Spectral Energy|''Spectral Energy'']] dialog, click the '''Spectra''' button.
:#In the [[SMS:Generate Spectra|''Generate Spectra'']] dialog, click the '''Import''' button.
|}
|}
{{Navbox SMS}}
[[Category:SMS Workflows]]
[[Category:General Workflows]]
[[Category:Importing Data]]

Revision as of 14:43, 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.

3. Assign spectral data to location.
  1. Double-click on a point in the spectral coverage using the Select Feature Point SMS Select Node Tool.svg tool.
  2. In the Spectral Energy dialog, click the Create Grid button.
  3. Enter the Grid angle in the Spectral Grid Attributes dialog.
  4. Enter the grid properties in the Create Spectral Energy Grid dialog.
  5. In the Spectral Energy dialog, click the Spectra button.
  6. In the Generate Spectra dialog, click the Import button.