ERAGE -r 900 -s -1h</pre>
<p>However, this will almost always result in a time series that is
<strong>NOT</strong> in the 15 minute RRA. Therefore, the highest resolution RRA,
i.e. 5 minute averages, will be chosen which in this case is not
what you want.</p>
<p>Hence, make sure that</p>
<ol>
<li>
<p>both start and end time are a multiple of 900</p>
</li>
<li>
<p>both start and end time are within the desired RRA</p>
</li>
</ol>
<p>So, if time now is called &quot;t&quot;, do</p>
<pre>
 end time == int(t/900