[yt-dev] TimeSeries Objects

Nathan Goldbaum nathan12343 at gmail.com
Fri Jul 11 18:59:11 PDT 2014


See here:
https://bitbucket.org/yt_analysis/yt/issue/403/load-should-fall-back-to-loading-a-time

This has been in 2.x for a while.


On Fri, Jul 11, 2014 at 6:00 PM, Cameron Hummels <chummels at gmail.com> wrote:

> Hey everyone,
>
> I just discovered by accident that one can now generate a TimeSeries
> DatasetSeries object with the load() command in yt-3.0.
>
> import yt
> time_series = yt.load('DD????/DD????')
> for ds in time_series:
>    print ds.current_time
>
> I don't know when this functionality was created or by whom, but it's
> great and simplifies the timeseries analysis steps.  Does it work for all
> frontends?
>
> I'm happy to update the timeseries documentation with this information,
> but I wanted to make sure it worked with all frontends, and see if there
> were any other new tricks that were added when this functionality was added
> .so we don't have to iterate too much on the docs update.  Since I didn't
> write this functionality, I don't know what else was done and it doesn't
> look like it was written down in the docs.
>
> Cameron
>
> --
> Cameron Hummels
> Postdoctoral Researcher
> Steward Observatory
> University of Arizona
> http://chummels.org
>
> _______________________________________________
> yt-dev mailing list
> yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20140711/8c0b3f82/attachment.html>


More information about the yt-dev mailing list