<div dir="ltr">Dear ncl-talk<div><br></div><div>I got the obj_anal_ic code from <b>[ncl-talk] process underlying obj_anal_ic_Wrap()</b></div><div>You can get it also from <a href="https://github.com/yyr/ncl/blob/master/ni/src/lib/nfpfort/obsp1_mult_time_dp.f">https://github.com/yyr/ncl/blob/master/ni/src/lib/nfpfort/obsp1_mult_time_dp.f</a></div><div><br></div><div>The subroutine infomation is shown below:</div><div><table class="gmail-highlight gmail-tab-size gmail-js-file-line-container" style="box-sizing:border-box;border-collapse:collapse;color:rgb(51,51,51);font-family:-apple-system,blinkmacsystemfont,&quot;segoe ui&quot;,helvetica,arial,sans-serif,&quot;apple color emoji&quot;,&quot;segoe ui emoji&quot;,&quot;segoe ui symbol&quot;;font-size:14px"><tbody style="box-sizing:border-box"><tr style="box-sizing:border-box"><td id="gmail-LC1" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre"><span class="gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)"><span class="gmail-pl-c" style="box-sizing:border-box">C</span> NCLFORTSTART</span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L2" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC2" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre">      <span class="gmail-pl-k" style="box-sizing:border-box;color:rgb(167,29,93)">subroutine</span> <span class="gmail-pl-en" style="box-sizing:border-box;color:rgb(121,93,163)">dobjanlx</span>(<span class="gmail-pl-v" style="box-sizing:border-box;color:rgb(237,106,67)">plon</span>,<span class="gmail-pl-v" style="box-sizing:border-box;color:rgb(237,106,67)">plat</span>,<span class="gmail-pl-v" style="box-sizing:border-box;color:rgb(237,106,67)">pval</span>,<span class="gmail-pl-v" style="box-sizing:border-box;color:rgb(237,106,67)">ntim</span>,<span class="gmail-pl-v" style="box-sizing:border-box;color:rgb(237,106,67)">npts</span>,<span class="gmail-pl-v" style="box-sizing:border-box;color:rgb(237,106,67)">grid</span>,<span class="gmail-pl-v" style="box-sizing:border-box;color:rgb(237,106,67)">mlon</span>,<span class="gmail-pl-v" style="box-sizing:border-box;color:rgb(237,106,67)">nlat</span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L3" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC3" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre">     <span class="gmail-pl-v" style="box-sizing:border-box;color:rgb(237,106,67)">&amp;</span>                   ,<span class="gmail-pl-v" style="box-sizing:border-box;color:rgb(237,106,67)">xmsg</span>,<span class="gmail-pl-v" style="box-sizing:border-box;color:rgb(237,106,67)">pmsg</span> ,<span class="gmail-pl-v" style="box-sizing:border-box;color:rgb(237,106,67)">rscan</span>,<span class="gmail-pl-v" style="box-sizing:border-box;color:rgb(237,106,67)">nscan</span>,<span class="gmail-pl-v" style="box-sizing:border-box;color:rgb(237,106,67)">glat</span>,<span class="gmail-pl-v" style="box-sizing:border-box;color:rgb(237,106,67)">glon</span>,<span class="gmail-pl-v" style="box-sizing:border-box;color:rgb(237,106,67)">smwgt</span>,<span class="gmail-pl-v" style="box-sizing:border-box;color:rgb(237,106,67)">opt</span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L4" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC4" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre">     <span class="gmail-pl-v" style="box-sizing:border-box;color:rgb(237,106,67)">&amp;</span>                   ,<span class="gmail-pl-v" style="box-sizing:border-box;color:rgb(237,106,67)">zval</span>,<span class="gmail-pl-v" style="box-sizing:border-box;color:rgb(237,106,67)">zlat</span>,<span class="gmail-pl-v" style="box-sizing:border-box;color:rgb(237,106,67)">zlon</span>,<span class="gmail-pl-v" style="box-sizing:border-box;color:rgb(237,106,67)">ip</span>,<span class="gmail-pl-v" style="box-sizing:border-box;color:rgb(237,106,67)">work</span>,<span class="gmail-pl-v" style="box-sizing:border-box;color:rgb(237,106,67)">lwork</span>,<span class="gmail-pl-v" style="box-sizing:border-box;color:rgb(237,106,67)">ier</span>)        </td></tr><tr style="box-sizing:border-box"><td id="gmail-L5" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC5" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre">      <span class="gmail-pl-k" style="box-sizing:border-box;color:rgb(167,29,93)">implicit none</span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L6" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC6" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre"><span class="gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)"><span class="gmail-pl-c" style="box-sizing:border-box">c</span>                                                                               </span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L7" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC7" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre"><span class="gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)"><span class="gmail-pl-c" style="box-sizing:border-box">c</span> Objective Analysis via &#39;iterative improvement&#39;  [driver]</span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L8" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC8" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre"><span class="gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)">c</span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L9" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC9" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre"><span class="gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)"><span class="gmail-pl-c" style="box-sizing:border-box">c</span> NCL: grid = objanalii(plon,plat,pval,rscan,glat,glon,opt)</span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L10" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC10" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre"><span class="gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)"><span class="gmail-pl-c" style="box-sizing:border-box">c</span>                                                                               </span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L11" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC11" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre"><span class="gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)"><span class="gmail-pl-c" style="box-sizing:border-box">c</span> nomenclature :                                                                </span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L12" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC12" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre"><span class="gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)"><span class="gmail-pl-c" style="box-sizing:border-box">c</span> .   plat,plon    - coordinates of observation in degrees                      </span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L13" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC13" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre"><span class="gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)"><span class="gmail-pl-c" style="box-sizing:border-box">c</span> .                  -90.&lt;= plat =&gt;90. ; {-180, 0}&lt;= plon &gt;=(180, 360}</span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L14" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC14" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre"><span class="gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)"><span class="gmail-pl-c" style="box-sizing:border-box">c</span> .   pval         - value of obs. [*] or ... [ntim][*]                                              </span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L15" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC15" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre"><span class="gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)"><span class="gmail-pl-c" style="box-sizing:border-box">c</span> .   grid         - array which will hold the interpolated grid                </span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L16" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC16" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre"><span class="gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)"><span class="gmail-pl-c" style="box-sizing:border-box">c</span> .   mlon,nlat    - no. of lon and lat points                                  </span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L17" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC17" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre"><span class="gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)"><span class="gmail-pl-c" style="box-sizing:border-box">c</span> .   glon,glat    - vectors containing the lat/lon coords of the grid          </span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L18" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC18" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre"><span class="gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)"><span class="gmail-pl-c" style="box-sizing:border-box">c</span> .                  longitudes must have same range as plon</span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L19" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC19" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre"><span class="gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)"><span class="gmail-pl-c" style="box-sizing:border-box">c</span> .   rscan        - vector containing scan radii (in degrees)                  </span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L20" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC20" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre"><span class="gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)"><span class="gmail-pl-c" style="box-sizing:border-box">c</span> .                  rscan(1)&gt; rscan(2)&gt; ...&gt;rscan(nscan)                       </span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L21" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC21" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre"><span class="gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)"><span class="gmail-pl-c" style="box-sizing:border-box">c</span> .   nscan        - no. of scans to be performed (length of rscan)             </span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L22" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC22" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre"><span class="gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)"><span class="gmail-pl-c" style="box-sizing:border-box">c</span> .                  it is recommended that multiple scans be                   </span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L23" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC23" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre"><span class="gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)"><span class="gmail-pl-c" style="box-sizing:border-box">c</span> .                  performed. the max number of scans is currently            </span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L24" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC24" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre"><span class="gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)"><span class="gmail-pl-c" style="box-sizing:border-box">c</span> .                  10. this may easily be adjusted by changing the            </span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L25" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC25" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre"><span class="gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)"><span class="gmail-pl-c" style="box-sizing:border-box">c</span> .                  parameter nscmax and changing the length of the            </span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L26" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC26" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre"><span class="gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)"><span class="gmail-pl-c" style="box-sizing:border-box">c</span> .                  data statement for smwgt. this routine was tested          </span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L27" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC27" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre"><span class="gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)"><span class="gmail-pl-c" style="box-sizing:border-box">c</span> .                  with nscan=4 : rscan(1,2,3,4)=20.,15.,10.,7.5              </span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L28" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC28" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre"><span class="gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)"><span class="gmail-pl-c" style="box-sizing:border-box">c</span> .                  rscan(nscan) should be .ge. the grid spacing.              </span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L29" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC29" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre"><span class="gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)"><span class="gmail-pl-c" style="box-sizing:border-box">c</span> .   xmsg         - missing code for plat and plon</span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L30" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC30" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre"><span class="gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)"><span class="gmail-pl-c" style="box-sizing:border-box">c</span> .   pmsg         - missing code for pval</span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L31" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC31" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre"><span class="gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)"><span class="gmail-pl-c" style="box-sizing:border-box">c</span> .                  value to which grid points with no data                    </span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L32" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC32" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre"><span class="gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)"><span class="gmail-pl-c" style="box-sizing:border-box">c</span> .                  within rscan(1) degrees will be set                        </span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L33" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC33" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre"><span class="gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)"><span class="gmail-pl-c" style="box-sizing:border-box">c</span> .   opt          - option flag</span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L34" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC34" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre"><span class="gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)"><span class="gmail-pl-c" style="box-sizing:border-box">c</span> .   ier          - error code                                                 </span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L35" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC35" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre"><span class="gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)"><span class="gmail-pl-c" style="box-sizing:border-box">c</span>                                                                               </span></td></tr><tr style="box-sizing:border-box"><td id="gmail-L36" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC36" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;word-wrap:normal"><span class="gmail-pl-c" style="box-sizing:border-box"><span class="gmail-pl-c" style="color:rgb(150,152,150);font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;white-space:pre;box-sizing:border-box">c</span><font color="#969896" face="consolas, liberation mono, menlo, courier, monospace"><span style="font-size:12px;white-space:pre">                                                   INPU
</span></font></span></td></tr></tbody></table><div><br></div><br></div><div>I did some changes to the code and use</div><div><pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-size:13.3333px;line-height:12pt;font-family:courier;border-style:solid;border-width:0px 0px 15px;border-color:transparent;color:rgb(0,0,0)">WRAPIT obsp1_mult_time_dp.f</pre>Get shared object obsp1_mult_time_dp.o</div><div>So I need to use the subroutine dobjanlx like this</div><div>grid  = average::<span style="color:rgb(121,93,163);font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;white-space:pre">dobjanlx</span>(plon,plat,pval,ntim,npts,grid,mlon,nlat</div><div>     &amp;                   ,xmsg,pmsg ,rscan,nscan,glat,glon,smwgt,opt</div><div>     &amp;                   ,zval,zlat,zlon,ip,work,lwork,ier)<br></div><div><br></div><div>But I am confused with the how the xmsg, pmsg and ier are passed to the subroutine <span style="color:rgb(121,93,163);font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;white-space:pre">dobjanlx</span>.</div><div>What does missing code exactly mean?</div><div>And what is parameter ip is? How should I pass value to it?</div><div><br></div><div>Thank you,</div><div>Tao</div></div>