<div dir="ltr">Hi Matt,<div><br></div><div><span style="font-size:13px;font-family:arial,sans-serif">ds.field_info.create_cooling_</span><span style="font-size:13px;font-family:arial,sans-serif">fields("") done directly after loading gives an error no field_info.  I do a </span></div>
<div><span style="font-size:13px;font-family:arial,sans-serif">ds.field_list first to so that ds.field_info exists, then </span><span style="font-size:13px;font-family:arial,sans-serif">ds.field_info.create_cooling_</span><span style="font-size:13px;font-family:arial,sans-serif">fields("") gives no error, but also no changes that I can see.  That is nothing is added to ds.derived_field_lists and doing dd=ds.all_data()</span></div>
<div><span style="font-size:13px;font-family:arial,sans-serif">HI=dd[('gas','HI')] </span></div><div><span style="font-size:13px;font-family:arial,sans-serif">gives could not find field '('gas','HI')'</span></div>
<div><span style="font-size:13px;font-family:arial,sans-serif"><br></span></div><div><span style="font-size:13px;font-family:arial,sans-serif">For others, I'm trying to get the ionization state information from the cooling??.dat files, this run has no ionization information in the hydro output files. </span></div>
<div><span style="font-size:13px;font-family:arial,sans-serif"><br></span></div><div><span style="font-size:13px;font-family:arial,sans-serif">Thanks,</span></div><div><span style="font-size:13px;font-family:arial,sans-serif"><br>
</span></div><div><span style="font-size:13px;font-family:arial,sans-serif">Ari</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 15, 2014 at 4:21 AM,  <span dir="ltr"><<a href="mailto:yt-users-request@lists.spacepope.org" target="_blank">yt-users-request@lists.spacepope.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send yt-users mailing list submissions to<br>
        <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:yt-users-request@lists.spacepope.org">yt-users-request@lists.spacepope.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:yt-users-owner@lists.spacepope.org">yt-users-owner@lists.spacepope.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of yt-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: yt-users Digest, Vol 78, Issue 38 (Professor Maller)<br>
   2. Re: yt-users Digest, Vol 78, Issue 38 (Matthew Turk)<br>
   3. " cannot import name YTDomainOverflow" after hg update    to an<br>
      earlier version (Hao Wang)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 14 Aug 2014 14:56:22 -0400<br>
From: Professor Maller <<a href="mailto:amaller@citytech.cuny.edu">amaller@citytech.cuny.edu</a>><br>
To: <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
Subject: Re: [yt-users] yt-users Digest, Vol 78, Issue 38<br>
Message-ID:<br>
        <CACCSjdMFbhvsBhpH3ybzvW=<a href="mailto:dEGSkMRYBetsJG-deSEjyiqztHg@mail.gmail.com">dEGSkMRYBetsJG-deSEjyiqztHg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi Matt,<br>
