[yt-dev] TimeSeries Objects

Cameron Hummels chummels at gmail.com
Sat Jul 12 00:38:34 PDT 2014


This is great--I just don't know why it was never documented.  But I'll try
to correct that.  Thank you, Nathan.


On Fri, Jul 11, 2014 at 6:59 PM, Nathan Goldbaum <nathan12343 at gmail.com>
wrote:

> 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
>>
>>
>
> _______________________________________________
> yt-dev mailing list
> yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>
>


-- 
Cameron Hummels
Postdoctoral Researcher
Steward Observatory
University of Arizona
http://chummels.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20140712/503848bc/attachment.html>


More information about the yt-dev mailing list