[yt-dev] Issue #937: to_pw silently drops some fields (yt_analysis/yt)

Matthew Turk matthewturk at gmail.com
Fri Nov 7 10:56:16 PST 2014


Yes, this is frustrating, and I have been bitten by it.

On Fri Nov 07 2014 at 12:54:32 PM Douglas Rudd <issues-reply at bitbucket.org>
wrote:

> New issue 937: to_pw silently drops some fields
> https://bitbucket.org/yt_analysis/yt/issue/937/to_pw-
> silently-drops-some-fields
>
> Douglas Rudd:
>
> to_pw silently drops fields from frb._exclude_fields and _key_fields
> without notifying the user.
>
> ```
> #!python
>
> >> ds = yt.load("outputs/sedov_000960.art")
> >> fields = ["density","temperature","dx"]
> >> plot = ds.slice(2, ds.domain_center[2]).to_pw(fields)
> >> print plot.fields
> ['density', 'temperature']
> ```
>
> In this case ('index', 'dx') is in both exclusion lists. Any reason I
> can't plot a slice of my resolution?
>
>
> _______________________________________________
> yt-dev mailing list
> yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20141107/4aa2405e/attachment.htm>


More information about the yt-dev mailing list