<html>
<body>
you could:
<br>
* avoid spitting: a single dataset. After 120hr you will have valid
<br>
data, undef, valid data, and so on, but it should work
<br>
* split the dataset replicating the last record of first dataset
<br>
(120hr) into the second one, it should work
<br>
<br>
Hoping it could help
<br>
bye bye
<br>
Davide
<br>
<br>
On Tue, 2020-02-11 at 10:37 +1000, Mike Manning wrote:
<br>
<font color="#000000">> Hi all,
</font><br>
<font color="#000000">>
</font><br>
<font color="#000000">> I’m after some advice please on the best way of templating data that
</font><br>
<font color="#000000">> has 2 time series – I have surface data that is 0-120hr in 3 hourly
</font><br>
<font color="#000000">> increments, then from 126-240h in 6 hourly increments. The filename
</font><br>
<font color="#000000">> is called surfacedata.grb2.f000 to surfacedata.grb2.f240.
</font><br>
<font color="#000000">> At the moment the only way I can think is to template the first 0-
</font><br>
<font color="#000000">> 120hrs using surfacedata.grb2.f%f3 for the 3 hour intervals and then
</font><br>
<font color="#000000">> 126-240hrs also using surfacedata.grb2.f%f3 for 6 hour intervals.
</font><br>
<font color="#000000">> The issue that I have is with accumulated precip – it’s a running
</font><br>
<font color="#000000">> total where I need to subtract APCPsfc(t=3)-APCPsfc(t=2) for example
</font><br>
<font color="#000000">> to get a value – this works fine if you’re within 0-120 or 132-240hrs
</font><br>
<font color="#000000">> but when I go to hour 126 (start of 2nd set of data for 6 hourly
</font><br>
<font color="#000000">> intervals), I’d need to subtract hour 120 which is in the first data
</font><br>
<font color="#000000">> set.
</font><br>
<font color="#000000">>
</font><br>
<font color="#000000">> Cheers, Mike
</font><br>
<font color="#000000">>
</font><br>
<font color="#000000">> _______________________________________________
</font><br>
<font color="#000000">> gradsusr mailing list
</font><br>
<font color="#000000">> <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
</font><br>
<font color="#000000">> <a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</font><br>
<br>
<BR />
<BR />
<font face="Arial" color="#ff0000"><span style="font-size: 12px;">Attenzione ARPAL ha cambiato indirizzi digitali, i nuovi indirizzi di e-mail sono composti dall'attuale nome.cognome seguito da @arpal.liguria.it, quindi </span><b style>nome.cognome@arpal.liguria.it</b></font><BR />
</body>
</html>