<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
This works perfectly but I could not retrieve the lat, lon and month information. What changes do I need to make? Any link which can help me?
<div>Thank yo very much for your support.</div>
<div>Regards,</div>
<div>Amit<br>
<br>
<div id="cm_replymail_content_wrap">
<div class="cm_replymail_content_1432096416_wrapper" style="color: rgb(0, 0, 0);">
On Tue, May 19, 2015 at 6:48 PM, David Brown &lt;dbrown@ucar.edu&gt; wrote:<br>
<div id="cm_replymail_content_1432096416" style="overflow: visible;">
<blockquote style="color: #303B40;">Well as a matter of fact you can just subtract the two arrays. Note<br>
the way I do it means the time coordinate of the result has the values<br>
of the first array, but that is arbitrary:<br>
<br>
f1 = addfile(&quot;tasmin_Amon_MPI-ESM-LR_decadal1980_r1i1p1_198101-201012_USA.nc&quot;,&quot;r&quot;)<br>
f2 = addfile(&quot;tasmin_Amon_MPI-ESM-LR_rcp26_r1i1p1_201101-204012_USA.nc&quot;,&quot;r&quot;)<br>
tasmin1 = f1-&gt;tasmin<br>
tasmin2 = f2-&gt;tasmin<br>
;printVarSummary(tasmin1)<br>
;printVarSummary(tasmin2)<br>
printMinMax(tasmin1,0)<br>
printMinMax(tasmin2,0)<br>
tasmin_diff = tasmin1 ; propagate the attributes to the result --<br>
note some attributes may need editing after this.<br>
tasmin_diff = tasmin1 - tasmin2<br>
;printVarSummary(tasmin_diff)<br>
printMinMax(tasmin_diff,0)<br>
<br>
On Tue, May 19, 2015 at 3:00 PM, amit timilsina<br>
&lt;timilsinaamit87@huskers.unl.edu&gt; wrote:<br>
&gt; Hello all,<br>
&gt; I have two files which contains three dimensions; time, latitude and longitude. Latitude and longitude of both files are similar but time scale is different which are 1980 to 2010 in case of first file and 2011 to 2040 for second file. The variable here is
 minimum temperature (tasmin). I want to subtract tasmin value of one file with another. Is there easy way to use both the files at a time and get difference for tasmin value??<br>
&gt;<br>
&gt; I have attached two files as well.<br>
&gt;<br>
&gt;<br>
&gt; Regards,<br>
&gt; Amit<br>
&gt; _______________________________________________<br>
&gt; ncl-talk mailing list<br>
&gt; List instructions, subscriber options, unsubscribe:<br>
&gt; http://mailman.ucar.edu/mailman/listinfo/ncl-talk<br>
&gt;<br>
</blockquote>
</div>
</div>
</div>
</div>
</body>
</html>