<br>
Those fields are not in my derived field list. That is<br>
ds.derived_field_list. Do I have to add them in some way? Or is there a way<br>
to check if yt didn't find the cooling??.dat files?<br>
<br>
Thanks,<br>
<br>
Ari<br>
<br>
<br>
On Thu, Aug 14, 2014 at 1:54 PM, <<a href="mailto:yt-users-request@lists.spacepope.org">yt-users-request@lists.spacepope.org</a>><br>
wrote:<br>
<br>
> Send yt-users mailing list submissions to<br>
>         <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
><br>
> To subscribe or unsubscribe via the World Wide Web, visit<br>
>         <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
> or, via email, send a message with subject or body 'help' to<br>
>         <a href="mailto:yt-users-request@lists.spacepope.org">yt-users-request@lists.spacepope.org</a><br>
><br>
> You can reach the person managing the list at<br>
>         <a href="mailto:yt-users-owner@lists.spacepope.org">yt-users-owner@lists.spacepope.org</a><br>
><br>
> When replying, please edit your Subject line so it is more specific<br>
> than "Re: Contents of yt-users digest..."<br>
><br>
><br>
> Today's Topics:<br>
><br>
>    1. ionization states in ramses data sets (Professor Maller)<br>
>    2. Re: ionization states in ramses data sets (Geoffrey So)<br>
>    3. Re: ionization states in ramses data sets (Matthew Turk)<br>
><br>
><br>
> ----------------------------------------------------------------------<br>
><br>
> Message: 1<br>
> Date: Thu, 14 Aug 2014 13:12:11 -0400<br>
> From: Professor Maller <<a href="mailto:amaller@citytech.cuny.edu">amaller@citytech.cuny.edu</a>><br>
> To: <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
> Subject: [yt-users] ionization states in ramses data sets<br>
> Message-ID:<br>
>         <<br>
> <a href="mailto:CACCSjdOxDp%2BMmgae1XLYJJvC7vJn52Xu59ppUA%2Bp0mq7Fggz8A@mail.gmail.com">CACCSjdOxDp+Mmgae1XLYJJvC7vJn52Xu59ppUA+p0mq7Fggz8A@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset="utf-8"<br>
><br>
> Hi,<br>
><br>
> Does anyone have code to create derived fields of ionization states, e.g.<br>
> HI, for ramses data sets?  If that's a no, does anyone have an example of a<br>
> derived field where you have to read in a table and interpolate the field<br>
> values.<br>
><br>
> Thanks,<br>
><br>
> Ari<br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <<br>
> <a href="http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140814/6c53560d/attachment.html" target="_blank">http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140814/6c53560d/attachment.html</a><br>

> ><br>
><br>
> ------------------------------<br>
><br>
> Message: 2<br>
> Date: Thu, 14 Aug 2014 10:19:49 -0700<br>
> From: Geoffrey So <<a href="mailto:gsiisg@gmail.com">gsiisg@gmail.com</a>><br>
> To: Discussion of the yt analysis package<br>
>         <<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a>><br>
> Subject: Re: [yt-users] ionization states in ramses data sets<br>
> Message-ID:<br>
>         <<br>
> <a href="mailto:CAM-dO%2BDM%2BygbGg3GG9vrxjSn%2BJM9mGGgHDXA1UEJu1KYpnJJqw@mail.gmail.com">CAM-dO+DM+ygbGg3GG9vrxjSn+JM9mGGgHDXA1UEJu1KYpnJJqw@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset="utf-8"<br>
><br>
> Hi,<br>
><br>
> according to<br>
> <a href="http://yt-project.org/docs/2.6/analyzing/creating_derived_fields.html" target="_blank">http://yt-project.org/docs/2.6/analyzing/creating_derived_fields.html</a>?<br>
><br>
> what worked for me for enzo data is the following<br>
><br>
> def _HINeutralFraction(field, data):<br>
>     return data['HI_Density']/(data['HI_Density']+data['HII_Density'])<br>
><br>
> add_field('HINeutralFraction',function=_HINeutralFraction,<br>
>           units=r"\rho_\mathrm{HI}/\rho_\mathrm{H}")<br>
><br>
> unless there's something strange with ramses dataset, the above should<br>
> work.<br>
><br>
> From<br>
> G.S.<br>
><br>
><br>
> On Thu, Aug 14, 2014 at 10:12 AM, Professor Maller <<br>
> <a href="mailto:amaller@citytech.cuny.edu">amaller@citytech.cuny.edu</a>> wrote:<br>
><br>
> > Hi,<br>
> ><br>
> > Does anyone have code to create derived fields of ionization states, e.g.<br>
> > HI, for ramses data sets?  If that's a no, does anyone have an example<br>
> of a<br>
> > derived field where you have to read in a table and interpolate the field<br>
> > values.<br>
> ><br>
> > Thanks,<br>
> ><br>
> > Ari<br>
> ><br>
> > _______________________________________________<br>
> > yt-users mailing list<br>
> > <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
> > <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
> ><br>
> ><br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <<br>
> <a href="http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140814/14caf322/attachment-0001.htm" target="_blank">http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140814/14caf322/attachment-0001.htm</a><br>

