SMS:Import Spectra: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
Line 19: Line 19:
[[File:Spectral Time Setting.png|thumb|none|left|300 px|The ''Time Setting'' dialog for importing STWAVE ENG files.]]
[[File:Spectral Time Setting.png|thumb|none|left|300 px|The ''Time Setting'' dialog for importing STWAVE ENG files.]]


===Grid Angle and Location===
===Grid Angle and Specify Location===
When importing ENG files for CMS-Wave, the ''Grid Angle'' dialog will appear.
When importing ENG files for CMS-Wave, the ''Grid Angle'' dialog will appear.
[[File:SpectralGridAngle.png|thumb|none|left|225 px|The ''Grid Angle'' dialog for importing CMS-Wave ENG files.]]
[[File:SpectralGridAngle.png|thumb|none|left|225 px|The ''Grid Angle'' dialog for importing CMS-Wave ENG files.]]
After indicating the grid angle, the ''Specify Location'' dialog will appear.
[[File:SpecifyLocation.png|thumb|none|left|The ''Specify Location'' dialog for importing CMS-Wave ENG files.]]


== Obsolete Options ==
== Obsolete Options ==

Revision as of 15:52, 17 February 2015

Import Spectra dialog

The Import Spectra dialog is accessed through the Spectral Energy dialog by clicking on the Import Spectra button. This dialog is used to import existing spectra into the project. The dialog consists of a File type drop down menu and a browser button to select an existing file.

File types

The following types of files can be imported through this dialog.

  • *.eng – Spectral energy file. The user will be prompted to specify if the file is in the CMS-Wave or STWAVE format.
  • *.h5 – XMDF grid and spectrum.
  • *.dws – The BOUSS-2D spectra file format.
  • *.cdip – Data from the Coastal Data Information Program.

Import Spectra Processing

After clicking the Import button in the Import Spectra dialog, the user will have to indicate to SMS how to process the selected file.

Open Files

The Open Files dialog for importing spectra files.

If the user has spectral data in multiple files, the option to place these files in one coverage. This is done by adding these files to the Open File dialog that appears after clicking the Import button. Click the Add button to open a file browser to add additional files. Each file selected will appear in the field below. The Remove button can be used to eliminate unwanted files.

Time Settings

When importing ENG files for STWAVE, the Time Settings dialog will appear after a warning dialog is given to the user. ENG files may contain time stamps for each time step. If the file has an 8 or 12 digit time stamp, SMS will read it in and assign the times accordingly. If the ENG file is not using time stamps, it will just have an integer ID for each set of data. In this case, it’s necessary to give SMS a reference time, and SMS will treat each ID as the number of hours past the specified reference time.

The Time Setting dialog for importing STWAVE ENG files.

Grid Angle and Specify Location

When importing ENG files for CMS-Wave, the Grid Angle dialog will appear.

The Grid Angle dialog for importing CMS-Wave ENG files.

After indicating the grid angle, the Specify Location dialog will appear.

The Specify Location dialog for importing CMS-Wave ENG files.

Obsolete Options

The following options are no longer available as of SMS version 11.2.

  • Select Spectral Energy File – Click on the folder icon to browse to the spectral energy file to be imported.
  • Create New Spectral Grid – If this option is selected, SMS will import the spectra with the grid definition contained in the spectral energy file.
  • Select Existing Spectral Grid – If this option is selected the datasets are imported as datasets of the selected grid (the grid selected in the combo box below).
  • Import as Time Steps – Imports the datasets using the identifier as a time value.

Related Topics