SMS:XY Series Files: Difference between revisions
Line 88: | Line 88: | ||
====Sample File==== | ====Sample File==== | ||
{| | {|style= "background: #EEEEEE" | ||
|- | |- | ||
|XY3 1 5 0.0 2 10.0 0 0 0 0 Head | |XY3 1 5 0.0 2 10.0 0 0 0 0 Head |
Revision as of 15:52, 6 January 2014
XY Series Files (*.xys)
The XY Series Editor is used to define x, y series data curves. These data curves can then be used to define such things as:
- Time dependent boundary conditions
- Rating curves
XY Series Files
XY Series files are imported and exported through the XY Series Editor.
XYS Format
Line 1 – XYS file identifier, Curve ID, Number of Points, and Curve Name. Line 2+ – X Value, Y Value (one pair per line)
Sample File
XYS 1 5 Head | |
0.0 | 0.0 |
1.0 | 2.0 |
2.0 | 7.0 |
3.0 | 8.0 |
4.0 | 9.5 |
XY1 Format – Discontinued Format
Both the x and y values are listed for each point on the curve. There is no limit to the spacing or interval used between subsequent x values.
Line 1 – XY1 file identifier, Curve ID, Number of Points, Delta X (not used), Delta Y (not used), Repeat (not used), Begin X Cycle (not used), and Curve Name. Line 2+ – X Value, Y Value (one pair per line)
Sample File
XY1 1 5 0 0 0 0 Head | |
0.0 | 0.0 |
1.0 | 2.0 |
2.0 | 7.0 |
3.0 | 8.0 |
4.0 | 9.5 |
XY2 Format – Discontinued Format
Identical to the XY1 card except that the number of points and the x values are assumed to be static and cannot be altered by the user.
Line 1 – XY2 file identifier, Curve ID, Number of Points, Delta X (not used), Delta Y (not used), Repeat (not used), Begin X Cycle (not used), and Curve Name. Line 2+ – X Value, Y Value (one pair per line)
Sample File
XY2 1 5 0 0 0 0 Head | |
0.0 | 0.0 |
1.0 | 2.0 |
2.0 | 7.0 |
3.0 | 8.0 |
4.0 | 9.5 |
XY3 Format – Discontinued Format
The x values are defined by a beginning x value, an increment in x, and a percent change in x per increment (applied after adding the increment). Only the y values are explicitly listed. The x-values are calculated by starting with the Initial X value given and recursively adding the X Increment and then multiplying by the X Percent Change.
Line 1 – XY3 file identifier, Curve ID, Number of Points, Initial X, X Increment, X Percent Change, Delta X (not used), Delta Y (not used), Repeat (not used), Begin X Cycle (not used), and Curve Name. Line 2+ – X Value, Y Value (one pair per line)
Sample File
XY3 1 5 0.0 2 10.0 0 0 0 0 Head |
0.0 |
2.0 |
7.0 |
8.0 |
9.5 |
Related Topics
SMS – Surface-water Modeling System | ||
---|---|---|
Modules: | 1D Grid • Cartesian Grid • Curvilinear Grid • GIS • Map • Mesh • Particle • Quadtree • Raster • Scatter • UGrid | |
General Models: | 3D Structure • FVCOM • Generic • PTM | |
Coastal Models: | ADCIRC • BOUSS-2D • CGWAVE • CMS-Flow • CMS-Wave • GenCade • STWAVE • WAM | |
Riverine/Estuarine Models: | AdH • HEC-RAS • HYDRO AS-2D • RMA2 • RMA4 • SRH-2D • TUFLOW • TUFLOW FV | |
Aquaveo • SMS Tutorials • SMS Workflows |