SMS Project Files (*.spr)

SMS Project files save all of the working data in SMS in the older file format. This format was replaced with the new ".sms" file with the release of SMS 9.0, but is still supported. It includes the model data, open windows (i.e. Plot window), and the settings. A super file contains a list of other files. Each of the files in the list must be one of the basic SMS file types (2D meshes, 2D scatter points, materials, TINs). If a super file is selected using the File | Open command, each of the files listed in the super file are opened and imported. This makes it possible to quickly read in several files without having to identify each file individually in the file browser.

File Format

SMSPRJ70
WINDOW Window
MODULE Current Module
MOD2DM Active Mesh Model
MODRIV Active River Model
PRJPATH path
PRJINI filename
PRJSCAT filename
PRJMAP filename
PRJRM2 filename
SOL Data Type ID solution name
DS filename
PRJMAT filename

Sample File

SMSPRJ70
WINDOW PLOT
MODULE 2DMESH
MOD2DM TABS
MODRIV WSPRO
PRJPATH C:\SMS\Data\
PRJINI "site1.ini"
PRJSCAT "site1.xy"
PRJMAP "site1.map"
PRJRM2 "site1.sim"
SOL 3 0 site1
SOL 5 19169 site1
DS site1-_-5-19169.dat
PRJMAT "site1.mat"

Cards

 

Card Type

SMSPRJ70

Description

File type identifier. Must be on first line of file. No fields.

Required

YES

 

Card Type

WINDOW

Description

Identifies which windows, river and plot, are open in SMS.

Required

YES

Format

WINDOW window

Sample

WINDOW PLOT

Field

Variable

Value

Description

1

window

PLOTRIVER
PLOT
RIVER

Plot and river windows open.
Plot window open.
River window open

 

Card Type

MODULE

Description

Identifies the active module.

Required

YES

Format

MODULE module

Sample

MODULE 2DMESH

Field

Variable

Value

Description

1

module

2DMESH
2DBGRID
2DCGRID
2DSCAT
MAP
RIVER

Mesh module is active.
Boundary fitted grid module is active.
Cartesian grid module is active.
Scatter module is active.
Map module is active.
River module is active.

 

Card Type

MOD2DM

Description

Identifies the active model in the Mesh module.

Required

YES

Format

MOD2DM model

Sample

MOD2DM FESWMS

Field

Variable

Value

Description

1

model

TABS
FESWMS
HIVEL
RMA10
ADCIRC
CGWAVE
GEN2DM

TABS (RMA2, SED2D) models are active.
FESWMS is active.
HIVEL is active.
RMA10 is active.
ADCIRC is active.
CGWAVE is active.
Generic 2d mesh model is active.

 

Card Type

MODRIV

Description

Identifies the active model in the River module.

Required

YES

Format

MODRIV model

Sample

MODRIV WSPRO

Field

Variable

Value

Description

1

model

WSPRO
DAMBRK

WSPRO is active.
DAMBRK is active.

 

Card Type

PRJPATH

Description

Defines the path for all files listed. SMS first tries to read the file with as it is listed, if that doesn't work, it tries reading the file with this path.

Required

YES

Format

PRJPATH path

Sample

PRJPATH C:\SMS\Data

Field

Variable

Value

Description

1

path

str

The path where the project file was saved.

 

Card Type

PRJxxx

Description

Identifies the type of the file to be opened. Filename following card should have the path if the file is not in the same directory as the directory assigned with the PRJPATH card.

Required

NO

Format

PRJxxx filename

Sample

PRJMap site1.map

Field

Variable

Value

Description

0
































 

1

PRJxxx


































filename

PRJINI
PRJSCAT
PRJMAP
PRJIMG
PRJDXF
PRJRM2
PRJFES
PRJHIV
PRJRM10
PRJADC
PRJCGW
PRJ2DM
PRJWSP
PRJDAM
PRJCH3
PRJSTW
PRJMAT
PRJPAL
str

Settings (.ini) file.
Scatter (.sup) file.
Map (.map) file.
Image (.img) file.
DXF (.dxf) file.
RMA2 (.sim) file.
FESWMS (.fil) file.
HIVEL (.sup) file.
RMA10 (.bc) file.
ADCIRC (.grd) file.
CGWAVE (.cgo) file.
Generic 2D Mesh (.2dm) file.
WSPRO (.dat) file.
DAMBRK (.dat) file.
CH3D (.ch3) file.
STWAVE (.sim) file.
Material (.mat) file.
Palette (.pal) file.
Name of each file.

 

Card Type

SOL

Description

Defines the module where the solution is located.

Required

NO

Format

SOL module id name

Sample

SOL 5 19169 site1

Field

Variable

Value

Description

1








2
3

module








id
name

3
5
9
10
11
+
str

Mesh module.
Scatter module.
Boundary fitted grid module.
Cartesian grid module.
Spectral energy, Caresian grid module.
ID stored internally by SMS to identify solution.
Name of solution.

 

Card Type

DS

Description

Identifies the dataset file belonging to a solution. If a SOL card is created without a DS card following, no datasets were associated with the solution.

Required

NO

Format

DS filename

Sample

DS site1-_-5-19169.dat

Field

Variable

Value

Description

1

filename

str

Filename of dataset file belonging to solution. If the dataset file was saved originally by SMS, the filename is created as:
solution name-_-module id-solution id.dat