<div dir="ltr">Dear Mr. Andrew and colleagues<div><br></div><div>Please tell me what wrong with this script. It does not work to interpolate the coarse grid to fine grid</div><div><br></div><div>##first data/resolution 0.002x0.003 (lat, lon)</div><div><div><br></div><div> 'open ./Rain.ctl'</div><div> 'setXrain.gs'</div><div> 'setCOMMON.gs' ! set parameter (lon, lat, parea, grid off, etc)</div><div># 'd rr' ! variable</div><div> 'xcbar 8.85 9.05 0.8 4 -fw 0.11 -fh 0.15 -edge triangle -fstep 1 -line on -lc 1'</div><div> 'close 1'</div><div><br></div><div>##second data/resolution 0.1x0.1 (lat, lon)</div><div><br></div><div> 'open ./Him.ctl'</div><div> 'setCOMMON.gs'</div><div> 'setHimawari.gs'</div><div># 'd albedo' ! variable</div><div> 'xcbar 6.3 9 0.23 0.37 -fw 0.11 -fh 0.15 -edge triangle -fs 2 -fo 1 -line on'</div><div> 'close 1'</div><div><br></div><div> 'd lterp(rr, albedo.2, aave)'</div><div><br></div><div>Any help will be very appreciated.<br></div><div>Thank you very much.<br></div><div><br></div><div>Best regards,</div><div>wendi</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div> </div></div><div> </div><div><br></div><div><br></div><div><br></div><div> </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 17, 2017 at 7:12 PM, wendi harjupa <span dir="ltr"><<a href="mailto:wendiharjupa@gmail.com" target="_blank">wendiharjupa@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear Mr. Andrew..<div><br></div><div>Many thanks for your valuable information.</div><div><br></div><div>Best regards,</div><div>wendi</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 17, 2017 at 6:45 PM, Andrew Friedman <span dir="ltr"><<a href="mailto:andfried@gmail.com" target="_blank">andfried@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Wendi,<br>
You can use the function lterp for spatial interpolation: <a href="http://cola.gmu.edu/grads/gadoc/gradfunclterp.html" rel="noreferrer" target="_blank">http://cola.gmu.edu/grads/gado<wbr>c/gradfunclterp.html</a><br>
-Andrew<br>
<div><div class="m_9114891390506836341h5"><br>
> On Jan 17, 2017, at 10:29 AM, wendi harjupa <<a href="mailto:wendiharjupa@gmail.com" target="_blank">wendiharjupa@gmail.com</a>> wrote:<br>
><br>
> Dear All<br>
><br>
> I got problem in overlaying two type of data.<br>
> As I have attached the plot of data in this email.<br>
><br>
> First data is rain data with resolution is about 0.002x0.003 deg (lon ,lat).<br>
> The rain data is indicated by rainbow color.<br>
> and second data is cloud data with resolution is 0.1x0.1 deg (lon, lat)<br>
> The cloud data is indicated by gray color<br>
><br>
> The plot looks not good. Is there any tools in grads to smooth the cloud data?<br>
> Then, we can interpolate cloud data to become 0.005 or 0.001, and plot data will be more nice.<br>
><br>
> Thank you very much for your attention and help.<br>
><br>
> Best regards,<br>
> wendi<br>
><br>
</div></div>> <large skale.png>____________________<wbr>___________________________<br>
> gradsusr mailing list<br>
> <a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/li<wbr>stinfo/gradsusr</a><br>
<br>
<br>
______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/li<wbr>stinfo/gradsusr</a><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>