#886 closed defect (fixed)
Data change to HalfHourly dating seems to fail — at Version 3
| Reported by: | Alfredo Torre | Owned by: | Víctor de Buen Remiro |
|---|---|---|---|
| Priority: | highest | Milestone: | Mantainance |
| Component: | TimeAlgebra | Version: | 2.0.1 |
| Severity: | blocker | Keywords: | DatCh, Series, HalfHourly, Hour, Minute |
| Cc: | cperez@…, jconde@… |
Description (last modified by )
Hi,
please try to run this TOL Code. The series for hour 0 minute 0 works fine but for hour 0 minute 30 does not. Actually, none of any series for 30 minutes works.
TimeSet HalfHourly = Mi(0)+Mi(30);
Serie Gauss_HH = SubSer(Gaussian(1000, 10, HalfHourly), y2009, y2010);
Serie Gauss_HH_0000 = DatCh(CalInd(H(0)*Mi(0), HalfHourly) * Gauss_MH, Diario, SumS);
Serie Gauss_GH_0030 = DatCh(CalInd(H(0)*Mi(30), HalfHourly) * Gauss_MH, Diario, SumS);
Serie Gauss_GH_0130 = DatCh(CalInd(H(1)*Mi(30), HalfHourly) * Gauss_MH, Diario, SumS);
¿Am I doing something wrong?
Change History (3)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Please accept my apologies. The next sentence works fine:
CalInd(Range(H(0), 0, 59, S(0)) * Mi(30), HalfHourly);
comment:3 Changed 16 years ago by
| Description: | modified (diff) |
|---|
Sorry, I could not see the problem in time.
I see you've already seen the confusion.

What realy seems to fail is CalInd(H(0)*Mi(30), HalfHourly)