Hello,
I tried to install yt from the install script on Ubuntu. I changed a couple
of things in the script:
INST_YT_SOURCE = 1
INST_SCIPY = 1
INST_ASTROPY = 1
Everything installed successfully until the message "Building yt from
source", where an error occurred, copied below:
*Installing sympyInstalling netcdf4Building yt from sourceSetting
YT_DIR=/home/rabatinb/yt-conda/src/yt-git********************************************
FAILURE
REPORT:***************************…
[View More]*****************EXECUTING:
/home/rabatinb/yt-conda/bin/git -C /home/rabatinb/yt-conda/src/yt-git
checkout mainAlready on 'main'Your branch is up to date with
'origin/main'.Traceback (most recent call last): File
"/home/rabatinb/yt-conda/src/yt-git/setup.py", line 8, in <module> from
setupext import ( File "/home/rabatinb/yt-conda/src/yt-git/setupext.py",
line 16, in <module> import ewah_bool_utilsModuleNotFoundError: No
module named
'ewah_bool_utils'****************************************************************************************Failure.
Check /home/rabatinb/yt-conda/yt_install.log. The last 10 lines are above.*
What could be the issue and how can I fix this?
Thank you,
Branislav Rabatin.
[View Less]
Hey guys, I'm new to YT and I wanted to download it so I can analyze data and make images from the FIRE simulator, but its not downloading for some reason. Its saying I need something called a git I do not know what that is. Someone pls help me!
Hi all,
I encountered the 'RuntimeError' when use yt.ProjectionPlot like below:
Traceback (most recent call last):
File "/scratch/data/hnguyen/gas/gas/lss_pro.py", line 3, in <module>
p = yt.ProjectionPlot(gas, 'z', ('gas', 'density'),data_source = gas.all_data(),buff_size=(100, 100))
File "/tiara/home/hnguyen/.local/miniconda3/lib/python3.9/site-packages/yt/visualization/plot_window.py", line 2069, in __init__
proj = ds.proj(
File "/tiara/home/hnguyen/.local/miniconda3/…
[View More]lib/python3.9/site-packages/yt/data_objects/construction_data_containers.py", line 551, in __init__
self.get_data(field)
File "/tiara/home/hnguyen/.local/miniconda3/lib/python3.9/site-packages/yt/data_objects/construction_data_containers.py", line 283, in get_data
self._handle_chunk(chunk, fields + sfields, tree)
File "/tiara/home/hnguyen/.local/miniconda3/lib/python3.9/site-packages/yt/data_objects/construction_data_containers.py", line 638, in _handle_chunk
ilevel = chunk.ires * self.ds.ires_factor
File "/tiara/home/hnguyen/.local/miniconda3/lib/python3.9/site-packages/yt/data_objects/static_output.py", line 1266, in ires_factor
raise RuntimeError
RuntimeError
But when I use yt.SlicePlot, my code works. Is there any idea to solve this problem? I really need ProjectionPlot for my visualization.
Thank you.
Best regards,
Huy
[View Less]
Hello
I am new about YT. I want to use YT to make some analysis and get some projection plots.
The data that will be used is from Arepo code. The output files are same as Gadget that the format of them is HDF5.
I have used YT to produce the stellar particles projection plots using yt.ParticleProjectionPlot().
However, I found that if I use yt.ParticleProjectionPlot(), I cannot use contour .
(error information:yt.utilities.exceptions.YTUnsupportedPlotCallback: The `Particle` class currently …
[View More]doesn't support the `annotate_contour` method.)
So, I want to learn how to add the contour if I just want to plot the N-body partciles.
Additionally, in my simulation, my galaxy model is not aligned with the descartes system.In other words, the disc of the galaxy is not parallel to any plane of the coordinate system.I found I can set the normal vector L as showed in examples,but how I could know the real normal vector if I want to make the face-on galaxy plot?
Thank everyone very much for answering my questions !And I will be sorry if I miss the important imformation which is showed in YT home website.Please tell me!
[View Less]