Versions Compared

Key

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

...

ParameterValueExplanationExampleNeeded
WorkspaceStringName and relative path of the workspace Workspace="Files/WS_PMSE_HH-LTE_UE_Cell_UT.sws"Obligatory
ResultStringName and relative path of the result fileResult="Files/Test_OFDMA_DL.swr"Optionalif not supplied CL will name result file same as Workspace with .swr extension and save it in same folder where workspace is situated
eventsIntegerNumber of events run in the simulationevents = 20000Optionalif not supplied CL will run with No events specified in workspace
tformatString

Terrain data format used in the terrain calculations

Recognized tformat strings:

  • SRTM_1as_bil_v3
  • SRTM_1as_bil_v2
  • SRTM_3as_bil_v2
  • GeoTIFF
tformat=SRTM_1as_bil_v3OptionalIf not supplied CL will notify user of missing this parameter and use settings from workspace
tpathStringAbsolute path of the terrain data files used for the terrain calculationstpath="C:\Users\zeljko.tabakovic\OneDrive - ECO\Work Folders_One\SEAMCAT_new\Digital Terrain_bil\SRTM1"OptionalIf not supplied CL will notify user of missing this parameter and use settings from workspace
licenseStringOn the first run of the new version of SEAMCAT, program asks for confirmation of the license. With license parameter, user can explicitly accept license in command line. license=acceptOptional



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/

...