senx/warp10-platform

BUCKETIZE.CALENDAR, or UNBUCKETIZE.CALENDAR with last bucket in the future

Closed this issue · 1 comments

pi-r-p commented

When the last bucket is in the future, all the data are shifted in the future


[] '60VAR5xZAaKYRmtfSqVQ.cV3NLGZRV3p06KiPMF0KlN.4V.Q.NV5RqKmPL4g0I7kB2Rt.5XA06F.0W0F56vBP2zKUdqdPp6S49PfX9qK.nzMflMYY_hi472Jp9g0EsJ2lkJZXs.JXA2Pde.1ExZ6M5DvIIFJc9nKmzZ1ExUmk4vJdL.Jij9GjdB2ExT5LbEW.mVJdgz.tt.2ExTjXJPO0SVJlfQpW8B2ExVD5vqxYRVJseHlVjJ1EsUsdC2ke..JucDLzVZzqO2x65SIZ0HFfeatx.7zq2gULl1uk0HTexQzckBzpQnFaGUFV0HNntbnf.BzpEKnzb.aF0IHlweRo.Bzp6ucXa79F0HwZzmMhkBzpXYIdzPV.0IgsS2NekBzpB4TtKqBo0IqXhunfkBzpXzhNHc8o0HufcTDY.BzXvfnmOSF.0Iudwvo1IzO.8cn8jRk4EvAfU12.nzMrE2EqCHF4Ee8buvz.YzOulIt1T0V49Hmrhvj.IzOYcd_m_pV4EnNXtbp.YzSACpLdQXV4DQxkxAI.YzMespLU2OV4894kg1O.nzJvVtirpk.4EYKff2z.nzJxMrhM9V.4CApYim202zIpXTJfcnV48AWWjvy.nzKyTJ20s5.47e_sRHS.nz4IeILzFO.4DQyiDo5Ex1A5FP6DP.JqibIlwB2ExZ8Hthpwi.Jnhf0gcZ2ExOMeCMA6e.JrDI7yAw2ExQKD9r0d1.JbiYVyQ32ExWP7CRprD.JbDu1aDo1ExSx9PGV1L.LGV.' UNWRAP +! '60VBR5xZAaW_NMFiPrSc5k97054ZO670CFGpQa_o.KRL.0N.5k570bC_Ra_WQ.JmB2.rDF0cXkGo..NFIwyrQAczJzjQY5YRrWI5ovaw_VBz_YwzSAdak0Hwkgi11IyX.ybszRJV47mipvTM.YyWI8hsF1_.4E2KvSvt.YyRs56ZhF7.4DuyzQ1I.ny6yQsdsN3.49vIkUHF.nyVhJaQzUU.4APXuj5H.nyKW71JfC1.4EeUsB6x.YyMylsgTBk.47vLXsw0Et45a9ol87.JXfmwyzF1Et0OyvqXeV.Jac6tleB2Es.NLRBmM..Js8UvYuo2EsaPi.a6Ok.JnCP.VC.2EsL10dz3r..JyjmbjQR2EtJjydWjiV.Jj9bNePg2EsIquaP7U..JXDryv9w2EsZvEe4Ex..JZCHpnOF2EtlsWCbziF.Jk7Y5WF3zW7UW.q0Z.0IuhwHLW.BzbRNYRoxe.0HZuxyrzk7zaGX7qGtj.0IFbiYlvk3zmf8E8PyZF0I3rEnmx.7z_1rUWE6x.0Is_vTzok7zWCAcI1GR.0IseiHwaFBzThEt23QF.0IP_fmMzkBzZ8JBaebs.0ITtgvaVVFzZg0gefFV.0H9aivIzkBzW3kzQpRo.0IRehXNckBzVrRZ38F3.0IFy7a.0IyROTBnINV.4DHrghE..nyVYbiV5Qg.4A9KqQ98.nyN2225v6k.4811rs6..nyFMR87sl..4CPHrEal.nyCvsZI5SV.4BnWh8Yh.Yy.wkeyWLV.4ZN.' UNWRAP +! 
DUP
[ SWAP  bucketizer.sum [ 2024 03 18 ] TSELEMENTS-> 'P1D' 2000  ] BUCKETIZE.CALENDAR
UNBUCKETIZE.CALENDAR  
'+.perday' RENAME


This is a bug in UNBUCKETIZE.CALENDAR. It happens when the last bucket is empty.