Jump to content
Sign in to follow this  

Extracting point output

Recommended Posts


Is there a way to post-process the point outputs after running a simulation.  Is it also possible to extract velocity direction?



To extract data at point locations, you have two options:

  1. Define points prior to the simulation.  A output points file is defined which, this contains 3 columns (x coordinate, y coordinate and point ID).  In the example below, the water levels (h), velocity (v) and depth (d) were output at every 10 seconds.  For the velocity output, both the x direction and y direction components are output .  The point output allows you to extract results more frequently than the map output if desired.  This is the preferred approach.

output == points

  output points file == ..\geo\Calib_points_v2.csv

  output parameters == h,v,d

  output interval == 10.

end output


2.    After the model has been simulated, it is possible to use SMS to extract the results at points.  However, you are limited to the 2D map output interval, for file size reasons, this may be less frequent than you would like, however, it can be done! To do this you will need to load the results into SMS and then create (or convert the points) into a map layer.  There is a bit more work in extracting the data once the model has been simulated, to do this follow the instructions below:

Right click on the “Map Data” and choose, “New Coverage”.



Set the type to “Observation”



Select “Create Feature Point”



Digitise the points in the map window.



To extract the information, select Display >> Plot Wizard.



Choose timeseries.



Select the points and the datasets you wish to view:



To export the data you can right click on the chart and choose “Export/Print”.



Export to text / data and set a file name, the extension can be either .dat or .txt.



You have numerous options, for exporting to tables or lists and also on the delimiter.  You can set these to your preferred option.  If you choose comma delimited, the file extension can be changed from .txt to .csv.

If you want to extract the velocity directions, you will need to convert this dataset, before extracting the charts.  To do this: select the velocity results and then select “Data >> Data Set Toolbox”.



You can set if you would like to convert to x and y or magnitude and direction.



This will give two new datasets:



You can now plot / extract timeseries for these in the same method outlined above.








Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...