<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Okay, that makes sense. The override_field attribute looks like an attempt to mark those always-fields as ones that the user really requested, but not fully utilized.
<div class=""><br class="">
<div apple-content-edited="true" class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">
<div class="">Douglas Rudd</div>
<div class="">Scientific Computing Consultant<br class="">
Research Computing Center<br class="">
</div>
<div class=""><a href="mailto:drudd@uchicago.edu" class="">drudd@uchicago.edu</a></div>
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Nov 7, 2014, at 1:12 PM, Matthew Turk <<a href="mailto:matthewturk@gmail.com" class="">matthewturk@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">Yes, the simple explanation is that fields get added when used in the underlying data source.  These fields are used always, when making the image.  So without excluding them, they would always be saved to disk.<br class="">
<br class="">
<div class="gmail_quote">On Fri Nov 07 2014 at 1:11:29 PM Douglas Harvey Rudd <<a href="mailto:drudd@uchicago.edu" class="">drudd@uchicago.edu</a>> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word" class="">Is there a simple explanation for why they can’t be treated as normal fields and what that refactoring would look like?
<div class=""><br class="">
</div>
<div class="">SlicePlot suffers from the same issue for the same reason (it’s getting dropped at the PlotWindow stage).</div>
<div class=""><br class="">
<div class="">
<div style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">
<div class="">Douglas Rudd</div>
<div class="">Scientific Computing Consultant<br class="">
Research Computing Center<br class="">
</div>
<div class=""><a href="mailto:drudd@uchicago.edu" target="_blank" class="">drudd@uchicago.edu</a></div>
</div>
<br class="">
<br class="">
</div>
</div>
</div>
<div style="word-wrap:break-word" class="">
<div class=""><br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On Nov 7, 2014, at 12:58 PM, Nathan Goldbaum <<a href="mailto:nathan12343@gmail.com" target="_blank" class="">nathan12343@gmail.com</a>> wrote:</div>
<br class="">
<div class="">This is due to implementation details in the PlotWindow class. It would take some refactoring to allow plotting these fields. Patches welcome :)<br class="">
<div class="gmail_quote">On Fri, Nov 7, 2014 at 10:56 AM Matthew Turk <<a href="mailto:matthewturk@gmail.com" target="_blank" class="">matthewturk@gmail.com</a>> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Yes, this is frustrating, and I have been bitten by it.<br class="">
<br class="">
<div class="gmail_quote">On Fri Nov 07 2014 at 12:54:32 PM Douglas Rudd <<a href="mailto:issues-reply@bitbucket.org" target="_blank" class="">issues-reply@bitbucket.org</a>> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
New issue 937: to_pw silently drops some fields<br class="">
<a href="https://bitbucket.org/yt_analysis/yt/issue/937/to_pw-silently-drops-some-fields" target="_blank" class="">https://bitbucket.org/yt_<u class=""></u>analysis/yt/issue/937/to_pw-<u class=""></u>silently-drops-some-fields</a><br class="">
<br class="">
Douglas Rudd:<br class="">
<br class="">
to_pw silently drops fields from frb._exclude_fields and _key_fields without notifying the user.<br class="">
<br class="">
```<br class="">
#!python<br class="">
<br class="">
>> ds = yt.load("outputs/sedov_000960.<u class=""></u>art")<br class="">
>> fields = ["density","temperature","dx"]<br class="">
>> plot = ds.slice(2, ds.domain_center[2]).to_pw(<u class=""></u>fields)<br class="">
>> print plot.fields<br class="">
['density', 'temperature']<br class="">
```<br class="">
<br class="">
In this case ('index', 'dx') is in both exclusion lists. Any reason I can't plot a slice of my resolution?<br class="">
<br class="">
<br class="">
______________________________<u class=""></u>_________________<br class="">
yt-dev mailing list<br class="">
<a href="mailto:yt-dev@lists.spacepope.org" target="_blank" class="">yt-dev@lists.spacepope.org</a><br class="">
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank" class="">http://lists.spacepope.org/<u class=""></u>listinfo.cgi/yt-dev-spacepope.<u class=""></u>org</a><br class="">
</blockquote>
</div>
______________________________<u class=""></u>_________________<br class="">
yt-dev mailing list<br class="">
<a href="mailto:yt-dev@lists.spacepope.org" target="_blank" class="">yt-dev@lists.spacepope.org</a><br class="">
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank" class="">http://lists.spacepope.org/<u class=""></u>listinfo.cgi/yt-dev-spacepope.<u class=""></u>org</a><br class="">
</blockquote>
</div>
_______________________________________________<br class="">
yt-dev mailing list<br class="">
<a href="mailto:yt-dev@lists.spacepope.org" target="_blank" class="">yt-dev@lists.spacepope.org</a><br class="">
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank" class="">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
______________________________<u class=""></u>_________________<br class="">
yt-dev mailing list<br class="">
<a href="mailto:yt-dev@lists.spacepope.org" target="_blank" class="">yt-dev@lists.spacepope.org</a><br class="">
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank" class="">http://lists.spacepope.org/<u class=""></u>listinfo.cgi/yt-dev-spacepope.<u class=""></u>org</a><br class="">
</blockquote>
</div>
_______________________________________________<br class="">
yt-dev mailing list<br class="">
<a href="mailto:yt-dev@lists.spacepope.org" class="">yt-dev@lists.spacepope.org</a><br class="">
http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>