> ><br>
><br>
> ------------------------------<br>
><br>
> Message: 3<br>
> Date: Thu, 14 Aug 2014 12:22:16 -0500<br>
> From: Matthew Turk <<a href="mailto:matthewturk@gmail.com">matthewturk@gmail.com</a>><br>
> To: Discussion of the yt analysis package<br>
>         <<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a>><br>
> Subject: Re: [yt-users] ionization states in ramses data sets<br>
> Message-ID:<br>
>         <CALO3=<br>
> <a href="mailto:5HE%2B5eFNfXaWqJ_ApFCZeE_Sy73EEj%2BO5y7CuqMiVQ9sQ@mail.gmail.com">5HE+5eFNfXaWqJ_ApFCZeE_Sy73EEj+O5y7CuqMiVQ9sQ@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset=UTF-8<br>
><br>
> Hi Ari,<br>
><br>
> My reading of yt/frontends/ramses/fields.py is that this should be<br>
> implemented already, using the cooling_%05i.dat files.  If it's able<br>
> to find those files, it will create the appropriate derived fields<br>
> from them -- specifically, I think it can do Electron, HI, HII, HeI,<br>
> HeII, and HeIII.  Is it not creating those?<br>
><br>
> On Thu, Aug 14, 2014 at 12:12 PM, Professor Maller<br>
> <<a href="mailto:amaller@citytech.cuny.edu">amaller@citytech.cuny.edu</a>> wrote:<br>
> > Hi,<br>
> ><br>
> > Does anyone have code to create derived fields of ionization states, e.g.<br>
> > HI, for ramses data sets?  If that's a no, does anyone have an example<br>
> of a<br>
> > derived field where you have to read in a table and interpolate the field<br>
> > values.<br>
> ><br>
> > Thanks,<br>
> ><br>
> > Ari<br>
> ><br>
> > _______________________________________________<br>
> > yt-users mailing list<br>
> > <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
> > <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
> ><br>
><br>
><br>
> ------------------------------<br>
><br>
> Subject: Digest Footer<br>
><br>
> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
><br>
><br>
> ------------------------------<br>
><br>
> End of yt-users Digest, Vol 78, Issue 38<br>
> ****************************************<br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140814/f52bcdcc/attachment-0001.htm" target="_blank">http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140814/f52bcdcc/attachment-0001.htm</a>><br>

<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Thu, 14 Aug 2014 14:05:04 -0500<br>
From: Matthew Turk <<a href="mailto:matthewturk@gmail.com">matthewturk@gmail.com</a>><br>
To: Discussion of the yt analysis package<br>
        <<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a>><br>
Subject: Re: [yt-users] yt-users Digest, Vol 78, Issue 38<br>
Message-ID:<br>
        <CALO3=<a href="mailto:5EBSnthcHi%2BSzWTvWvmTbj7751MjPQ_%2BtVK4%2BGDes2OHA@mail.gmail.com">5EBSnthcHi+SzWTvWvmTbj7751MjPQ_+tVK4+GDes2OHA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
