[yt-users] read user defined scalar in FLASH dataset

Suoqing Ji suoqing at physics.ucsb.edu
Sun May 21 21:43:39 PDT 2017


Thank you Nathan! The parameter does not seem to be loaded in yt, but the script with h5py works.

Best wishes,
—
Suoqing Ji
Ph.D Candidate
Department of Physics
University of California, Santa Barbara
http://physics.ucsb.edu/~suoqing

On May 21, 2017, 8:25 PM -0700, Nathan Goldbaum <nathan12343 at gmail.com>, wrote:
> Hey Suoqing,
>
> I don't have an easy way to check, but you might be able to find what you're looking for in the ds.parameters dict.
>
> Failing that, you can always use h5py to read in the data you're looking for directly from the hdf5 file:
>
> http://paste.yt-project.org/show/7154/
>
>
>
> > On Sun, May 21, 2017 at 9:58 PM, Suoqing Ji <suoqing at physics.ucsb.edu> wrote:
> > > Hi,
> > >
> > > Is it possible to use yt to read some user-defined scalar in FLASH dataset? Here is the way I adopted to output scalar into FLASH data: http://flash.uchicago.edu/site/flashcode/user_support/flash4_ug_4p4/node69.html
> > >
> > > Thanks!
> > >
> > > Best wishes,
> > > —
> > > Suoqing Ji
> > > Ph.D Candidate
> > > Department of Physics
> > > University of California, Santa Barbara
> > > http://physics.ucsb.edu/~suoqing
> > >
> > >
> > > _______________________________________________
> > > yt-users mailing list
> > > yt-users at lists.spacepope.org
> > > http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> > >
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20170521/a0e0b99e/attachment.html>


More information about the yt-users mailing list