Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Extracting vector results from the workspace results

Once your simulation is done, you can either open the .swr results file from the SEAMCAT GUI or it is possible to extract the vector results in a separate file directly from command line.

java -cp seamcat.jar org.seamcat.CommandLine myWorkspaceResults.swr > myVectorResults.txt  

It opens Vector selection. Running the above code will generate a new file in .txt format as shown below.

It is possible to concatenate results in output result file with >> .

java -cp seamcat.jar org.seamcat.CommandLine myWorkspaceResults.swr >> myVectorResults.txt  


For automated process user can select vector to put in file like shown below

java -cp SEAMCAT_COMMANDLINE_5.4.2.jar org.seamcat.CommandLine Files\Workspace26.swr vector=all> Results26.xls 

java -cp SEAMCAT_COMMANDLINE_5.4.2.jar org.seamcat.CommandLine Files\Workspace26.swr vector=3> Results26.xls


The vector results will contain the following vectors: the number of events, iRSSunwanted, iRSSblocking, the dRSS vector, the iRSSunwanted+blocking. and results from EPP-s.

Query on swr results (will work from v.5.5.1 ALPHA 2 and versions after)

The query string can be any string in the format described here: https://www.w3.org/TR/xpath-10/

...