Donate Share

OpenForecast

Tracker: Patches

1 Not possible to set Timezone - ID: 1437121
Last Update: Comment added ( sf-robot )

If you choose to forecast on a hourly basis, and you
DataSet runs over a "daylight saving time switch"
(dst), there will be two DataPoints in the set that are
not aequidistant, if you use Hour.class. At least this
happens if you live in a TZ hat has dst ....

My solutuion was -let's call it a workaround- to create
a timezone without dst and added setters on several
parts of openforcecast (May you could switch the
default TZ too, but this might break other things in
your software).

The TZ looks like this:
SimpleTimeZone utcTz = new SimpleTimeZone(0, "nodst");

I am not able to provide a clean patch because I
modified openforecast heaily and don't want you to
confront woth a monster-patch ar the time .....

rgds,
Andreas

P.S. Stay tuned, I added arbitraty lags to the model
and I am working on ln()-ized vars, as well as I have
R^2 value patched in already .....


Andreas John ( derjohn ) - 2006-02-23 00:59

1

Closed

Later

Nobody/Anonymous

None

None

Public


Comments ( 2 )




Date: 2007-03-03 03:20
Sender: sf-robotSourceForge.net Site Admin


This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).


Date: 2007-02-16 21:22
Sender: sgouldProject Admin


Since no patch has been forthcoming, I'm marking this as Pending with a
resolution of Later.


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 6 )

Field Old Value Date By
status_id Pending 2007-03-03 03:20 sf-robot
close_date 2007-02-16 21:22 2007-03-03 03:20 sf-robot
status_id Open 2007-02-16 21:22 sgould
resolution_id None 2007-02-16 21:22 sgould
priority 5 2007-02-16 21:22 sgould
close_date - 2007-02-16 21:22 sgould