Hi Ari,<br>
<br>
Looks to me like it may actually not be enabled by default for some<br>
reason.  Can you try calling:<br>
<br>
ds.field_info.create_cooling_fields("")<br>
<br>
and seeing if that adds the correct fields?  If so, I'll update the<br>
code to do this automatically.<br>
<br>
-Matt<br>
<br>
On Thu, Aug 14, 2014 at 1:56 PM, Professor Maller<br>
<<a href="mailto:amaller@citytech.cuny.edu">amaller@citytech.cuny.edu</a>> wrote:<br>
> Hi Matt,<br>
><br>
> Those fields are not in my derived field list. That is<br>
> ds.derived_field_list. Do I have to add them in some way? Or is there a way<br>
> to check if yt didn't find the cooling??.dat files?<br>
><br>
> Thanks,<br>
><br>
> Ari<br>
><br>
><br>
> On Thu, Aug 14, 2014 at 1:54 PM, <<a href="mailto:yt-users-request@lists.spacepope.org">yt-users-request@lists.spacepope.org</a>><br>
> wrote:<br>
>><br>
>> Send yt-users mailing list submissions to<br>
>>         <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
>><br>
>> To subscribe or unsubscribe via the World Wide Web, visit<br>
>>         <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
>> or, via email, send a message with subject or body 'help' to<br>
>>         <a href="mailto:yt-users-request@lists.spacepope.org">yt-users-request@lists.spacepope.org</a><br>
>><br>
>> You can reach the person managing the list at<br>
>>         <a href="mailto:yt-users-owner@lists.spacepope.org">yt-users-owner@lists.spacepope.org</a><br>
>><br>
>> When replying, please edit your Subject line so it is more specific<br>
>> than "Re: Contents of yt-users digest..."<br>
>><br>
>><br>
>> Today's Topics:<br>
>><br>
>>    1. ionization states in ramses data sets (Professor Maller)<br>
>>    2. Re: ionization states in ramses data sets (Geoffrey So)<br>
>>    3. Re: ionization states in ramses data sets (Matthew Turk)<br>
>><br>
>><br>
>> ----------------------------------------------------------------------<br>
>><br>
>> Message: 1<br>
>> Date: Thu, 14 Aug 2014 13:12:11 -0400<br>
>> From: Professor Maller <<a href="mailto:amaller@citytech.cuny.edu">amaller@citytech.cuny.edu</a>><br>
>> To: <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
>> Subject: [yt-users] ionization states in ramses data sets<br>
>> Message-ID:<br>
>><br>
>> <<a href="mailto:CACCSjdOxDp%2BMmgae1XLYJJvC7vJn52Xu59ppUA%2Bp0mq7Fggz8A@mail.gmail.com">CACCSjdOxDp+Mmgae1XLYJJvC7vJn52Xu59ppUA+p0mq7Fggz8A@mail.gmail.com</a>><br>
>> Content-Type: text/plain; charset="utf-8"<br>
>><br>
>> Hi,<br>
>><br>
>> Does anyone have code to create derived fields of ionization states, e.g.<br>
>> HI, for ramses data sets?  If that's a no, does anyone have an example of<br>
>> a<br>
>> derived field where you have to read in a table and interpolate the field<br>
>> values.<br>
>><br>
>> Thanks,<br>
>><br>
>> Ari<br>
>> -------------- next part --------------<br>
>> An HTML attachment was scrubbed...<br>
>> URL:<br>
>> <<a href="http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140814/6c53560d/attachment.html" target="_blank">http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140814/6c53560d/attachment.html</a>><br>

