<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="">Hi Sushi,<div class=""><br class=""></div><div class="">I think the off-axis slice/projection plot will meet your requirement best, where the camera orientation is determined by the normal vector:</div><div class=""><br class=""></div><div class=""><a href="http://yt-project.org/doc/visualizing/plots.html#off-axis-slices" class="">http://yt-project.org/doc/visualizing/plots.html#off-axis-slices</a></div><div class=""><a href="http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots" class="">http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots</a></div><div class=""><br class=""></div><div class="">And of course, if you’re interested in the features provided by volume rendering, it’s also worth a try. This cookbook gives an example of moving a camera; specifically you might want to use the camera.rotation:</div><div class=""><br class=""></div><div class=""><a href="http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rendering-camera" class="">http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rendering-camera</a></div><div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Best wishes,</div><div class="">--</div><div class="">Suoqing JI</div><div class="">Ph.D Candidate</div><div class="">Department of Physics</div><div class="">University of California, Santa Barbara</div><div class=""><a href="http://web.physics.ucsb.edu/~suoqing" class="">http://web.physics.ucsb.edu/~suoqing</a></div></div></div></div></div></div></div></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Apr 15, 2016, at 8:38 AM, Sushilkumar <<a href="mailto:sushil.sush19us@gmail.com" class="">sushil.sush19us@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class="">Dear yt:<br class=""><br class=""></div>I would like to change/customize/rotate my camera angle for my slice plots without rotating the axis.<br class=""><br class="">What options do I have using yt if I want to move my camera angle by say 45 degrees?<br class=""><br class=""></div>Can I use the following link or can you suggest me something else<br class=""><a href="http://yt-project.org/doc/visualizing/volume_rendering.html" class="">http://yt-project.org/doc/visualizing/volume_rendering.html</a><br class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class="gmail_extra"><br class=""></div><div class="gmail_extra">Thanks in advance<br class=""></div><div class="gmail_extra"><br class=""><br class=""><br class=""><div class="gmail_quote">On Thu, Mar 31, 2016 at 10:11 PM,  <span dir="ltr" class=""><<a href="mailto:yt-users-request@lists.spacepope.org" target="_blank" class="">yt-users-request@lists.spacepope.org</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send yt-users mailing list submissions to<br class="">
        <a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">
<br class="">
To subscribe or unsubscribe via the World Wide Web, visit<br class="">
        <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank" class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="">
or, via email, send a message with subject or body 'help' to<br class="">
        <a href="mailto:yt-users-request@lists.spacepope.org" class="">yt-users-request@lists.spacepope.org</a><br class="">
<br class="">
You can reach the person managing the list at<br class="">
        <a href="mailto:yt-users-owner@lists.spacepope.org" class="">yt-users-owner@lists.spacepope.org</a><br class="">
<br class="">
When replying, please edit your Subject line so it is more specific<br class="">
than "Re: Contents of yt-users digest..."<br class="">
<br class="">
<br class="">
Today's Topics:<br class="">
<br class="">
   1. Inclination problem (Sushilkumar)<br class="">
<br class="">
<br class="">
----------------------------------------------------------------------<br class="">
<br class="">
Message: 1<br class="">
Date: Thu, 31 Mar 2016 22:11:09 -0500<br class="">
From: Sushilkumar <<a href="mailto:sushil.sush19us@gmail.com" class="">sushil.sush19us@gmail.com</a>><br class="">
To: Discussion of the yt analysis package<br class="">
        <<a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a>><br class="">
Subject: [yt-users] Inclination problem<br class="">
Message-ID:<br class="">
        <<a href="mailto:CAKARaKXPyQedHNjW0PwFvrO0qyjFGY4FMU6c2O5_PZWt-OxKEg@mail.gmail.com" class="">CAKARaKXPyQedHNjW0PwFvrO0qyjFGY4FMU6c2O5_PZWt-OxKEg@mail.gmail.com</a>><br class="">
