Could one of you open an issue to track this discussion?<div><br></div><div>I think passing keyword arguments through DatasetSeries wouldn't be very hard.<span></span><br><br>On Thursday, March 3, 2016, Alex Hill <<a href="mailto:ashill@haverford.edu">ashill@haverford.edu</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Josh,<br>
<br>
Yeah, this is the serial kludge that I’m now using, which works for my purposes: <<a href="http://paste.yt-project.org/show/6289/" target="_blank">http://paste.yt-project.org/show/6289/</a>>. Sounds more or less like what you’re doing.<br>
<br>
I could help working on a proper implementation, but it’s probably not my first priority for yt-related development at the moment.<br>
<br>
Cheers,<br>
 Alex<br>
<br>
---------<br>
Alex Hill<br>
Senior Postdoctoral Research Associate<br>
Office: KINSC Link L106<br>
Department of Astronomy, Haverford College<br>
370 Lancaster Ave, Haverford, PA 19041 USA<br>
phone: +1 484 297 2136<br>
email/iMessage: <a href="javascript:;" onclick="_e(event, 'cvml', 'ashill@haverford.edu')">ashill@haverford.edu</a><br>
<br>
> On Mar 3, 2016, at 12:51, Joshua Wall <<a href="javascript:;" onclick="_e(event, 'cvml', 'joshua.e.wall@gmail.com')">joshua.e.wall@gmail.com</a>> wrote:<br>
><br>
> Dear Alex and Nathan,<br>
><br>
>      I am also interested in this functionality. Initially I did some poking around trying to see how hard it might be, and decided the same as Nathan (not simple). I ended up using glob on the plot and particle file sets and then zipping them and using python's pool to analyze my data in parallel. If that might be of some use to you Alex, I'd be happy to share the code. Also I'm happy to try to take another look at this (or even just provide some test data if needed) as far as trying to implement the functionality, even though my understanding of yt (and matplotlib) under the hood is rather shallow and it therefore might take me some time to sort it out.<br>
><br>
> Cordially,<br>
><br>
> Josh<br>
><br>
><br>
> On Thu, Mar 3, 2016 at 11:21 AM Nathan Goldbaum <<a href="javascript:;" onclick="_e(event, 'cvml', 'nathan12343@gmail.com')">nathan12343@gmail.com</a>> wrote:<br>
> Hi Alex,<br>
><br>
> Looking at the DatasetSeries code, I don't think there's an easy way to do this right now.<br>
><br>
> It would work if you could use the setup_function argument when you create the DatasetSeries, but I don't think there's a way to associate a particle filename with a dataset *after* it's been loaded.<br>
><br>
> I see two ways forward here:<br>
><br>
> 1. Make keyword arguments passed to the DatasetSeries initializer get passed to `load` when DatasetSeries invokes loads each individual dataset internally.<br>
><br>
> 2. Make it possible to associate a particle file with a FLASH dataset after the dataset has been loaded.<br>
><br>
> I think the first option would be more generally useful, but option 2 might be useful for some FLASH users as well.<br>
><br>
> Would you be interested in trying to get this to work? If not I can file an issue and try to get to it sometime soon...<br>
><br>
> -Nathan<br>
><br>
> On Thu, Mar 3, 2016 at 10:13 AM, Alex Hill <<a href="javascript:;" onclick="_e(event, 'cvml', 'ashill@haverford.edu')">ashill@haverford.edu</a>> wrote:<br>
> Hi,<br>
><br>
> I’d like to load particle files with a series of Flash files.<br>
><br>
> If loading a single file, I can do<br>
><br>
> d = yt.load(‘file_hdf5_plt_cnt_0100’, particle_filename=‘file_hdf5_part_0100’)<br>
><br>
> I’d like to do something like<br>
><br>
> ts = yt.DatasetSeries(‘file_hdf5_plt_cnt_0*0’, particle_filename=‘file_hdf5_part_0*0’)<br>
><br>
> or load the particle files after the fact while iterating through the time series. Is this possible?<br>
><br>
> Cheers,<br>
>  Alex<br>
><br>
> ---------<br>
> Alex Hill<br>
> Senior Postdoctoral Research Associate<br>
> Office: KINSC Link L106<br>
> Department of Astronomy, Haverford College<br>
> 370 Lancaster Ave, Haverford, PA 19041 USA<br>
> phone: +1 484 297 2136<br>
> email/iMessage: <a href="javascript:;" onclick="_e(event, 'cvml', 'ashill@haverford.edu')">ashill@haverford.edu</a><br>
><br>
><br>
> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="javascript:;" onclick="_e(event, 'cvml', 'yt-users@lists.spacepope.org')">yt-users@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
><br>
><br>
> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="javascript:;" onclick="_e(event, 'cvml', 'yt-users@lists.spacepope.org')">yt-users@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
> --<br>
> Joshua Wall<br>
> Doctoral Candidate<br>
> Department of Physics<br>
> Drexel University<br>
> 3141 Chestnut Street<br>
> Philadelphia, PA 19104<br>
> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="javascript:;" onclick="_e(event, 'cvml', 'yt-users@lists.spacepope.org')">yt-users@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br>
</blockquote></div>