>><br>
>> ------------------------------<br>
>><br>
>> Message: 2<br>
>> Date: Thu, 14 Aug 2014 10:19:49 -0700<br>
>> From: Geoffrey So <<a href="mailto:gsiisg@gmail.com">gsiisg@gmail.com</a>><br>
>> To: Discussion of the yt analysis package<br>
>>         <<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a>><br>
>> Subject: Re: [yt-users] ionization states in ramses data sets<br>
>> Message-ID:<br>
>><br>
>> <<a href="mailto:CAM-dO%2BDM%2BygbGg3GG9vrxjSn%2BJM9mGGgHDXA1UEJu1KYpnJJqw@mail.gmail.com">CAM-dO+DM+ygbGg3GG9vrxjSn+JM9mGGgHDXA1UEJu1KYpnJJqw@mail.gmail.com</a>><br>
>> Content-Type: text/plain; charset="utf-8"<br>
>><br>
>> Hi,<br>
>><br>
>> according to<br>
>> <a href="http://yt-project.org/docs/2.6/analyzing/creating_derived_fields.html" target="_blank">http://yt-project.org/docs/2.6/analyzing/creating_derived_fields.html</a>?<br>
>><br>
>> what worked for me for enzo data is the following<br>
>><br>
>> def _HINeutralFraction(field, data):<br>
>>     return data['HI_Density']/(data['HI_Density']+data['HII_Density'])<br>
>><br>
>> add_field('HINeutralFraction',function=_HINeutralFraction,<br>
>>           units=r"\rho_\mathrm{HI}/\rho_\mathrm{H}")<br>
>><br>
>> unless there's something strange with ramses dataset, the above should<br>
>> work.<br>
>><br>
>> From<br>
>> G.S.<br>
>><br>
>><br>
>> On Thu, Aug 14, 2014 at 10:12 AM, Professor Maller <<br>
>> <a href="mailto:amaller@citytech.cuny.edu">amaller@citytech.cuny.edu</a>> wrote:<br>
>><br>
>> > Hi,<br>
>> ><br>
>> > Does anyone have code to create derived fields of ionization states,<br>
>> > e.g.<br>
>> > HI, for ramses data sets?  If that's a no, does anyone have an example<br>
>> > of a<br>
>> > derived field where you have to read in a table and interpolate the<br>
>> > field<br>
>> > values.<br>
>> ><br>
>> > Thanks,<br>
>> ><br>
>> > Ari<br>
>> ><br>
>> > _______________________________________________<br>
>> > yt-users mailing list<br>
>> > <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
>> > <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
>> ><br>
>> ><br>
>> -------------- next part --------------<br>
>> An HTML attachment was scrubbed...<br>
>> URL:<br>
>> <<a href="http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140814/14caf322/attachment-0001.htm" target="_blank">http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140814/14caf322/attachment-0001.htm</a>><br>

>><br>
>> ------------------------------<br>
>><br>
>> Message: 3<br>
>> Date: Thu, 14 Aug 2014 12:22:16 -0500<br>
>> From: Matthew Turk <<a href="mailto:matthewturk@gmail.com">matthewturk@gmail.com</a>><br>
>> To: Discussion of the yt analysis package<br>
>>         <<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a>><br>
>> Subject: Re: [yt-users] ionization states in ramses data sets<br>
>> Message-ID:<br>
>><br>
>> <CALO3=<a href="mailto:5HE%2B5eFNfXaWqJ_ApFCZeE_Sy73EEj%2BO5y7CuqMiVQ9sQ@mail.gmail.com">5HE+5eFNfXaWqJ_ApFCZeE_Sy73EEj+O5y7CuqMiVQ9sQ@mail.gmail.com</a>><br>
>> Content-Type: text/plain; charset=UTF-8<br>
>><br>
>> Hi Ari,<br>
>><br>
>> My reading of yt/frontends/ramses/fields.py is that this should be<br>
>> implemented already, using the cooling_%05i.dat files.  If it's able<br>
>> to find those files, it will create the appropriate derived fields<br>
>> from them -- specifically, I think it can do Electron, HI, HII, HeI,<br>
>> HeII, and HeIII.  Is it not creating those?<br>
>><br>
>> On Thu, Aug 14, 2014 at 12:12 PM, Professor Maller<br>
>> <<a href="mailto:amaller@citytech.cuny.edu">amaller@citytech.cuny.edu</a>> wrote:<br>
>> > Hi,<br>
>> ><br>
>> > Does anyone have code to create derived fields of ionization states,<br>
>> > e.g.<br>
>> > HI, for ramses data sets?  If that's a no, does anyone have an example<br>
>> > of a<br>
>> > derived field where you have to read in a table and interpolate the<br>
>> > field<br>
>> > values.<br>
>> ><br>
>> > Thanks,<br>
>> ><br>
>> > Ari<br>
>> ><br>
>> > _______________________________________________<br>
>> > yt-users mailing list<br>
>> > <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
>> > <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
>> ><br>
>><br>
>><br>
>> ------------------------------<br>
>><br>
>> Subject: Digest Footer<br>
>><br>
>> _______________________________________________<br>
>> yt-users mailing list<br>
>> <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
>> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
>><br>
>><br>
>> ------------------------------<br>
>><br>
>> End of yt-users Digest, Vol 78, Issue 38<br>
>> ****************************************<br>
><br>
><br>
><br>
> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
><br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Fri, 15 Aug 2014 16:21:05 +0800<br>
From: Hao Wang <<a href="mailto:hwang.phy@gmail.com">hwang.phy@gmail.com</a>><br>
To: <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
Subject: [yt-users] " cannot import name YTDomainOverflow" after hg<br>
        update  to an earlier version<br>
