Thanks for this! Either method of doing this is fine with me. Though I just tried pulling your PR and installing with the usual `pip install -e .` and got an immediate error:
ValueError: 'yt_astro_analysis/halo_finding/rockstar/rockstar_interface.pyx' doesn't match any files
If there isn't a quick fix for this then I'll ping you on slack (direct message or in one of the channels?)
Best, Andrew --- Pasadena Fellow in Theoretical Astrophysics Carnegie Observatories California Institute of Technology
On Mon, Jul 6, 2020 at 9:37 PM Britton Smith email@example.com wrote:
Currently, running Rockstar through the HaloCatalog interface doesn't support analyzing the whole simulation as a time series, which is what you need for it to increment the output number. This is also what you'll need if you want to make merger trees. The way to do this is by calling the RockstarHaloFinder directly. I can share a script to do that. However, I have an open PR to yt_astro_analysis that enables just what you're looking for. It works fine, but is just missing tests and docs. If you'd like to try it, it's here: https://github.com/yt-project/yt_astro_analysis/pull/62 If you're interested, I can share scripts on the slack channel.
On Tue, Jul 7, 2020 at 3:48 AM Andrew Emerick firstname.lastname@example.org wrote:
I'm just getting into running halo finders (namely rockstar) using yt's astro analysis package and cannot figure out how to have it such that each successive run on of rockstar does not overwrite previous runs.
I've been following the "Running Rockstar to Find Halos on Multi-Resolution-Particle Datasets" and both the HaloCatalog.create() and the RockstarHaloFinder.run() methods seem to overwrite everything in the output directory. One obvious fix here is to just have a different output directory for each dataset, but I had thought the indexes in the rockstar output files (e.g. "halos_0.0.ascii") and the list in "datasets.txt" were there to have the results from multiple datasets housed in the same directory.
And I didn't see any obvious parameters I could pass either of the above functions to specify a desired output index.
Is this possible? Or should I just write to separate folders for each dataset?
Pasadena Fellow in Theoretical Astrophysics Carnegie Observatories California Institute of Technology _______________________________________________ yt-users mailing list -- email@example.com To unsubscribe send an email to firstname.lastname@example.org https://mail.python.org/mailman3/lists/yt-users.python.org/ Member address: email@example.com
yt-users mailing list -- firstname.lastname@example.org To unsubscribe send an email to email@example.com https://mail.python.org/mailman3/lists/yt-users.python.org/ Member address: firstname.lastname@example.org