Hi YT, I have an enormous Enzo file that I want to volume render. It takes way too long to render it at full resolution. I have extracted a covering grid and dumped the raw data to a file. Then I read that data into another rendering engine (Boo) and rendered it. What I want to do is volume render the covering grid. I generate the covering grid like this: max_level=1 lowerleft = [0.,0.,0.] datasetname = "/work/01197/semeraro/Cooldata" ds = yt.load(datasetname) cg = ds.covering_grid(max_level,lowerleft,ds.domain_dimensions*2**max_level) Then I try to do something like this: min,max = cg.quantities.extrema('Density') and I get a stack trace ending in File "/work/01197/semeraro/maverick/yt-x86_64/src/yt-hg/yt/data_objects/data_containers.py", line 578, in selector raise YTDataSelectorNotImplemented(self._type_name) yt.utilities.exceptions.YTDataSelectorNotImplemented: Data selector 'covering_grid' not implemented. Obviously I cant do that. So what am I doing wrong here? Thanks, Dave Oh and I am making a movie for SC15 and if I get this figured out it will run in the TACC booth.
On Tue, Nov 10, 2015 at 4:16 PM, Dave Semeraro
Hi YT,
I have an enormous Enzo file that I want to volume render. It takes way too long to render it at full resolution. I have extracted a covering grid and dumped the raw data to a file. Then I read that data into another rendering engine (Boo) and rendered it.
You could also do this in yt by reloading the data using load_uniform_grid or by volume rendering a subvolume.
What I want to do is volume render the covering grid. I generate the covering grid like this:
max_level=1
lowerleft = [0.,0.,0.]
datasetname = "/work/01197/semeraro/Cooldata"
ds = yt.load(datasetname)
cg = ds.covering_grid(max_level,lowerleft,ds.domain_dimensions*2**max_level)
Then I try to do something like this:
min,max = cg.quantities.extrema(‘Density’)
and I get a stack trace ending in
File "/work/01197/semeraro/maverick/yt-x86_64/src/yt-hg/yt/data_objects/data_containers.py", line 578, in selector
raise YTDataSelectorNotImplemented(self._type_name)
yt.utilities.exceptions.YTDataSelectorNotImplemented: Data selector 'covering_grid' not implemented.
Can you just do cg['Density'].min(), cg['Density'].max()? covering_grid is a construction data container compared to a selection data container, so I think it's actually an inconsistency in the yt data object API that we're exposing the derived quantities like this.
Obviously I cant do that. So what am I doing wrong here?
Thanks, Dave
Oh and I am making a movie for SC15 and if I get this figured out it will run in the TACC booth.
Cool, I will be there as well. I'll have to check it out :)
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
On Tue, Nov 10, 2015 at 5:16 PM, Nathan Goldbaum
On Tue, Nov 10, 2015 at 4:16 PM, Dave Semeraro
wrote: Hi YT,
I have an enormous Enzo file that I want to volume render. It takes way too long to render it at full resolution. I have extracted a covering grid and dumped the raw data to a file. Then I read that data into another rendering engine (Boo) and rendered it.
You could also do this in yt by reloading the data using load_uniform_grid or by volume rendering a subvolume.
And I should also point out that yt's volume renderer can be both OpenMP and MPI-parallelized and has been used to volume render really huge simulations in the past.
What I want to do is volume render the covering grid. I generate the covering grid like this:
max_level=1
lowerleft = [0.,0.,0.]
datasetname = "/work/01197/semeraro/Cooldata"
ds = yt.load(datasetname)
cg = ds.covering_grid(max_level,lowerleft,ds.domain_dimensions*2**max_level)
Then I try to do something like this:
min,max = cg.quantities.extrema(‘Density’)
and I get a stack trace ending in
File "/work/01197/semeraro/maverick/yt-x86_64/src/yt-hg/yt/data_objects/data_containers.py", line 578, in selector
raise YTDataSelectorNotImplemented(self._type_name)
yt.utilities.exceptions.YTDataSelectorNotImplemented: Data selector 'covering_grid' not implemented.
Can you just do cg['Density'].min(), cg['Density'].max()? covering_grid is a construction data container compared to a selection data container, so I think it's actually an inconsistency in the yt data object API that we're exposing the derived quantities like this.
Obviously I cant do that. So what am I doing wrong here?
Thanks, Dave
Oh and I am making a movie for SC15 and if I get this figured out it will run in the TACC booth.
Cool, I will be there as well. I'll have to check it out :)
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (2)
-
Dave Semeraro
-
Nathan Goldbaum