Template:Import Spectra: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
Line 5: Line 5:
|-
|-
|
|
:::#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).
:#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.
|}
|}

Latest revision as of 18:53, 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.