mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Updated BatchCommands.md
This commit is contained in:
@@ -14,14 +14,18 @@ See also [Command Line Arguments]({{ site.baseurl }}/docs/commandlineparameters)
|
||||
## Example 1 : Create snapshots of all views for multiple cases
|
||||
A list of cases is defined in **CaseList.txt**, containing the following
|
||||
|
||||
{% highlight text %}
|
||||
Real0/BRUGGE_0000.EGRID
|
||||
Real10/BRUGGE_0010.EGRID
|
||||
Real30/BRUGGE_0030.EGRID
|
||||
Real40/BRUGGE_0040.EGRID
|
||||
{% endhighlight %}
|
||||
|
||||
The command line used to run this example is shown here:
|
||||
|
||||
{% highlight text %}
|
||||
ResInsight --project BatchTest.rsp --multiCaseSnapshots CaseList.txt --size 500 500
|
||||
{% endhighlight %}
|
||||
|
||||
This will instruct ResInsight to read the project file **BatchTest.rsp**. All cases will be replaced one by one in ResInsight, and snapshots of all views will be written to file.
|
||||
|
||||
@@ -29,8 +33,9 @@ This will instruct ResInsight to read the project file **BatchTest.rsp**. All ca
|
||||
## Example 2 : Replace a single case and take snapshots of all views
|
||||
|
||||
The command line used to run this example is shown here:
|
||||
|
||||
{% highlight text %}
|
||||
ResInsight --project BatchTest.rsp --replaceCase "Real10\BRUGGE_0010.EGRID" --savesnapshots
|
||||
{% endhighlight %}
|
||||
|
||||
This will instruct ResInsight to read the project file **BatchTest.rsp**. The specified case **Real10\BRUGGE_0010.EGRID** will be imported into the project, and snapshots of all views will be written to file.
|
||||
|
||||
@@ -38,11 +43,15 @@ This will instruct ResInsight to read the project file **BatchTest.rsp**. The sp
|
||||
## Example 3 : Replace source cases in a case group and create snapshot
|
||||
A list of cases is defined in **CaseList2.txt**, containing the following
|
||||
|
||||
{% highlight text %}
|
||||
Real0/BRUGGE_0000.EGRID
|
||||
Real10/BRUGGE_0010.EGRID
|
||||
{% endhighlight %}
|
||||
|
||||
The command line used to run this example is shown here:
|
||||
|
||||
{% highlight text %}
|
||||
ResInsight --project BatchStatistics.rsp --replaceSourceCases CaseList2.txt --savesnapshots
|
||||
{% endhighlight %}
|
||||
|
||||
This will instruct ResInsight to read the project file **BatchTest.rsp**. All cases specified will be imported in the case group specified in the project file. Statistics will be computed, and snapshots for all views will be written to file.
|
||||
Reference in New Issue
Block a user