Message-ID:<br>
        <CAD_YEuC99LOH2p8n8zfdrLEZ7=<a href="mailto:7__QNjSeEis3nyz2mEio5SSQ@mail.gmail.com">7__QNjSeEis3nyz2mEio5SSQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi all,<br>
<br>
I was using YT when some error messages appeared; since this happened<br>
immediately after I updated yt, I tried to "hg update 13651" to an earlier<br>
version.<br>
<br>
It turned out to be a big mistake -- suddenly every command I tried (yt; yt<br>
update; hg update; and yt notebook) gave the following error:<br>
=======================================<br>
Traceback (most recent call last):<br>
  File "/home/hao/projects/yt/bin/yt", line 9, in <module><br>
    load_entry_point('yt==3.0dev', 'console_scripts', 'yt')()<br>
  File<br>
"/home/hao/projects/yt/lib/python2.7/site-packages/distribute-0.6.32-py2.7.egg/pkg_resources.py",<br>
line 337, in load_entry_point<br>
    return get_distribution(dist).load_entry_point(group, name)<br>
  File<br>
"/home/hao/projects/yt/lib/python2.7/site-packages/distribute-0.6.32-py2.7.egg/pkg_resources.py",<br>
line 2311, in load_entry_point<br>
    return ep.load()<br>
  File<br>
"/home/hao/projects/yt/lib/python2.7/site-packages/distribute-0.6.32-py2.7.egg/pkg_resources.py",<br>
line 2017, in load<br>
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])<br>
  File "/home/hao/projects/yt/src/yt-hg/yt/utilities/command_line.py", line<br>
19, in <module><br>
    from yt.mods import *<br>
  File "/home/hao/projects/yt/src/yt-hg/yt/mods.py", line 50, in <module><br>
    from yt.data_objects.api import \<br>
  File "/home/hao/projects/yt/src/yt-hg/yt/data_objects/api.py", line 13,<br>
in <module><br>
    from grid_patch import \<br>
  File "/home/hao/projects/yt/src/yt-hg/yt/data_objects/grid_patch.py",<br>
line 25, in <module><br>
    from yt.data_objects.data_containers import YTFieldData<br>
  File<br>
"/home/hao/projects/yt/src/yt-hg/yt/data_objects/data_containers.py", line<br>
31, in <module><br>
    from yt.data_objects.derived_quantities import GridChildMaskWrapper<br>
  File<br>
"/home/hao/projects/yt/src/yt-hg/yt/data_objects/derived_quantities.py",<br>
line 26, in <module><br>
    from yt.utilities.parallel_tools.parallel_analysis_interface import \<br>
  File<br>
"/home/hao/projects/yt/src/yt-hg/yt/utilities/parallel_tools/parallel_analysis_interface.py",<br>
line 29, in <module><br>
    from yt.utilities.lib import \<br>
  File "/home/hao/projects/yt/src/yt-hg/yt/utilities/lib/__init__.py", line<br>
21, in <module><br>
    from .geometry_utils import *<br>
  File "geometry_utils.pyx", line 22, in init<br>
yt.utilities.lib.geometry_utils (yt/utilities/lib/geometry_utils.c:10907)<br>
ImportError: cannot import name YTDomainOverflow<br>
========================================<br>
Anything to do to fix the damage besides a reinstallation?<br>
<br>
Thanks!<br>
<br>
Hao<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140815/deaf9f67/attachment.htm" target="_blank">http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140815/deaf9f67/attachment.htm</a>><br>

<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br>
<br>
------------------------------<br>
<br>
End of yt-users Digest, Vol 78, Issue 39<br>
****************************************<br>
</blockquote></div><br></div>