-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Expose ability to have time-dependent layers #175
Comments
@astrojonathan showed me that the code to do this lives here: https://github.com/WorldWideTelescope/wwt-web-client/blob/master/HTML5SDK/wwtlib/Layers/SpreadSheetLayer.cs Specifically, we can edit |
I'm finding that these settings are trapped by scope inside objects in the |
No these are settable at run-time, and in fact the web client binds to the active layer and sets these thru UI, so You can do the same. |
So when working through the SDK, I should be able to do something like |
No. You set_timeSeries = true; The "begin" and "end" ranges are internally computed from your data. |
I'm not sure why it's not working so simply for me. The only editable attributes I get from From what I see in the |
@ojustino Can you get your sample Python code in #187 to work in a Jupyter notebook? As far as I can tell, the fundamental issue is how WebKit's JavaScript There might also be issues with timezones; depending on how dates are constructed, they may be interpreted as UTC or as the local timezone. When testing with WebKit I had to express the times as being in my local time zone, Finally, I also found that if I was running code as a block, I had to set the current time before calling |
@pkgw I'm still not having success running the code in (Using My sample code does not work as intended in Qt. The points disappear once times are assigned to them and they don't reappear after turning `pywwt``s clock backward. We'll have to be careful about supporting both the Qt and Jupyter versions with regard to your findings on |
@ojustino I find that if the viewer isn't showing up, it's almost always an issue with one or more of the extensions that need to be registered with the Jupyter system. Whenever this happens I try to flesh out the docs a bit more; here's a proposed update to the installation docs with some changes based on my most recent struggles: link. |
Closed in #187. |
Layers have the ability to define time-dependent markers, so we should expose that functionality in the layer API.
The text was updated successfully, but these errors were encountered: