Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cheetah hardcodes timezone #17

Open
FilipeMaia opened this issue Feb 10, 2015 · 3 comments
Open

Cheetah hardcodes timezone #17

FilipeMaia opened this issue Feb 10, 2015 · 3 comments

Comments

@FilipeMaia
Copy link
Collaborator

Cheetah hardcodes the timezone to US/Pacific. This can potentially cause problems when processing data from SACLA or other places.

@antonbarty
Copy link
Owner

Yes, this is old history. We needed it at the time to make the timestamps match the log book (and not spit out Europe time)

We don’t want the user to have to configure everything from scratch, even though that’s the most flexible.
One way to solve this is to have a few standard setups: for example, experiment location = LCLS/CXI sets by default the cspad, and US/Pacific timezone etc. experiment location = SACLA would set other parameters.

A.

On 10 Feb 2015, at 10:19, Filipe Maia [email protected] wrote:

Cheetah hardcodes the timezone to US/Pacific. This can potentially cause problems when processing data from SACLA or other places.


Reply to this email directly or view it on GitHub https://github.com/antonbarty/cheetah/issues/17.

@FilipeMaia
Copy link
Collaborator Author

A solution that might work automagically is to hardcode the timezone in the light source specific code part (cheetah_ana_mod and cheetah-sacla).

@antonbarty
Copy link
Owner

Yes, that would work. CXI is unlikely to suddenly appear in Japan or Germany.

Anton

Anton Barty
Centre for Free Electron Laser Science
+49 (0)170 639 0539

On 10 Feb 2015, at 11:25 am, Filipe Maia [email protected] wrote:

A solution that might work automagically is to hardcode the timezone in the light source specific code part (cheetah_ana_mod and cheetah-sacla).


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants