Does yt still support pluto?
Dear Andrew Myers and yt users, Q1. Given a HDF5 data that is dumped by **PLUTO**, how do I check whether this data is in chombo format or not? In my humble opinion: Run the following script. If the string 'chombo' is shown on screen, then this HDF5 data is in chombo format. Am I right? ------------------------------------------------ import yt ds=yt.load("data.0000.hdf5") print (ds['HydroMethod']) ------------------------------------------------ Q2. If the above question is positive, why do I always get white noise in slice plot after execution the following script? ------------------------------------------------ import yt ds = yt.load("data.0001.hdf5") yt.SlicePlot(ds, 'z', 'density', center='c').save() ------------------------------------------------ thanks a lot.
Are you able to access the field data, e.g. via ds.all_data()? Are the
data accessed that way sensible given what you know about the data?
It might help to share a data file that you think yt is interpreting wrong
so that others can look and possibly debug.
On Sun, Nov 17, 2019 at 1:09 AM Tseng, Po-Hsun
Dear Andrew Myers and yt users,
Q1. Given a HDF5 data that is dumped by **PLUTO**, how do I check whether this data is in chombo format or not? In my humble opinion: Run the following script. If the string 'chombo' is shown on screen, then this HDF5 data is in chombo format. Am I right? ------------------------------------------------ import yt ds=yt.load("data.0000.hdf5") print (ds['HydroMethod']) ------------------------------------------------ Q2. If the above question is positive, why do I always get white noise in slice plot after execution the following script? ------------------------------------------------ import yt ds = yt.load("data.0001.hdf5") yt.SlicePlot(ds, 'z', 'density', center='c').save() ------------------------------------------------ thanks a lot. _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
participants (2)
-
Nathan
-
Tseng, Po-Hsun