Thanks Matt. Not sure where in the docs something like that might go, but if it's in there, I completely missed it. Jon On Fri, Dec 8, 2017 at 2:10 PM, <yt-users-request@lists.spacepope.org> wrote:
Date: Fri, 8 Dec 2017 09:14:01 -0600 From: Matthew Turk <matthewturk@gmail.com> To: Discussion of the yt analysis package <yt-users@lists.spacepope.org> Subject: Re: [yt-users] getting real scalar value Message-ID: <CALO3=5HZT53jPgJeFYxhp-0FNU4gTaZo66sp9tqdZyzmkkMAAA@ mail.gmail.com> Content-Type: text/plain; charset="utf-8"
Hi Jon,
You can see all of these in under ds.parameters, which is populated from all the non-field values.
-Matt
On Fri, Dec 8, 2017 at 9:08 AM, Slavin, Jonathan <jslavin@cfa.harvard.edu> wrote:
Hi,
I would like to get the value of the timestep from my FLASH data read in by yt. In HDFView I can see the value of 'dt' under 'real scalars'. Using yt to read in the data, though I don't see any way to access it, if it is contained in the ds. The field list just shows the grid variables. I can get the absolute time via ds.current_time. There are a number of different items at the top level in HDFView, e.g. bflags, block size, sim info, that are not available, as far as I can tell, from the ds object. Am I missing something? Is there any way to get yt to read in specific variables like dr (under "real scalars")?
Thanks, Jon
It would probably be worth adding a mention about this to this section: http://yt-project.org/doc/examining/loading_data.html#flash-data If you don’t want to take that on please feel free to file an issue about it so we don’t forget. On Fri, Dec 8, 2017 at 1:38 PM Slavin, Jonathan <jslavin@cfa.harvard.edu> wrote:
Thanks Matt. Not sure where in the docs something like that might go, but if it's in there, I completely missed it.
Jon
On Fri, Dec 8, 2017 at 2:10 PM, <yt-users-request@lists.spacepope.org> wrote:
Date: Fri, 8 Dec 2017 09:14:01 -0600 From: Matthew Turk <matthewturk@gmail.com> To: Discussion of the yt analysis package <yt-users@lists.spacepope.org> Subject: Re: [yt-users] getting real scalar value Message-ID: <CALO3= 5HZT53jPgJeFYxhp-0FNU4gTaZo66sp9tqdZyzmkkMAAA@mail.gmail.com> Content-Type: text/plain; charset="utf-8"
Hi Jon,
You can see all of these in under ds.parameters, which is populated from all the non-field values.
-Matt
On Fri, Dec 8, 2017 at 9:08 AM, Slavin, Jonathan <jslavin@cfa.harvard.edu
wrote:
Hi,
I would like to get the value of the timestep from my FLASH data read in by yt. In HDFView I can see the value of 'dt' under 'real scalars'. Using yt to read in the data, though I don't see any way to access it, if it is contained in the ds. The field list just shows the grid variables. I can get the absolute time via ds.current_time. There are a number of different items at the top level in HDFView, e.g. bflags, block size, sim info, that are not available, as far as I can tell, from the ds object. Am I missing something? Is there any way to get yt to read in specific variables like dr (under "real scalars")?
Thanks, Jon
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (2)
-
Nathan Goldbaum
-
Slavin, Jonathan