mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
3563 lines
62 KiB
HTML
3563 lines
62 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en" class="js csstransforms3d">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="generator" content="Hugo 0.65.3" />
|
|
<meta name="description" content="">
|
|
|
|
|
|
<link rel="icon" href="/images/favicon.png" type="image/png">
|
|
|
|
<title>Octave Interface :: ResInsight</title>
|
|
|
|
|
|
<link href="/css/nucleus.css?1588568942" rel="stylesheet">
|
|
<link href="/css/fontawesome-all.min.css?1588568942" rel="stylesheet">
|
|
<link href="/css/hybrid.css?1588568942" rel="stylesheet">
|
|
<link href="/css/featherlight.min.css?1588568942" rel="stylesheet">
|
|
<link href="/css/perfect-scrollbar.min.css?1588568942" rel="stylesheet">
|
|
<link href="/css/auto-complete.css?1588568942" rel="stylesheet">
|
|
<link href="/css/atom-one-dark-reasonable.css?1588568942" rel="stylesheet">
|
|
<link href="/css/theme.css?1588568942" rel="stylesheet">
|
|
<link href="/css/hugo-theme.css?1588568942" rel="stylesheet">
|
|
|
|
|
|
<script src="/js/jquery-3.3.1.min.js?1588568942"></script>
|
|
|
|
<style>
|
|
:root #header + #content > #left > #rlblock_left{
|
|
display:none !important;
|
|
}
|
|
|
|
</style>
|
|
|
|
<script type="text/javascript" async
|
|
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.6/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
|
|
MathJax.Hub.Config({
|
|
tex2jax: {
|
|
inlineMath: [['$','$'], ['\\(','\\)']],
|
|
displayMath: [['$$','$$'], ['\\[','\\]']],
|
|
processEscapes: true,
|
|
processEnvironments: true,
|
|
skipTags: ['script', 'noscript', 'style', 'textarea', 'pre'],
|
|
TeX: { equationNumbers: { autoNumber: "AMS" },
|
|
extensions: ["AMSmath.js", "AMSsymbols.js"] }
|
|
}
|
|
});
|
|
MathJax.Hub.Queue(function() {
|
|
|
|
|
|
|
|
var all = MathJax.Hub.getAllJax();
|
|
while(jax = all.pop()) {
|
|
jax.SourceElement().parentNode.className += ' has-jax';
|
|
}
|
|
});
|
|
|
|
MathJax.Hub.Config({
|
|
|
|
TeX: { equationNumbers: { autoNumber: "AMS" } }
|
|
});
|
|
</script>
|
|
|
|
</head>
|
|
<body class="" data-url="/scripting/octaveinterface/">
|
|
<nav id="sidebar" class="">
|
|
|
|
|
|
|
|
<div id="header-wrapper">
|
|
<div id="header">
|
|
<a id="logo" href="https://resinsight.org/">
|
|
<img src="https://resinsight.org//images/ResInsightCroppedIconPicture.png">
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div class="searchbox">
|
|
<label for="searchbox"><i class="fas fa-search"></i></label>
|
|
<form action="/search/" method="GET" id="search-form">
|
|
<input type="search" name="q" id="searchbox" placeholder="Search">
|
|
</form>
|
|
<span data-search-clear=""><i class="fas fa-times"></i></span>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="highlightable">
|
|
<ul class="topics">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/getting-started/" title="Getting Started" class="dd-item
|
|
|
|
|
|
|
|
">
|
|
<a href="/getting-started/">
|
|
Getting Started
|
|
|
|
</a>
|
|
|
|
|
|
<ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/getting-started/overview/" title="Overview" class="dd-item ">
|
|
<a href="/getting-started/overview/">
|
|
Overview
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/getting-started/download-and-install/" title="Download and Install" class="dd-item
|
|
|
|
|
|
|
|
">
|
|
<a href="/getting-started/download-and-install/">
|
|
Download and Install
|
|
|
|
</a>
|
|
|
|
|
|
<ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/getting-started/download-and-install/linux-installation/" title="Linux Installation" class="dd-item ">
|
|
<a href="/getting-started/download-and-install/linux-installation/">
|
|
Linux Installation
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/getting-started/download-and-install/windows-installation/" title="Windows Installation" class="dd-item ">
|
|
<a href="/getting-started/download-and-install/windows-installation/">
|
|
Windows Installation
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/getting-started/download-and-install/buildinstructions/" title="Build Instructions" class="dd-item ">
|
|
<a href="/getting-started/download-and-install/buildinstructions/">
|
|
Build Instructions
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/getting-started/helpmenuanddocumentation/" title="Help Menu and Documentation" class="dd-item ">
|
|
<a href="/getting-started/helpmenuanddocumentation/">
|
|
Help Menu and Documentation
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/getting-started/modelnavigation/" title="Model Navigation" class="dd-item ">
|
|
<a href="/getting-started/modelnavigation/">
|
|
Model Navigation
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/getting-started/other/" title="Other" class="dd-item
|
|
|
|
|
|
|
|
">
|
|
<a href="/getting-started/other/">
|
|
Other
|
|
|
|
</a>
|
|
|
|
|
|
<ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/getting-started/other/releasenotification/" title="Release Notification Subscription" class="dd-item ">
|
|
<a href="/getting-started/other/releasenotification/">
|
|
Release Notification Subscription
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/getting-started/other/testimonials/" title="Testimonials" class="dd-item ">
|
|
<a href="/getting-started/other/testimonials/">
|
|
Testimonials
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/3d-main-window/" title="3D Main Window" class="dd-item
|
|
|
|
|
|
|
|
">
|
|
<a href="/3d-main-window/">
|
|
3D Main Window
|
|
|
|
</a>
|
|
|
|
|
|
<ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/3d-main-window/3dviews/" title="3D Views" class="dd-item ">
|
|
<a href="/3d-main-window/3dviews/">
|
|
3D Views
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/3d-main-window/cellresults/" title="Cell Results" class="dd-item ">
|
|
<a href="/3d-main-window/cellresults/">
|
|
Cell Results
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/3d-main-window/resultcolorlegend/" title="Result Color Legend" class="dd-item ">
|
|
<a href="/3d-main-window/resultcolorlegend/">
|
|
Result Color Legend
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/3d-main-window/comparisonview/" title="Comparison View" class="dd-item ">
|
|
<a href="/3d-main-window/comparisonview/">
|
|
Comparison View
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/3d-main-window/contourmaps/" title="Contour Maps" class="dd-item ">
|
|
<a href="/3d-main-window/contourmaps/">
|
|
Contour Maps
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/3d-main-window/tensors/" title="Tensor Results" class="dd-item ">
|
|
<a href="/3d-main-window/tensors/">
|
|
Tensor Results
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/3d-main-window/resultinspection/" title="Result Inspection" class="dd-item ">
|
|
<a href="/3d-main-window/resultinspection/">
|
|
Result Inspection
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/3d-main-window/filters/" title="Cell Filters" class="dd-item ">
|
|
<a href="/3d-main-window/filters/">
|
|
Cell Filters
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/3d-main-window/intersections/" title="Intersections" class="dd-item ">
|
|
<a href="/3d-main-window/intersections/">
|
|
Intersections
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/3d-main-window/surfaces/" title="Surfaces" class="dd-item ">
|
|
<a href="/3d-main-window/surfaces/">
|
|
Surfaces
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/3d-main-window/allandiagrams/" title="Allan Diagram" class="dd-item ">
|
|
<a href="/3d-main-window/allandiagrams/">
|
|
Allan Diagram
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/3d-main-window/faults/" title="Faults" class="dd-item ">
|
|
<a href="/3d-main-window/faults/">
|
|
Faults
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/3d-main-window/formations/" title=" Zonations/Formations" class="dd-item ">
|
|
<a href="/3d-main-window/formations/">
|
|
Zonations/Formations
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/3d-main-window/gridstatisticsdialog/" title="Grid Statistics Dialog" class="dd-item ">
|
|
<a href="/3d-main-window/gridstatisticsdialog/">
|
|
Grid Statistics Dialog
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/3d-main-window/casegroupsandstatistics/" title="Grid Case Groups and Statistics" class="dd-item ">
|
|
<a href="/3d-main-window/casegroupsandstatistics/">
|
|
Grid Case Groups and Statistics
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/3d-main-window/linkedviews/" title="Linked Views" class="dd-item ">
|
|
<a href="/3d-main-window/linkedviews/">
|
|
Linked Views
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/3d-main-window/measurement/" title="Measurement" class="dd-item ">
|
|
<a href="/3d-main-window/measurement/">
|
|
Measurement
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/3d-main-window/annotations/" title="Annotations" class="dd-item ">
|
|
<a href="/3d-main-window/annotations/">
|
|
Annotations
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/3d-main-window/derivedresults/" title="Derived Results" class="dd-item ">
|
|
<a href="/3d-main-window/derivedresults/">
|
|
Derived Results
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/plot-window/" title="Plot Main Window" class="dd-item
|
|
|
|
|
|
|
|
">
|
|
<a href="/plot-window/">
|
|
Plot Main Window
|
|
|
|
</a>
|
|
|
|
|
|
<ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/plot-window/summaryplots/" title="Summary Plots" class="dd-item ">
|
|
<a href="/plot-window/summaryplots/">
|
|
Summary Plots
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/plot-window/summarysourcestepping/" title="Summary Plot Source Stepping" class="dd-item ">
|
|
<a href="/plot-window/summarysourcestepping/">
|
|
Summary Plot Source Stepping
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/plot-window/summaryploteditor/" title="Summary Plot Editor" class="dd-item ">
|
|
<a href="/plot-window/summaryploteditor/">
|
|
Summary Plot Editor
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/plot-window/summarycrossplots/" title="Summary Cross Plot" class="dd-item ">
|
|
<a href="/plot-window/summarycrossplots/">
|
|
Summary Cross Plot
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/plot-window/summaryplottemplate/" title="Summary Plot Template" class="dd-item ">
|
|
<a href="/plot-window/summaryplottemplate/">
|
|
Summary Plot Template
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/plot-window/multiplots/" title="Multi Plots" class="dd-item ">
|
|
<a href="/plot-window/multiplots/">
|
|
Multi Plots
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/plot-window/ensembleplotting/" title="Ensemble Plotting" class="dd-item ">
|
|
<a href="/plot-window/ensembleplotting/">
|
|
Ensemble Plotting
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/plot-window/curvecalculator/" title="Curve Calculator" class="dd-item ">
|
|
<a href="/plot-window/curvecalculator/">
|
|
Curve Calculator
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/plot-window/welllogsandplots/" title="Well Log Plots" class="dd-item ">
|
|
<a href="/plot-window/welllogsandplots/">
|
|
Well Log Plots
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/plot-window/wellborestabilityplots/" title="Well Bore Stability Plots" class="dd-item ">
|
|
<a href="/plot-window/wellborestabilityplots/">
|
|
Well Bore Stability Plots
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/plot-window/rftplot/" title="RFT Plot" class="dd-item ">
|
|
<a href="/plot-window/rftplot/">
|
|
RFT Plot
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/plot-window/ensemblerftplot/" title="Ensemble RFT Plot" class="dd-item ">
|
|
<a href="/plot-window/ensemblerftplot/">
|
|
Ensemble RFT Plot
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/plot-window/pltplot/" title="PLT Plot" class="dd-item ">
|
|
<a href="/plot-window/pltplot/">
|
|
PLT Plot
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/plot-window/flowdiagnosticsplots/" title="Flow Diagnostics Plots" class="dd-item ">
|
|
<a href="/plot-window/flowdiagnosticsplots/">
|
|
Flow Diagnostics Plots
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/plot-window/gridcrossplots/" title="Grid Cross Plots" class="dd-item ">
|
|
<a href="/plot-window/gridcrossplots/">
|
|
Grid Cross Plots
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/plot-window/saturationpressureplots/" title="Saturation Pressure Plots" class="dd-item ">
|
|
<a href="/plot-window/saturationpressureplots/">
|
|
Saturation Pressure Plots
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/wells-and-completions/" title="Wells and Completions" class="dd-item
|
|
|
|
|
|
|
|
">
|
|
<a href="/wells-and-completions/">
|
|
Wells and Completions
|
|
|
|
</a>
|
|
|
|
|
|
<ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/wells-and-completions/simulationwells/" title="Simulation Wells" class="dd-item ">
|
|
<a href="/wells-and-completions/simulationwells/">
|
|
Simulation Wells
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/wells-and-completions/wellpaths/" title="Well Paths" class="dd-item ">
|
|
<a href="/wells-and-completions/wellpaths/">
|
|
Well Paths
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/wells-and-completions/createnewwellpaths/" title="Create Well Paths" class="dd-item ">
|
|
<a href="/wells-and-completions/createnewwellpaths/">
|
|
Create Well Paths
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/wells-and-completions/3dwelllogcurves/" title="3D Well Log Plots" class="dd-item ">
|
|
<a href="/wells-and-completions/3dwelllogcurves/">
|
|
3D Well Log Plots
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/wells-and-completions/completions/" title="Completions" class="dd-item ">
|
|
<a href="/wells-and-completions/completions/">
|
|
Completions
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/wells-and-completions/completionslgr/" title="Completions LGR" class="dd-item ">
|
|
<a href="/wells-and-completions/completionslgr/">
|
|
Completions LGR
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/wells-and-completions/wellmeasurements/" title="Well Measurements" class="dd-item ">
|
|
<a href="/wells-and-completions/wellmeasurements/">
|
|
Well Measurements
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/import/" title="Import" class="dd-item
|
|
|
|
|
|
|
|
">
|
|
<a href="/import/">
|
|
Import
|
|
|
|
</a>
|
|
|
|
|
|
<ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/import/eclipsecases/" title="Eclipse Cases" class="dd-item ">
|
|
<a href="/import/eclipsecases/">
|
|
Eclipse Cases
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/import/lasfile/" title="Log ASCII Standard File" class="dd-item ">
|
|
<a href="/import/lasfile/">
|
|
Log ASCII Standard File
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/import/geomechanicaldata/" title="Geomechanical Data" class="dd-item ">
|
|
<a href="/import/geomechanicaldata/">
|
|
Geomechanical Data
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/import/soursimrlresults/" title="SourSimRL Results" class="dd-item ">
|
|
<a href="/import/soursimrlresults/">
|
|
SourSimRL Results
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/import/elementpropertytable/" title="Element Property Table" class="dd-item ">
|
|
<a href="/import/elementpropertytable/">
|
|
Element Property Table
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/import/observeddata/" title="Observed Time History Data" class="dd-item ">
|
|
<a href="/import/observeddata/">
|
|
Observed Time History Data
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/import/pasteexceltimedata/" title="Paste Excel Time History Data" class="dd-item ">
|
|
<a href="/import/pasteexceltimedata/">
|
|
Paste Excel Time History Data
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/export/" title="Export" class="dd-item
|
|
|
|
|
|
|
|
">
|
|
<a href="/export/">
|
|
Export
|
|
|
|
</a>
|
|
|
|
|
|
<ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/export/snapshots/" title="Snapshots" class="dd-item ">
|
|
<a href="/export/snapshots/">
|
|
Snapshots
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/export/eclipseproperties/" title="Eclipse Properties" class="dd-item ">
|
|
<a href="/export/eclipseproperties/">
|
|
Eclipse Properties
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/export/fluxnummultnum/" title="FLUXNUM/MULTNUM" class="dd-item ">
|
|
<a href="/export/fluxnummultnum/">
|
|
FLUXNUM/MULTNUM
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/export/completionexport/" title="Completions" class="dd-item ">
|
|
<a href="/export/completionexport/">
|
|
Completions
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/export/exportwellpaths/" title="Well Paths" class="dd-item ">
|
|
<a href="/export/exportwellpaths/">
|
|
Well Paths
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/export/sectormodel/" title="Sector Model" class="dd-item ">
|
|
<a href="/export/sectormodel/">
|
|
Sector Model
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/export/contourmapexport/" title="Contour Map Export" class="dd-item ">
|
|
<a href="/export/contourmapexport/">
|
|
Contour Map Export
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/scripting/" title="Scripting" class="dd-item
|
|
parent
|
|
|
|
|
|
">
|
|
<a href="/scripting/">
|
|
Scripting
|
|
|
|
</a>
|
|
|
|
|
|
<ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/scripting/pythoninterface/" title="Python interface" class="dd-item ">
|
|
<a href="/scripting/pythoninterface/">
|
|
Python interface
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/scripting/commandlineinterface/" title="Command Line Interface" class="dd-item ">
|
|
<a href="/scripting/commandlineinterface/">
|
|
Command Line Interface
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/scripting/commandfile/" title="Command File" class="dd-item ">
|
|
<a href="/scripting/commandfile/">
|
|
Command File
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/scripting/octaveinterface/" title="Octave Interface" class="dd-item active">
|
|
<a href="/scripting/octaveinterface/">
|
|
Octave Interface
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/scripting/octaveinterfacereference/" title="Octave Interface Reference" class="dd-item ">
|
|
<a href="/scripting/octaveinterfacereference/">
|
|
Octave Interface Reference
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/misc/" title="Miscellaneous" class="dd-item
|
|
|
|
|
|
|
|
">
|
|
<a href="/misc/">
|
|
Miscellaneous
|
|
|
|
</a>
|
|
|
|
|
|
<ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/misc/preferences/" title="Preferences" class="dd-item ">
|
|
<a href="/misc/preferences/">
|
|
Preferences
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/misc/projectfile/" title="Project File and Caching" class="dd-item ">
|
|
<a href="/misc/projectfile/">
|
|
Project File and Caching
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/misc/memorymanagement/" title="Memory Management" class="dd-item ">
|
|
<a href="/misc/memorymanagement/">
|
|
Memory Management
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/misc/keyboardshortcuts/" title="Keyboard Shortcuts" class="dd-item ">
|
|
<a href="/misc/keyboardshortcuts/">
|
|
Keyboard Shortcuts
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li data-nav-id="/misc/regressiontestsystem/" title="Regression Test System" class="dd-item ">
|
|
<a href="/misc/regressiontestsystem/">
|
|
Regression Test System
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<section id="shortcuts">
|
|
<h3></h3>
|
|
<ul>
|
|
|
|
<li>
|
|
<a class="padding" href="https://resinsight.org/about"><i class='fas fa-info-circle'></i> About</a>
|
|
</li>
|
|
|
|
<li>
|
|
<a class="padding" href="https://resinsight.org/support"><i class='far fa-question-circle'></i> Support</a>
|
|
</li>
|
|
|
|
<li>
|
|
<a class="padding" href="https://resinsight.org/getting-started/download-and-install"><i class='fas fa-download'></i> Download and Install</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</section>
|
|
|
|
|
|
|
|
<section id="footer">
|
|
<a href="https://www.ceetronsolutions.com"><img src='https://resinsight.org//images/CeeSolLogoSmallForDarkBackground.png' style='width: 140px; '></a><br>
|
|
|
|
ResInsight is developed by <br> <a href="https://www.ceetronsolutions.com">Ceetron Solutions</a>
|
|
<p>in collaboration with</p>
|
|
<a href="https://www.equinor.com">Equinor ASA</a>
|
|
|
|
|
|
<script type="application/javascript">
|
|
var doNotTrack = false;
|
|
if (!doNotTrack) {
|
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
|
ga('create', 'UA-79509181-1', 'auto');
|
|
|
|
ga('send', 'pageview');
|
|
}
|
|
</script>
|
|
|
|
</section>
|
|
</div>
|
|
</nav>
|
|
|
|
|
|
|
|
|
|
|
|
<section id="body">
|
|
<div id="overlay"></div>
|
|
<div class="padding highlightable">
|
|
|
|
<div>
|
|
<div id="top-bar">
|
|
|
|
|
|
<div id="breadcrumbs" itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb">
|
|
<span id="sidebar-toggle-span">
|
|
<a href="#" id="sidebar-toggle" data-sidebar-toggle="">
|
|
<i class="fas fa-bars"></i>
|
|
</a>
|
|
</span>
|
|
|
|
<span id="toc-menu"><i class="fas fa-list-alt"></i></span>
|
|
|
|
<span class="links">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a href='/'>ResInsight</a> > <a href='/scripting/'>Scripting</a> > Octave Interface
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</span>
|
|
</div>
|
|
|
|
<div class="progress">
|
|
<div class="wrapper">
|
|
<nav id="TableOfContents">
|
|
<ul>
|
|
<li>
|
|
<ul>
|
|
<li><a href="#octave-script-management">Octave Script Management</a>
|
|
<ul>
|
|
<li><a href="#adding-script-folders">Adding Script Folders</a></li>
|
|
<li><a href="#editing-octave-scripts">Editing Octave Scripts</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#executing-octave-scripts">Executing Octave Scripts</a>
|
|
<ul>
|
|
<li><a href="#executing-a-script-once">Executing a Script Once</a></li>
|
|
<li><a href="#executing-a-script-for-each-selected-case">Executing a Script for Each Selected Case</a></li>
|
|
<li><a href="#process-monitor">Process Monitor</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#octave-script-examples">Octave Script Examples</a>
|
|
<ul>
|
|
<li></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div id="head-tags">
|
|
|
|
</div>
|
|
|
|
<div id="body-inner">
|
|
|
|
<h1>
|
|
|
|
Octave Interface
|
|
</h1>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>ResInsight provides a flexible interface to <a href="http://www.gnu.org/software/octave/" title="Octave">Octave</a> including:</p>
|
|
<ul>
|
|
<li>Octave functions that communicates with a running ResInsight session</li>
|
|
<li>Features to simplify management and editing of Octave scripts from ResInsight</li>
|
|
<li>Commands to execute scripts using Octave.</li>
|
|
</ul>
|
|
<p>The Octave functions are documented in <a href="/scripting/octaveinterfacereference/">Octave Interface Reference</a>.</p>
|
|
|
|
<div class="notices info" ><p><b>Note:</b> The Octave interface does not support Flow diagnostics and Injection flooding results in addition to Geomechanical cases.</p>
|
|
</div>
|
|
|
|
<h2 id="octave-script-management">Octave Script Management</h2>
|
|
<p>Octave scripts are available in the <strong>Scripts</strong> folder in the <strong>Project Tree</strong>.</p>
|
|
<p><img src="/images/scripting/OctaveScriptTree.png" alt=""></p>
|
|
<p>This folder contains an entry for each of the directories you have added as a <strong>Script Folder</strong>. Each of the folder lists available <em><code>*.m</code></em> files and sub directories.</p>
|
|
<h3 id="adding-script-folders">Adding Script Folders</h3>
|
|
<p>You can add directories by right-clicking the <strong>Scripts</strong> item to access the right-click menu.</p>
|
|
<p>Multiple standard script folder locations can also be defined in the field <strong>Shared Script Folder(s)</strong> in the <strong>Preferences Dialog</strong> (<strong>Edit -> Preferences</strong>).</p>
|
|
<h3 id="editing-octave-scripts">Editing Octave Scripts</h3>
|
|
<p>To enable script editing from ResInsight you need to set up the path to a text editor in the <strong>Script Editor</strong> field in the <strong>Preferences Dialog</strong> (<strong>Edit -> Preferences</strong>)</p>
|
|
<p>When done, scripts can be edited using the right-click menu command <strong>Edit</strong> on the script item in the tree.</p>
|
|
<p>If you add a script file directly by creating a new file, the new script can be made visible in the user interface by activating <strong>Refresh</strong> in the right-click menu of a script folder.</p>
|
|
<h2 id="executing-octave-scripts">Executing Octave Scripts</h2>
|
|
<p>ResInsight can be instructed to execute an Octave script once as a one shot operation, or several times, one time for each selected case. The <a href="/scripting/octaveinterfacereference/">Octave Interface Reference</a> highlights in more depth how to design your Octave scripts to utilize these features.</p>
|
|
<h3 id="executing-a-script-once">Executing a Script Once</h3>
|
|
<p>A script can be started by navigating to the script in the <strong>Project Tree</strong>, and selecting <strong>Execute</strong> from the right-click menu. The currently active case (The one with the active 3D View) will then be set as ResInsight’s <em>Current Case</em>, and the script is executed once.</p>
|
|
<h3 id="executing-a-script-for-each-selected-case">Executing a Script for Each Selected Case</h3>
|
|
<p>One script can be executed on many cases by first selecting a set of cases, and then activating <strong>Execute script</strong> from the right-click menu on the case selection. The script is then executed once per selected case setting the ResInsight’s <em>Current Case</em> each time.</p>
|
|
<p><img src="/images/scripting/ExecuteOctaveScriptOnSelectedCases.png" alt=""></p>
|
|
<h3 id="process-monitor">Process Monitor</h3>
|
|
<p>When an Octave script is executed, the <strong>Process Monitor</strong> pops up and displays the output from Octave during the script execution as displayed below:</p>
|
|
<p><img src="/images/scripting/ProcessMonitor.png" alt=""></p>
|
|
<p>In addition to the output from the script, it prints a start and stop time stamp. The <strong>Clear</strong>-button deletes all the text in the monitor, and the <strong>Stop</strong>-button tries to kill the running Octave process.</p>
|
|
<h2 id="octave-script-examples">Octave Script Examples</h2>
|
|
<p>Here are some example-scripts that illustrates the use of the octave interface.</p>
|
|
|
|
<div class="notices info" ><p><b>Disclaimer:</b> The scripts are provided as illustration only. They are probably not the best way of using the octave script language, and could potentially be incorrect.</p>
|
|
</div>
|
|
|
|
<h4 id="example-1">Example 1</h4>
|
|
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-matlab" data-lang="matlab"># Calculate change of oil saturation from time step to time step
|
|
SOIL = riGetActiveCellProperty("SOIL");
|
|
SOILDIFF = SOIL;
|
|
|
|
i = <span style="color:#ae81ff">0</span>;
|
|
<span style="color:#66d9ef">for</span> timestep = SOIL
|
|
<span style="color:#66d9ef">if</span> (i <span style="color:#f92672">></span> <span style="color:#ae81ff">0</span>)
|
|
SOILDIFF(:,i) = timestep <span style="color:#f92672">-</span> SOIL(:,i);
|
|
endif
|
|
i<span style="color:#f92672">++</span>;
|
|
endfor
|
|
SOILDIFF(:,i) = <span style="color:#ae81ff">0</span>;
|
|
|
|
riSetActiveCellProperty(SOILDIFF, "SOILDIFF");
|
|
</code></pre></div><h4 id="example-2">Example 2</h4>
|
|
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-matlab" data-lang="matlab"># Set all values to "Undefined" exept k<span style="color:#f92672">-</span>layers from <span style="color:#ae81ff">17</span> to <span style="color:#ae81ff">20</span>
|
|
CInfo = riGetActiveCellInfo();
|
|
SOIL = riGetActiveCellProperty("SOIL");
|
|
|
|
Mask = (CInfo(:,<span style="color:#ae81ff">4</span>) <span style="color:#f92672"><</span> <span style="color:#ae81ff">17</span>) <span style="color:#f92672">|</span> (CInfo(:,<span style="color:#ae81ff">4</span>) <span style="color:#f92672">></span> <span style="color:#ae81ff">20</span>)
|
|
LGRSOIL = SOIL;
|
|
i = <span style="color:#ae81ff">0</span>;
|
|
<span style="color:#66d9ef">for</span> i = (<span style="color:#ae81ff">1</span>:columns(LGRSOIL))
|
|
LGRSOIL(Mask,i) = nan;
|
|
endfor
|
|
|
|
riSetActiveCellProperty(LGRSOIL, "KSlice");
|
|
</code></pre></div><h4 id="example-3">Example 3</h4>
|
|
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-matlab" data-lang="matlab"># Keep the values in the first LGR only
|
|
|
|
CInfo = riGetActiveCellInfo();
|
|
SOIL = riGetActiveCellProperty("SOIL");
|
|
|
|
Mask = (CInfo(:,<span style="color:#ae81ff">1</span>) != <span style="color:#ae81ff">1</span>);
|
|
|
|
LGRSOIL = SOIL;
|
|
i = <span style="color:#ae81ff">0</span>;
|
|
<span style="color:#66d9ef">for</span> i = (<span style="color:#ae81ff">1</span>:columns(LGRSOIL))
|
|
LGRSOIL(Mask,i) = nan;
|
|
endfor
|
|
|
|
riSetActiveCellProperty(LGRSOIL, "LGRSOIL");
|
|
</code></pre></div><h4 id="example-4--might-be-slow-on-big-models">Example 4 ( Might be slow on big models)</h4>
|
|
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-matlab" data-lang="matlab"># Calculate the average SOIL value across K layers
|
|
|
|
CInfo = riGetActiveCellInfo();
|
|
SOIL = riGetActiveCellProperty("SOIL");
|
|
|
|
SOIL_KAverage = SOIL;
|
|
SOIL_KAverage(:) = nan;
|
|
|
|
mini = min(CInfo(:,<span style="color:#ae81ff">2</span>))
|
|
maxi = max(CInfo(:,<span style="color:#ae81ff">2</span>))
|
|
|
|
minj = min(CInfo(:,<span style="color:#ae81ff">3</span>))
|
|
maxj = max(CInfo(:,<span style="color:#ae81ff">3</span>))
|
|
|
|
<span style="color:#66d9ef">for</span> i = mini:maxi
|
|
<span style="color:#66d9ef">for</span> j = minj:maxj
|
|
Mask = (CInfo(:,<span style="color:#ae81ff">1</span>) <span style="color:#f92672">==</span> <span style="color:#ae81ff">0</span>) <span style="color:#f92672">&</span> (CInfo(:,<span style="color:#ae81ff">2</span>) <span style="color:#f92672">==</span> i) <span style="color:#f92672">&</span> (CInfo(:,<span style="color:#ae81ff">3</span>) <span style="color:#f92672">==</span> j) ;
|
|
|
|
<span style="color:#66d9ef">for</span> ts = (<span style="color:#ae81ff">1</span>:columns(SOIL))
|
|
SOIL_KAverage(Mask, ts) = mean(SOIL(Mask, ts));
|
|
endfor
|
|
endfor
|
|
endfor
|
|
|
|
riSetActiveCellProperty(SOIL_KAverage, "SOIL_KAverage");
|
|
</code></pre></div>
|
|
|
|
<footer class="footline">
|
|
|
|
</footer>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
<div id="navigation">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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nav nav-next" href="/scripting/octaveinterfacereference/" title="Octave Interface Reference" style="margin-right: 0px;"><i class="fa fa-chevron-right"></i></a>
|
|
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
<div style="left: -1000px; overflow: scroll; position: absolute; top: -1000px; border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;">
|
|
<div style="border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;"></div>
|
|
</div>
|
|
<script src="/js/clipboard.min.js?1588568942"></script>
|
|
<script src="/js/perfect-scrollbar.min.js?1588568942"></script>
|
|
<script src="/js/perfect-scrollbar.jquery.min.js?1588568942"></script>
|
|
<script src="/js/jquery.sticky.js?1588568942"></script>
|
|
<script src="/js/featherlight.min.js?1588568942"></script>
|
|
<script src="/js/highlight.pack.js?1588568942"></script>
|
|
<script>hljs.initHighlightingOnLoad();</script>
|
|
<script src="/js/modernizr.custom-3.6.0.js?1588568942"></script>
|
|
<script src="/js/learn.js?1588568942"></script>
|
|
<script src="/js/hugo-learn.js?1588568942"></script>
|
|
|
|
<link href="/mermaid/mermaid.css?1588568942" rel="stylesheet" />
|
|
<script src="/mermaid/mermaid.js?1588568942"></script>
|
|
<script>
|
|
mermaid.initialize({ startOnLoad: true });
|
|
</script>
|
|
|
|
|
|
</body>
|
|
</html>
|
|
|