Content-Type: text/plain; charset="utf-8"<br class="">
<br class="">
Dear Nathan:<br class="">
<br class="">
Thank you very much, implementing now<br class="">
<br class="">
<br class="">
On Thu, Mar 31, 2016 at 9:50 AM, <<a href="mailto:yt-users-request@lists.spacepope.org" class="">yt-users-request@lists.spacepope.org</a>><br class="">
wrote:<br class="">
<br class="">
> Send yt-users mailing list submissions to<br class="">
>         <a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">
><br class="">
> To subscribe or unsubscribe via the World Wide Web, visit<br class="">
>         <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank" class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="">
> or, via email, send a message with subject or body 'help' to<br class="">
>         <a href="mailto:yt-users-request@lists.spacepope.org" class="">yt-users-request@lists.spacepope.org</a><br class="">
><br class="">
> You can reach the person managing the list at<br class="">
>         <a href="mailto:yt-users-owner@lists.spacepope.org" class="">yt-users-owner@lists.spacepope.org</a><br class="">
><br class="">
> When replying, please edit your Subject line so it is more specific<br class="">
> than "Re: Contents of yt-users digest..."<br class="">
><br class="">
><br class="">
> Today's Topics:<br class="">
><br class="">
>    1. Re: Inclination problem (Nathan Goldbaum)<br class="">
><br class="">
><br class="">
> ----------------------------------------------------------------------<br class="">
><br class="">
> Message: 1<br class="">
> Date: Thu, 31 Mar 2016 09:50:31 -0500<br class="">
> From: Nathan Goldbaum <<a href="mailto:nathan12343@gmail.com" class="">nathan12343@gmail.com</a>><br class="">
> To: Discussion of the yt analysis package<br class="">
>         <<a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a>><br class="">
> Subject: Re: [yt-users] Inclination problem<br class="">
> Message-ID:<br class="">
>         <CAJXewOnvXjZ+shfKG4SPubn_TYTAbLUu8y9ZRvovzBu=<br class="">
> <a href="mailto:DcFZtQ@mail.gmail.com" class="">DcFZtQ@mail.gmail.com</a>><br class="">
> Content-Type: text/plain; charset="utf-8"<br class="">
><br class="">
> Hi SK,<br class="">
><br class="">
> I'm going to reference this example:<br class="">
><br class="">
><br class="">
> <a href="http://yt-project.org/doc/visualizing/streamlines.html?highlight=streamlines" rel="noreferrer" target="_blank" class="">http://yt-project.org/doc/visualizing/streamlines.html?highlight=streamlines</a><br class="">
><br class="">
> specifically this snippet:<br class="">
><br class="">
> for stream in streamlines.streamlines:<br class="">
>     stream = stream[np.all(stream != 0.0, axis=1)]<br class="">
>     ax.plot3D(stream[:,0], stream[:,1], stream[:,2], alpha=0.1)<br class="">
><br class="">
> Here, the 'stream' object is just a Nx3 numpy array, where N is the number<br class="">
> of points sampled along the streamline. So each row of the numpy array is<br class="">
> just the coordinates of the streamline along one direction.<br class="">
><br class="">
> To answer your question, no, there's nothing in yt that will rotate the<br class="">
> streamlines into a new coordinate system. Fortunately you should be able to<br class="">
> do it yourself using e.g. an Euler angle rotation matrix. You will need to<br class="">
> identify the new coordinate system you would like to transform to,<br class="">
> calculate a 3D rotation matrix, then apply it using matrix multiplication<br class="">
> (e.g. np.dot, which supports broadcasting) to each coordinate along the<br class="">
> streamline.<br class="">
><br class="">
> Hope that helps,<br class="">
><br class="">
> Nathan<br class="">
><br class="">
> On Thu, Mar 31, 2016 at 8:56 AM, Sushilkumar <<a href="mailto:sushil.sush19us@gmail.com" class="">sushil.sush19us@gmail.com</a>><br class="">
> wrote:<br class="">
><br class="">
> > Dear Matt:<br class="">
> ><br class="">
> > Pleas correct me if I am wrong but "off axis slices" takes slices of the<br class="">
> > plot that is already plotted.<br class="">
> ><br class="">
> > However, I would like to plot my data in a new coordinate frame<br class="">
> (x`,y`,z`)<br class="">
> > which is inclined at an angle of say alpha from the default (x,y,z)<br class="">
> frame.<br class="">
> ><br class="">
> > Or I would like to plot my data in a rotated frame (x`,y`,z`), which is<br class="">
> > rotated at an angle of alpha from (x,y,z).<br class="">
> ><br class="">
> ><br class="">
> ><br class="">
> ><br class="">
> > On Wed, Mar 30, 2016 at 5:01 PM, <<a href="mailto:yt-users-request@lists.spacepope.org" class="">yt-users-request@lists.spacepope.org</a>><br class="">
> > wrote:<br class="">
> ><br class="">
> >> Send yt-users mailing list submissions to<br class="">
> >>         <a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">
> >><br class="">
> >> To subscribe or unsubscribe via the World Wide Web, visit<br class="">
> >>         <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank" class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="">
> >> or, via email, send a message with subject or body 'help' to<br class="">
> >>         <a href="mailto:yt-users-request@lists.spacepope.org" class="">yt-users-request@lists.spacepope.org</a><br class="">
> >><br class="">
> >> You can reach the person managing the list at<br class="">
> >>         <a href="mailto:yt-users-owner@lists.spacepope.org" class="">yt-users-owner@lists.spacepope.org</a><br class="">
> >><br class="">
> >> When replying, please edit your Subject line so it is more specific<br class="">
> >> than "Re: Contents of yt-users digest..."<br class="">
> >><br class="">
> >><br class="">
> >> Today's Topics:<br class="">
> >><br class="">
> >>    1. Re: load spherical polar coordinate data with mesh refinement<br class="">
> >>       in HDF5 (Jiang, Yanfei)<br class="">
> >>    2. Re: load spherical polar coordinate data with mesh refinement<br class="">
> >>       in HDF5 (Matthew Turk)<br class="">
> >>    3. Re: Inclination problem (Matthew Turk)<br class="">
> >>    4. Re: load spherical polar coordinate data with mesh refinement<br class="">
> >>       in HDF5 (Jonah Miller)<br class="">
> >><br class="">
> >><br class="">
> >> ----------------------------------------------------------------------<br class="">
> >><br class="">
> >> Message: 1<br class="">
> >> Date: Wed, 30 Mar 2016 15:49:26 -0400<br class="">
> >> From: "Jiang, Yanfei" <<a href="mailto:yanfei.jiang@cfa.harvard.edu" class="">yanfei.jiang@cfa.harvard.edu</a>><br class="">
> >> To: Discussion of the yt analysis package<br class="">
> >>         <<a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a>><br class="">
> >> Subject: Re: [yt-users] load spherical polar coordinate data with mesh<br class="">
> >>         refinement in HDF5<br class="">
> >> Message-ID:<br class="">
> >>         <<br class="">
> >> <a href="mailto:CANixPav-VmbXfhNvmA5wb5gj19mF%2B-Ryq5YD-LrYrByDe3Ne7A@mail.gmail.com" class="">CANixPav-VmbXfhNvmA5wb5gj19mF+-Ryq5YD-LrYrByDe3Ne7A@mail.gmail.com</a>><br class="">
> >> Content-Type: text/plain; charset="utf-8"<br class="">
> >><br class="">
> >> Hi Jonah,<br class="">
> >><br class="">
> >>    I am able to load the data to yt now using load_amr_grids(). I notice<br class="">
> >> that it can also set geometry to spherical. This is great. But to make<br class="">
> >> life<br class="">
> >> more complicate. Is it possible to let yt know that the grid is<br class="">
> >> logarithmic? Currently, load_amr_grids() just take left and right edges<br class="">
> of<br class="">
> >> each block. I guess yt assumes the grid is uniform between left and<br class="">
> right<br class="">
> >> edges. Is it possible to provide arrays of coordinate values for each<br class="">
> cell<br class="">
> >> in each block?<br class="">
> >><br class="">
> >> Thanks.<br class="">
> >><br class="">
> >> On Tue, Mar 29, 2016 at 6:58 PM, Jonah Miller <<br class="">
> >> <a href="mailto:jonah.maxwell.miller@gmail.com" class="">jonah.maxwell.miller@gmail.com</a>> wrote:<br class="">
> >><br class="">
> >> > Hi Yan-Feng,<br class="">
> >> ><br class="">
> >> > I haven't tried it, but I think there is functionality for this. You<br class="">
> can<br class="">
> >> > use the load_amr_grids() function which can load amr data in<br class="">
> Cartesian,<br class="">
> >> > spherical, or polar coordinates. Here's the documentation:<br class="">
> >> ><br class="">
> >> ><br class="">
> >><br class="">
> <a href="http://yt-project.org/doc/examining/generic_array_data.html#loading-numpy-array" rel="noreferrer" target="_blank" class="">http://yt-project.org/doc/examining/generic_array_data.html#loading-numpy-array</a><br class="">
> >> ><br class="">
> >> ><br class="">
> >> ><br class="">
> >><br class="">
> <a href="http://yt-project.org/doc/reference/api/generated/yt.frontends.stream.data_structures.load_amr_grids.html#yt.frontends.stream.data_structures.load_amr_grids" rel="noreferrer" target="_blank" class="">http://yt-project.org/doc/reference/api/generated/yt.frontends.stream.data_structures.load_amr_grids.html#yt.frontends.stream.data_structures.load_amr_grids</a><br class="">
> >> ><br class="">
> >> > Best,<br class="">
> >> > Jonah<br class="">
> >> ><br class="">
> >> > On Tue, Mar 29, 2016, 6:35 PM Jiang, Yanfei <<br class="">
> >> <a href="mailto:yanfei.jiang@cfa.harvard.edu" class="">yanfei.jiang@cfa.harvard.edu</a>><br class="">
> >> > wrote:<br class="">
> >> ><br class="">
> >> >> Hi,<br class="">
> >> >>          I have some data from a new version of Athena simulations.<br class="">
> It<br class="">
> >> is<br class="">
> >> >> in spherical polar coordinate with mesh refinement written in HDF5.<br class="">
> The<br class="">
> >> >> data structure is similar to flash data but not the same. Does anyone<br class="">
> >> have<br class="">
> >> >> suggestions to load such data to yt directly?<br class="">
> >> >><br class="">
> >> >> Thank you.<br class="">
> >> >> --<br class="">
> >> >> Yan-Fei Jiang<br class="">
> >> >><br class="">
> >> >> Einstein Fellow<br class="">
> >> >> Harvard-Smithsonian Center for Astrophysics<br class="">
> >> >> 60 Garden Street, Cambridge MA USA 02138<br class="">
> >> >> _______________________________________________<br class="">
> >> >> yt-users mailing list<br class="">
> >> >> <a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">
> >> >> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank" class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="">
> >> >><br class="">
> >> ><br class="">
> >> > _______________________________________________<br class="">
> >> > yt-users mailing list<br class="">
> >> > <a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">
> >> > <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank" class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="">
> >> ><br class="">
> >> ><br class="">
> >><br class="">
> >><br class="">
> >> --<br class="">
> >> Yan-Fei Jiang<br class="">
> >><br class="">
> >> Einstein Fellow<br class="">
> >> Harvard-Smithsonian Center for Astrophysics<br class="">
> >> 60 Garden Street, Cambridge MA USA 02138<br class="">
> >> -------------- next part --------------<br class="">
> >> An HTML attachment was scrubbed...<br class="">
> >> URL: <<br class="">
> >><br class="">
> <a href="http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160330/aedc3b19/attachment-0001.htm" rel="noreferrer" target="_blank" class="">http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160330/aedc3b19/attachment-0001.htm</a><br class="">
> >> ><br class="">
> >><br class="">
> >> ------------------------------<br class="">
> >><br class="">
> >> Message: 2<br class="">
> >> Date: Wed, 30 Mar 2016 16:15:30 -0500<br class="">
> >> From: Matthew Turk <<a href="mailto:matthewturk@gmail.com" class="">matthewturk@gmail.com</a>><br class="">
> >> To: Discussion of the yt analysis package<br class="">
> >>         <<a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a>><br class="">
> >> Subject: Re: [yt-users] load spherical polar coordinate data with mesh<br class="">
> >>         refinement in HDF5<br class="">
> >> Message-ID:<br class="">
> >>         <CALO3=<br class="">
> >> <a href="mailto:5F1-_9V5XHS4vF_eXvKoPerz3Zo20X8uPtcFjQSAQS1MA@mail.gmail.com" class="">5F1-_9V5XHS4vF_eXvKoPerz3Zo20X8uPtcFjQSAQS1MA@mail.gmail.com</a>><br class="">
> >> Content-Type: text/plain; charset=UTF-8<br class="">
> >><br class="">
> >> Hi Yanfei,<br class="">
> >><br class="">
> >> This is possible -- but it will also slow some things down.  You can<br class="">
> >> use the load_hexahedral_mesh function, and there're examples of this.<br class="">
> >> This takes away some of the optimizations that regular grids can do,<br class="">
> >> but we're hoping to add them back in shortly.  Like the other<br class="">
> >> functions it too takes a geometry argument.<br class="">
> >><br class="">
> >> -Matt<br class="">
> >><br class="">
> >> On Wed, Mar 30, 2016 at 2:49 PM, Jiang, Yanfei<br class="">
> >> <<a href="mailto:yanfei.jiang@cfa.harvard.edu" class="">yanfei.jiang@cfa.harvard.edu</a>> wrote:<br class="">
> >> > Hi Jonah,<br class="">
> >> ><br class="">
> >> >    I am able to load the data to yt now using load_amr_grids(). I<br class="">
> notice<br class="">
> >> > that it can also set geometry to spherical. This is great. But to make<br class="">
> >> life<br class="">
> >> > more complicate. Is it possible to let yt know that the grid is<br class="">
> >> logarithmic?<br class="">
> >> > Currently, load_amr_grids() just take left and right edges of each<br class="">
> >> block. I<br class="">
> >> > guess yt assumes the grid is uniform between left and right edges. Is<br class="">
> it<br class="">
> >> > possible to provide arrays of coordinate values for each cell in each<br class="">
> >> block?<br class="">
> >> ><br class="">
> >> > Thanks.<br class="">
> >> ><br class="">
> >> > On Tue, Mar 29, 2016 at 6:58 PM, Jonah Miller<br class="">
> >> > <<a href="mailto:jonah.maxwell.miller@gmail.com" class="">jonah.maxwell.miller@gmail.com</a>> wrote:<br class="">
> >> >><br class="">
> >> >> Hi Yan-Feng,<br class="">
> >> >><br class="">
> >> >> I haven't tried it, but I think there is functionality for this. You<br class="">
> >> can<br class="">
> >> >> use the load_amr_grids() function which can load amr data in<br class="">
> Cartesian,<br class="">
> >> >> spherical, or polar coordinates. Here's the documentation:<br class="">
> >> >><br class="">
> >> >><br class="">
> >> >><br class="">
> >><br class="">
> <a href="http://yt-project.org/doc/examining/generic_array_data.html#loading-numpy-array" rel="noreferrer" target="_blank" class="">http://yt-project.org/doc/examining/generic_array_data.html#loading-numpy-array</a><br class="">
> >> >><br class="">
> >> >><br class="">
> >> >><br class="">
> >><br class="">
> <a href="http://yt-project.org/doc/reference/api/generated/yt.frontends.stream.data_structures.load_amr_grids.html#yt.frontends.stream.data_structures.load_amr_grids" rel="noreferrer" target="_blank" class="">http://yt-project.org/doc/reference/api/generated/yt.frontends.stream.data_structures.load_amr_grids.html#yt.frontends.stream.data_structures.load_amr_grids</a><br class="">
> >> >><br class="">
> >> >> Best,<br class="">
> >> >> Jonah<br class="">
> >> >><br class="">
> >> >> On Tue, Mar 29, 2016, 6:35 PM Jiang, Yanfei <<br class="">
> >> <a href="mailto:yanfei.jiang@cfa.harvard.edu" class="">yanfei.jiang@cfa.harvard.edu</a>><br class="">
> >> >> wrote:<br class="">
> >> >>><br class="">
> >> >>> Hi,<br class="">
> >> >>>          I have some data from a new version of Athena simulations.<br class="">
> >> It is<br class="">
> >> >>> in spherical polar coordinate with mesh refinement written in HDF5.<br class="">
> >> The data<br class="">
> >> >>> structure is similar to flash data but not the same. Does anyone<br class="">
> have<br class="">
> >> >>> suggestions to load such data to yt directly?<br class="">
> >> >>><br class="">
> >> >>> Thank you.<br class="">
> >> >>> --<br class="">
> >> >>> Yan-Fei Jiang<br class="">
> >> >>><br class="">
> >> >>> Einstein Fellow<br class="">
> >> >>> Harvard-Smithsonian Center for Astrophysics<br class="">
> >> >>> 60 Garden Street, Cambridge MA USA 02138<br class="">
> >> >>> _______________________________________________<br class="">
> >> >>> yt-users mailing list<br class="">
> >> >>> <a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">
> >> >>> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank" class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="">
> >> >><br class="">
> >> >><br class="">
> >> >> _______________________________________________<br class="">
> >> >> yt-users mailing list<br class="">
> >> >> <a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">
> >> >> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank" class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="">
> >> >><br class="">
> >> ><br class="">
> >> ><br class="">
> >> ><br class="">
> >> > --<br class="">
> >> > Yan-Fei Jiang<br class="">
> >> ><br class="">
> >> > Einstein Fellow<br class="">
> >> > Harvard-Smithsonian Center for Astrophysics<br class="">
> >> > 60 Garden Street, Cambridge MA USA 02138<br class="">
> >> ><br class="">
> >> > _______________________________________________<br class="">
> >> > yt-users mailing list<br class="">
> >> > <a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">
> >> > <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank" class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="">
> >> ><br class="">
> >><br class="">
> >><br class="">
> >> ------------------------------<br class="">
> >><br class="">
> >> Message: 3<br class="">
> >> Date: Wed, 30 Mar 2016 16:16:22 -0500<br class="">
> >> From: Matthew Turk <<a href="mailto:matthewturk@gmail.com" class="">matthewturk@gmail.com</a>><br class="">
> >> To: Discussion of the yt analysis package<br class="">
> >>         <<a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a>><br class="">
> >> Subject: Re: [yt-users] Inclination problem<br class="">
> >> Message-ID:<br class="">
> >>         <CALO3=5HMB=<br class="">
> >> <a href="mailto:joejr6BBh%2BzdxkwGzJS2NPrkK9tvMJnbch5-7BgQ@mail.gmail.com" class="">joejr6BBh+zdxkwGzJS2NPrkK9tvMJnbch5-7BgQ@mail.gmail.com</a>><br class="">
> >> Content-Type: text/plain; charset=UTF-8<br class="">
> >><br class="">
> >> Hi SK,<br class="">
> >><br class="">
> >> I'm not sure I totally understand, but if you have an inclination<br class="">
> >> angle you can use this directly in yt in the off axis slices and so<br class="">
> >> on.  They typically take a vector, but you should be able to convert<br class="">
> >> one to the other.<br class="">
> >><br class="">
> >> -Matt<br class="">
> >><br class="">
> >> On Tue, Mar 29, 2016 at 1:37 PM, Sushilkumar <<a href="mailto:sushil.sush19us@gmail.com" class="">sushil.sush19us@gmail.com</a><br class="">
> ><br class="">
> >> wrote:<br class="">
> >> > Dear yt:<br class="">
> >> ><br class="">
> >> > I am trying to numerically solve the region around a pulsar. Now since<br class="">
> >> > pulsar is an inclined rotator with inclination angle between rotation<br class="">
> >> axis<br class="">
> >> > and dipole axis I would like to include in my yt script.<br class="">
> >> ><br class="">
> >> > My original code written in FORTRAN incorporated this inclination but<br class="">
> >> how<br class="">
> >> > would I incorporate it into my visualization using yt without changing<br class="">
> >> my<br class="">
> >> > data.<br class="">
> >> ><br class="">
> >> > Could you suggest ways for the same?<br class="">
> >> ><br class="">
> >> > The google drive link to my script (streamline.py) and streamline plot<br class="">
> >> > (streamline_t000.png) is included<br class="">
> >> ><br class="">
> >> > <a href="https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc" rel="noreferrer" target="_blank" class="">https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc</a><br class="">
> >> ><br class="">
> >> > Thanks in advance<br class="">
> >> ><br class="">
> >> > On Tue, Mar 29, 2016 at 12:54 PM, <<br class="">
> <a href="mailto:yt-users-request@lists.spacepope.org" class="">yt-users-request@lists.spacepope.org</a><br class="">
> >> ><br class="">
> >> > wrote:<br class="">
> >> >><br class="">
> >> >> Send yt-users mailing list submissions to<br class="">
> >> >>         <a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">
> >> >><br class="">
> >> >> To subscribe or unsubscribe via the World Wide Web, visit<br class="">
> >> >><br class="">
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank" class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="">
> >> >> or, via email, send a message with subject or body 'help' to<br class="">
> >> >>         <a href="mailto:yt-users-request@lists.spacepope.org" class="">yt-users-request@lists.spacepope.org</a><br class="">
> >> >><br class="">
> >> >> You can reach the person managing the list at<br class="">
> >> >>         <a href="mailto:yt-users-owner@lists.spacepope.org" class="">yt-users-owner@lists.spacepope.org</a><br class="">
> >> >><br class="">
> >> >> When replying, please edit your Subject line so it is more specific<br class="">
> >> >> than "Re: Contents of yt-users digest..."<br class="">
> >> >><br class="">
> >> >><br class="">
> >> >> Today's Topics:<br class="">
> >> >><br class="">
> >> >>    1. Re: gadget onto unigrid (Carla Bernhardt)<br class="">
> >> >>    2. Re: gadget onto unigrid (Matthew Turk)<br class="">
> >> >><br class="">
> >> >><br class="">
> >> >><br class="">
> ----------------------------------------------------------------------<br class="">
> >> >><br class="">
> >> >> Message: 1<br class="">
> >> >> Date: Tue, 29 Mar 2016 15:55:27 +0200<br class="">
> >> >> From: Carla Bernhardt <<a href="mailto:carla.j.bernhardt@gmail.com" class="">carla.j.bernhardt@gmail.com</a>><br class="">
> >> >> To: Discussion of the yt analysis package<br class="">
> >> >>         <<a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a>><br class="">
> >> >> Subject: Re: [yt-users] gadget onto unigrid<br class="">
> >> >> Message-ID:<br class="">
> >> >><br class="">
> >> >> <CAFK0O=2vH24ViqeZ5QS3DY3uido0kEaF=<a href="mailto:UhyGS_beuiUMbw7Ag@mail.gmail.com" class="">UhyGS_beuiUMbw7Ag@mail.gmail.com</a>><br class="">
> >> >> Content-Type: text/plain; charset="utf-8"<br class="">
> >> >><br class="">
> >> >> Hi All,<br class="">
> >> >><br class="">
> >> >> A follow-up question: In using arbitrary_grid (but with enzo data),<br class="">
> how<br class="">
> >> >> does one then extract a field of an arbitrary_grid? I tried<br class="">
> >> >> arbgrid["density"] as I have done with a smoothed_covering_grid<br class="">
> object,<br class="">
> >> >> but<br class="">
> >> >> it does not work (here is the traceback <<br class="">
> <a href="http://pastebin.com/afgcgpp0" rel="noreferrer" target="_blank" class="">http://pastebin.com/afgcgpp0</a>><br class="">
> >> I<br class="">
> >> >> got).<br class="">
> >> >><br class="">
> >> >> Thanks,<br class="">
> >> >> Carla<br class="">
> >> >><br class="">
> >> >> 2016-02-23 17:21 GMT+01:00 Matthew Turk <<a href="mailto:matthewturk@gmail.com" class="">matthewturk@gmail.com</a>>:<br class="">
> >> >><br class="">
> >> >> > Hi Desika,<br class="">
> >> >> ><br class="">
> >> >> > Yup, this can be done reasonably easily using either the<br class="">
> >> >> > .arbitrary_grid object (which was designed for this) or the<br class="">
> interface<br class="">
> >> >> > to the arbitrary grid that's in the development version, which is<br class="">
> >> >> > ds.r[ ... ] where the ... is some combination of bounds and steps.<br class="">
> >> >> ><br class="">
> >> >> ><br class="">
> <a href="http://yt-project.org/docs/dev/analyzing/objects.html#arbitrary-grid" rel="noreferrer" target="_blank" class="">http://yt-project.org/docs/dev/analyzing/objects.html#arbitrary-grid</a><br class="">
> >> >> ><br class="">
> >> >> ><br class="">
> >> >> ><br class="">
> >><br class="">
> <a href="http://yt-project.org/docs/dev/analyzing/objects.html#slicing-syntax-for-selecting-data" rel="noreferrer" target="_blank" class="">http://yt-project.org/docs/dev/analyzing/objects.html#slicing-syntax-for-selecting-data</a><br class="">
> >> >> ><br class="">
> >> >> > On Tue, Feb 23, 2016 at 10:18 AM, Desika Narayanan<br class="">
> >> >> > <<a href="mailto:desika.narayanan@gmail.com" class="">desika.narayanan@gmail.com</a>> wrote:<br class="">
> >> >> > > Hi All,<br class="">
> >> >> > ><br class="">
> >> >> > > Is it possible to deposit the particles from a gadget data set<br class="">
> >> onto a<br class="">
> >> >> > > uniform grid in yt?  Or, could it be possible to trick the octree<br class="">
> >> >> > deposition<br class="">
> >> >> > > into doing it by forcing no refinements, but some sort of native<br class="">
> >> grid<br class="">
> >> >> > > resolution?<br class="">
> >> >> > ><br class="">
> >> >> > > thanks,<br class="">
> >> >> > > desika<br class="">
> >> >> > ><br class="">
> >> >> > ><br class="">
> >> >> > > _______________________________________________<br class="">
> >> >> > > yt-users mailing list<br class="">
> >> >> > > <a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">
> >> >> > > <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank" class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="">
> >> >> > ><br class="">
> >> >> > _______________________________________________<br class="">
> >> >> > yt-users mailing list<br class="">
> >> >> > <a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">
> >> >> > <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank" class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="">
> >> >> ><br class="">
> >> >> -------------- next part --------------<br class="">
> >> >> An HTML attachment was scrubbed...<br class="">
> >> >> URL:<br class="">
> >> >> <<br class="">
> >><br class="">
> <a href="http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160329/e29a03a1/attachment.html" rel="noreferrer" target="_blank" class="">http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160329/e29a03a1/attachment.html</a><br class="">
> >> ><br class="">
> >> >><br class="">
> >> >> ------------------------------<br class="">
> >> >><br class="">
> >> >> Message: 2<br class="">
> >> >> Date: Tue, 29 Mar 2016 08:57:08 -0500<br class="">
> >> >> From: Matthew Turk <<a href="mailto:matthewturk@gmail.com" class="">matthewturk@gmail.com</a>><br class="">
> >> >> To: Discussion of the yt analysis package<br class="">
> >> >>         <<a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a>><br class="">
> >> >> Subject: Re: [yt-users] gadget onto unigrid<br class="">
> >> >> Message-ID:<br class="">
> >> >><br class="">
> >> >> <CALO3=5HR=zLHujWKgLpqwei_98vBOjpYvQ4m8nnUFR=<a href="mailto:P098utA@mail.gmail.com" class="">P098utA@mail.gmail.com</a>><br class="">
> >> >> Content-Type: text/plain; charset=UTF-8<br class="">
> >> >><br class="">
> >> >> Hi Carla,<br class="">
> >> >><br class="">
> >> >> This functionality was recently implemented and is in the development<br class="">
> >> >> version, but not yet in the stable.  We're hoping for a release very<br class="">
> >> >> shortly, but you can also try the dev version if you'd like!<br class="">
> >> >><br class="">
> >> >> -Matt<br class="">
> >> >><br class="">
> >> >> On Tue, Mar 29, 2016 at 8:55 AM, Carla Bernhardt<br class="">
> >> >> <<a href="mailto:carla.j.bernhardt@gmail.com" class="">carla.j.bernhardt@gmail.com</a>> wrote:<br class="">
> >> >> > Hi All,<br class="">
> >> >> ><br class="">
> >> >> > A follow-up question: In using arbitrary_grid (but with enzo data),<br class="">
> >> how<br class="">
> >> >> > does<br class="">
> >> >> > one then extract a field of an arbitrary_grid? I tried<br class="">
> >> >> > arbgrid["density"] as<br class="">
> >> >> > I have done with a smoothed_covering_grid object, but it does not<br class="">
> >> work<br class="">
> >> >> > (here<br class="">
> >> >> > is the traceback I got).<br class="">
> >> >> ><br class="">
> >> >> > Thanks,<br class="">
> >> >> > Carla<br class="">
> >> >> ><br class="">
> >> >> > 2016-02-23 17:21 GMT+01:00 Matthew Turk <<a href="mailto:matthewturk@gmail.com" class="">matthewturk@gmail.com</a>>:<br class="">
> >> >> >><br class="">
> >> >> >> Hi Desika,<br class="">
> >> >> >><br class="">
> >> >> >> Yup, this can be done reasonably easily using either the<br class="">
> >> >> >> .arbitrary_grid object (which was designed for this) or the<br class="">
> >> interface<br class="">
> >> >> >> to the arbitrary grid that's in the development version, which is<br class="">
> >> >> >> ds.r[ ... ] where the ... is some combination of bounds and steps.<br class="">
> >> >> >><br class="">
> >> >> >><br class="">
> >> <a href="http://yt-project.org/docs/dev/analyzing/objects.html#arbitrary-grid" rel="noreferrer" target="_blank" class="">http://yt-project.org/docs/dev/analyzing/objects.html#arbitrary-grid</a><br class="">
> >> >> >><br class="">
> >> >> >><br class="">
> >> >> >><br class="">
> >><br class="">
> <a href="http://yt-project.org/docs/dev/analyzing/objects.html#slicing-syntax-for-selecting-data" rel="noreferrer" target="_blank" class="">http://yt-project.org/docs/dev/analyzing/objects.html#slicing-syntax-for-selecting-data</a><br class="">
> >> >> >><br class="">
> >> >> >> On Tue, Feb 23, 2016 at 10:18 AM, Desika Narayanan<br class="">
> >> >> >> <<a href="mailto:desika.narayanan@gmail.com" class="">desika.narayanan@gmail.com</a>> wrote:<br class="">
> >> >> >> > Hi All,<br class="">
> >> >> >> ><br class="">
> >> >> >> > Is it possible to deposit the particles from a gadget data set<br class="">
> >> onto a<br class="">
> >> >> >> > uniform grid in yt?  Or, could it be possible to trick the<br class="">
> octree<br class="">
> >> >> >> > deposition<br class="">
> >> >> >> > into doing it by forcing no refinements, but some sort of native<br class="">
> >> grid<br class="">
> >> >> >> > resolution?<br class="">
> >> >> >> ><br class="">
> >> >> >> > thanks,<br class="">
> >> >> >> > desika<br class="">
> >> >> >> ><br class="">
> >> >> >> ><br class="">
> >> >> >> > _______________________________________________<br class="">
> >> >> >> > yt-users mailing list<br class="">
> >> >> >> > <a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">
> >> >> >> > <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank" class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="">
> >> >> >> ><br class="">
> >> >> >> _______________________________________________<br class="">
> >> >> >> yt-users mailing list<br class="">
> >> >> >> <a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">
> >> >> >> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank" class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="">
> >> >> ><br class="">
> >> >> ><br class="">
> >> >> ><br class="">
> >> >> > _______________________________________________<br class="">
> >> >> > yt-users mailing list<br class="">
> >> >> > <a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">
> >> >> > <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank" class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="">
> >> >> ><br class="">
> >> >><br class="">
> >> >><br class="">
> >> >> ------------------------------<br class="">
> >> >><br class="">
> >> >> Subject: Digest Footer<br class="">
> >> >><br class="">
> >> >> _______________________________________________<br class="">
> >> >> yt-users mailing list<br class="">
> >> >> <a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">
> >> >> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank" class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="">
> >> >><br class="">
> >> >><br class="">
> >> >> ------------------------------<br class="">
> >> >><br class="">
> >> >> End of yt-users Digest, Vol 97, Issue 34<br class="">
> >> >> ****************************************<br class="">
> >> ><br class="">
> >> ><br class="">
> >> ><br class="">
> >> ><br class="">
> >> > --<br class="">
> >> > SK2<br class="">
> >> ><br class="">
> >> > "Claiming that something can move faster than light is a good<br class="">
> >> > conversation-stopper in physics. People edge away from you in cocktail<br class="">
> >> > parties; friends never return phone calls. You just don?t mess with<br class="">
> >> Albert<br class="">
> >> > Einstein."<br class="">
> >> ><br class="">
> >> ><br class="">
> >> > _______________________________________________<br class="">
> >> > yt-users mailing list<br class="">
> >> > <a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">
> >> > <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank" class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="">
> >> ><br class="">
> >><br class="">
> >><br class="">
> >> ------------------------------<br class="">
> >><br class="">
> >> Message: 4<br class="">
> >> Date: Wed, 30 Mar 2016 18:01:04 -0400<br class="">
> >> From: Jonah Miller <<a href="mailto:jonah.maxwell.miller@gmail.com" class="">jonah.maxwell.miller@gmail.com</a>><br class="">
> >> To: <a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">
> >> Subject: Re: [yt-users] load spherical polar coordinate data with mesh<br class="">
> >>         refinement in HDF5<br class="">
> >> Message-ID: <<a href="mailto:56FC4CA0.4030403@gmail.com" class="">56FC4CA0.4030403@gmail.com</a>><br class="">
> >> Content-Type: text/plain; charset=windows-1252; format=flowed<br class="">
> >><br class="">
> >> Hi Yanfei,<br class="">
> >><br class="">
> >> To add to Matt's comment. Here is the documentation for using<br class="">
> >> load_hexahedral_mesh.<br class="">
> >><br class="">
> >><br class="">
> <a href="http://yt-project.org/doc/examining/loading_data.html#semi-structured-grid-data" rel="noreferrer" target="_blank" class="">http://yt-project.org/doc/examining/loading_data.html#semi-structured-grid-data</a><br class="">
> >><br class="">
> >><br class="">
> <a href="http://yt-project.org/doc/reference/api/generated/yt.frontends.stream.data_structures.load_hexahedral_mesh.html" rel="noreferrer" target="_blank" class="">http://yt-project.org/doc/reference/api/generated/yt.frontends.stream.data_structures.load_hexahedral_mesh.html</a><br class="">
> >><br class="">
> >> Best,<br class="">
> >> Jonah<br class="">
> >><br class="">
> >> On 16-03-30 05:15 PM, Matthew Turk wrote:<br class="">
> >> > Hi Yanfei,<br class="">
> >> ><br class="">
> >> > This is possible -- but it will also slow some things down.  You can<br class="">
> >> > use the load_hexahedral_mesh function, and there're examples of this.<br class="">
> >> > This takes away some of the optimizations that regular grids can do,<br class="">
> >> > but we're hoping to add them back in shortly.  Like the other<br class="">
> >> > functions it too takes a geometry argument.<br class="">
> >> ><br class="">
> >> > -Matt<br class="">
> >> ><br class="">
> >> > On Wed, Mar 30, 2016 at 2:49 PM, Jiang, Yanfei<br class="">
> >> > <<a href="mailto:yanfei.jiang@cfa.harvard.edu" class="">yanfei.jiang@cfa.harvard.edu</a>> wrote:<br class="">
> >> >> Hi Jonah,<br class="">
> >> >><br class="">
> >> >>     I am able to load the data to yt now using load_amr_grids(). I<br class="">
> >> notice<br class="">
> >> >> that it can also set geometry to spherical. This is great. But to<br class="">
> make<br class="">
> >> life<br class="">
> >> >> more complicate. Is it possible to let yt know that the grid is<br class="">
> >> logarithmic?<br class="">
> >> >> Currently, load_amr_grids() just take left and right edges of each<br class="">
> >> block. I<br class="">
> >> >> guess yt assumes the grid is uniform between left and right edges. Is<br class="">
> >> it<br class="">
> >> >> possible to provide arrays of coordinate values for each cell in each<br class="">
> >> block?<br class="">
> >> >><br class="">
> >> >> Thanks.<br class="">
> >> >><br class="">
> >> >> On Tue, Mar 29, 2016 at 6:58 PM, Jonah Miller<br class="">
> >> >> <<a href="mailto:jonah.maxwell.miller@gmail.com" class="">jonah.maxwell.miller@gmail.com</a>> wrote:<br class="">
> >> >>> Hi Yan-Feng,<br class="">
> >> >>><br class="">
> >> >>> I haven't tried it, but I think there is functionality for this. You<br class="">
> >> can<br class="">
> >> >>> use the load_amr_grids() function which can load amr data in<br class="">
> >> Cartesian,<br class="">
> >> >>> spherical, or polar coordinates. Here's the documentation:<br class="">
> >> >>><br class="">
> >> >>><br class="">
> >> >>><br class="">
> >><br class="">
> <a href="http://yt-project.org/doc/examining/generic_array_data.html#loading-numpy-array" rel="noreferrer" target="_blank" class="">http://yt-project.org/doc/examining/generic_array_data.html#loading-numpy-array</a><br class="">
> >> >>><br class="">
> >> >>><br class="">
> >> >>><br class="">
> >><br class="">
> <a href="http://yt-project.org/doc/reference/api/generated/yt.frontends.stream.data_structures.load_amr_grids.html#yt.frontends.stream.data_structures.load_amr_grids" rel="noreferrer" target="_blank" class="">http://yt-project.org/doc/reference/api/generated/yt.frontends.stream.data_structures.load_amr_grids.html#yt.frontends.stream.data_structures.load_amr_grids</a><br class="">
> >> >>><br class="">
> >> >>> Best,<br class="">
> >> >>> Jonah<br class="">
> >> >>><br class="">
> >> >>> On Tue, Mar 29, 2016, 6:35 PM Jiang, Yanfei <<br class="">
> >> <a href="mailto:yanfei.jiang@cfa.harvard.edu" class="">yanfei.jiang@cfa.harvard.edu</a>><br class="">
> >> >>> wrote:<br class="">
> >> >>>> Hi,<br class="">
> >> >>>>           I have some data from a new version of Athena<br class="">
> simulations.<br class="">
> >> It is<br class="">
> >> >>>> in spherical polar coordinate with mesh refinement written in HDF5.<br class="">
> >> The data<br class="">
> >> >>>> structure is similar to flash data but not the same. Does anyone<br class="">
> have<br class="">
> >> >>>> suggestions to load such data to yt directly?<br class="">
> >> >>>><br class="">
> >> >>>> Thank you.<br class="">
> >> >>>> --<br class="">
> >> >>>> Yan-Fei Jiang<br class="">
> >> >>>><br class="">
> >> >>>> Einstein Fellow<br class="">
> >> >>>> Harvard-Smithsonian Center for Astrophysics<br class="">
> >> >>>> 60 Garden Street, Cambridge MA USA 02138<br class="">
> >> >>>> _______________________________________________<br class="">
> >> >>>> yt-users mailing list<br class="">
> >> >>>> <a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">
> >> >>>> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank" class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="">
> >> >>><br class="">
> >> >>> _______________________________________________<br class="">
> >> >>> yt-users mailing list<br class="">
> >> >>> <a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">
> >> >>> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank" class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="">
> >> >>><br class="">
> >> >><br class="">
> >> >><br class="">
> >> >> --<br class="">
> >> >> Yan-Fei Jiang<br class="">
> >> >><br class="">
> >> >> Einstein Fellow<br class="">
> >> >> Harvard-Smithsonian Center for Astrophysics<br class="">
> >> >> 60 Garden Street, Cambridge MA USA 02138<br class="">
> >> >><br class="">
> >> >> _______________________________________________<br class="">
> >> >> yt-users mailing list<br class="">
> >> >> <a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">
> >> >> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank" class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="">
> >> >><br class="">
> >> > _______________________________________________<br class="">
> >> > yt-users mailing list<br class="">
> >> > <a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">
> >> > <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank" class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="">
> >><br class="">
> >><br class="">
> >><br class="">
> >> ------------------------------<br class="">
> >><br class="">
> >> Subject: Digest Footer<br class="">
> >><br class="">
> >> _______________________________________________<br class="">
> >> yt-users mailing list<br class="">
> >> <a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">
> >> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank" class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="">
> >><br class="">
> >><br class="">
> >> ------------------------------<br class="">
> >><br class="">
> >> End of yt-users Digest, Vol 97, Issue 37<br class="">
> >> ****************************************<br class="">
> >><br class="">
> ><br class="">
> ><br class="">
> ><br class="">
> > --<br class="">
> > *SK2*<br class="">
> ><br class="">
> > *"**Claiming that something can move faster than light is a good<br class="">
> > conversation-stopper in physics. People edge away from you in cocktail<br class="">
> > parties; friends never return phone calls. You just don?t mess with<br class="">
> Albert<br class="">
> > Einstein.**"*<br class="">
> ><br class="">
> ><br class="">
> > _______________________________________________<br class="">
> > yt-users mailing list<br class="">
> > <a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">
> > <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank" class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="">
> ><br class="">
> ><br class="">
> -------------- next part --------------<br class="">
> An HTML attachment was scrubbed...<br class="">
> URL: <<br class="">
> <a href="http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160331/b739cfe9/attachment.htm" rel="noreferrer" target="_blank" class="">http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160331/b739cfe9/attachment.htm</a><br class="">
> ><br class="">
><br class="">
> ------------------------------<br class="">
><br class="">
> Subject: Digest Footer<br class="">
><br class="">
> _______________________________________________<br class="">
> yt-users mailing list<br class="">
> <a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank" class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="">
><br class="">
><br class="">
> ------------------------------<br class="">
><br class="">
> End of yt-users Digest, Vol 97, Issue 39<br class="">
> ****************************************<br class="">
><br class="">
<br class="">
<br class="">
<br class="">
--<br class="">
*SK2*<br class="">
<br class="">
*"**Claiming that something can move faster than light is a good<br class="">
conversation-stopper in physics. People edge away from you in cocktail<br class="">
parties; friends never return phone calls. You just don?t mess with Albert<br class="">
Einstein.**"*<br class="">
-------------- next part --------------<br class="">
An HTML attachment was scrubbed...<br class="">
URL: <<a href="http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160331/f4f56e5d/attachment.htm" rel="noreferrer" target="_blank" class="">http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160331/f4f56e5d/attachment.htm</a>><br class="">
<br class="">
------------------------------<br class="">
<br class="">
Subject: Digest Footer<br class="">
<br class="">
_______________________________________________<br class="">
yt-users mailing list<br class="">
<a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank" class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="">
<br class="">
<br class="">
------------------------------<br class="">
<br class="">
End of yt-users Digest, Vol 97, Issue 41<br class="">
****************************************<br class="">
</blockquote></div><br class=""><br clear="all" class=""><br class="">-- <br class=""><div class="gmail_signature"><span style="border-collapse:collapse" class=""><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px" class=""><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse" class=""><b class=""><i class="">SK<sup class="">2</sup></i></b></span></div><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px" class=""><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse" class=""><b class=""><i class=""><sup class=""><br class=""></sup></i></b></span></div><div class=""><span style="color:rgb(80,0,80);font-family:arial,sans-serif;border-collapse:collapse" class=""><b class=""><sup class="">"</sup></b></span><font face="arial, sans-serif" color="#500050" class=""><b class="">Claiming that something can move faster than light is a good conversation-stopper in physics. People edge away from you in cocktail parties; friends never return phone calls. You just don’t mess with Albert Einstein.</b></font><b style="color:rgb(80,0,80);font-family:arial,sans-serif" class=""><sup class="">"</sup></b></div><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px" class=""><br class=""></div></span></div>
</div></div></div></div></div></div></div></div></div>
_______________________________________________<br class="">yt-users mailing list<br class=""><a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org<br class=""></div></blockquote></div><br class=""></div></body></html>