<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Hi Nathan,<br></div><div class="gmail_default" style="font-family:monospace,monospace">thanks for your reply. I had no idea this issue existed already, but perhaps I can think <br></div><div class="gmail_default" style="font-family:monospace,monospace">of some simple solution. I have been checking with some true ramses-rt expert, and we are <br></div><div class="gmail_default" style="font-family:monospace,monospace">quite confident we can do this.<br></div><div class="gmail_default" style="font-family:monospace,monospace">News will (hopefully) follow soon.<br><br></div><div class="gmail_default" style="font-family:monospace,monospace">Best,<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 31, 2017 at 11:39 PM,  <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" rel="noreferrer" target="_blank">http://lists.spacepope.org/<wbr>listinfo.cgi/yt-users-<wbr>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.<wbr>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.<wbr>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. reading the fields correctly (ramses-rt) (sacielo)<br>
   2. Re: reading the fields correctly (ramses-rt) (Nathan Goldbaum)<br>
   3. Covering GIZMO data to uniform grid (???)<br>
   4. Re: Covering GIZMO data to uniform grid (Nathan Goldbaum)<br>
   5. Re: Covering GIZMO data to uniform grid (???)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Wed, 31 May 2017 21:01:17 +0200<br>
From: sacielo <<a href="mailto:sacielo@gmail.com">sacielo@gmail.com</a>><br>
To: <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
Subject: [yt-users] reading the fields correctly (ramses-rt)<br>
Message-ID:<br>
        <CALAgqdLMTbUv1L+BPW=<a href="mailto:n-D4K3jo-bNZi01pKm9rkyirKkMZ99A@mail.gmail.com">n-D4K3jo-<wbr>bNZi01pKm9rkyirKkMZ99A@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi all,<br>
<br>
I'm experiencing a little trouble in reading some RAMSES files which<br>
include radiative transfer.<br>
In this (broadly used) implementation some of the fields do not follow the<br>
order they have classical RAMSES files; e.g. the pressure field is later in<br>
the fields list. Indeed when I read the files those fields do not have the<br>
correct content.<br>
<br>
Can someone please suggest a possible workaround? For instance a plugin for<br>
this kind of files, if it exists, or suggest how I could swap the fields,<br>
or rename them with the correct name?<br>
I do not want simply to create new fields, without correcting the default<br>
ones, as all derived fields (and possibly other valuable yt features) would<br>
not work properly.<br>
<br>
Thank you very much!<br>
<br>
Best,<br>
<br>
Salvatore<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20170531/ada41771/attachment-0001.htm" rel="noreferrer" target="_blank">http://lists.spacepope.org/<wbr>pipermail/yt-users-spacepope.<wbr>org/attachments/20170531/<wbr>ada41771/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 31 May 2017 14:13:07 -0500<br>
From: Nathan Goldbaum <<a href="mailto:nathan12343@gmail.com">nathan12343@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] reading the fields correctly (ramses-rt)<br>
Message-ID:<br>
        <<a href="mailto:CAJXewOkKBdcXp00fXYBxSs2cBGFiVUJeb8g5Op1NoL1OSQkzpA@mail.gmail.com">CAJXewOkKBdcXp00fXYBxSs2cBGFi<wbr>VUJeb8g5Op1NoL1OSQkzpA@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi Salvatore,<br>
<br>
I think we'll need to add support for these data formats to yt itself.<br>
<br>
Before we moved to github there were some attempts to add support for more<br>
ramses fields in these pull requests:<br>
<br>
<a href="https://bitbucket.org/yt_analysis/yt/pull-requests/1464" rel="noreferrer" target="_blank">https://bitbucket.org/yt_<wbr>analysis/yt/pull-requests/1464</a><br>
<a href="https://bitbucket.org/yt_analysis/yt/pull-requests/2139" rel="noreferrer" target="_blank">https://bitbucket.org/yt_<wbr>analysis/yt/pull-requests/2139</a><br>
<a href="https://bitbucket.org/yt_analysis/yt/pull-requests/2499" rel="noreferrer" target="_blank">https://bitbucket.org/yt_<wbr>analysis/yt/pull-requests/2499</a><br>
<a href="https://bitbucket.org/yt_analysis/yt/pull-requests/2500" rel="noreferrer" target="_blank">https://bitbucket.org/yt_<wbr>analysis/yt/pull-requests/2500</a><br>
<br>
Unfortunately none of those efforts proceeded to the point where we could<br>
merge the code in.<br>
<br>
If you'd be interested in working on this, I think it would be a great<br>
initial contribution to yt.<br>
<br>
If you're not interested in adding support for this, then we could at least<br>
open an issue to track this feature request:<br>
<br>
<a href="https://github.com/yt-project/yt/issues/new" rel="noreferrer" target="_blank">https://github.com/yt-project/<wbr>yt/issues/new</a><br>
<br>
It would also be nice if you could include some sample datasets that<br>
someone who is interested in working on this but does not have access to<br>
ramses-rt could use to debug with while working on this feature.<br>
<br>
In the end yt's support for data formats is limited by what sorts of data<br>
the developers who have worked on any given part of the codebase have had<br>
access to. Unfortunately given the culture of astronomical simulation<br>
codes, that sometimes means we do not support all possible versions of a<br>
given data format simply because we were not aware of that subset of the<br>
data format when we initially added support.<br>
<br>
Hope that helps,<br>
<br>
Nathan<br>
<br>
On Wed, May 31, 2017 at 2:01 PM, sacielo <<a href="mailto:sacielo@gmail.com">sacielo@gmail.com</a>> wrote:<br>
<br>
> Hi all,<br>
><br>
> I'm experiencing a little trouble in reading some RAMSES files which<br>
> include radiative transfer.<br>
> In this (broadly used) implementation some of the fields do not follow the<br>
> order they have classical RAMSES files; e.g. the pressure field is later in<br>
> the fields list. Indeed when I read the files those fields do not have the<br>
> correct content.<br>
><br>
> Can someone please suggest a possible workaround? For instance a plugin<br>
> for this kind of files, if it exists, or suggest how I could swap the<br>
> fields, or rename them with the correct name?<br>
> I do not want simply to create new fields, without correcting the default<br>
> ones, as all derived fields (and possibly other valuable yt features) would<br>
> not work properly.<br>
><br>
> Thank you very much!<br>
><br>
> Best,<br>
><br>
> Salvatore<br>
><br>
> ______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://lists.spacepope.org/<wbr>listinfo.cgi/yt-users-<wbr>spacepope.org</a><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/20170531/8f143504/attachment-0001.htm" rel="noreferrer" target="_blank">http://lists.spacepope.org/<wbr>pipermail/yt-users-spacepope.<wbr>org/attachments/20170531/<wbr>8f143504/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Thu, 1 Jun 2017 05:11:28 +0800<br>
From: ??? <<a href="mailto:setsuna@phys.tw">setsuna@phys.tw</a>><br>
To: <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
Subject: [yt-users] Covering GIZMO data to uniform grid<br>
Message-ID:<br>
        <<a href="mailto:CAEtGJOwBwxmcUxb4QTG_gwXbxQrmwiEx-8enFVn8L7ZC-sMrtw@mail.gmail.com">CAEtGJOwBwxmcUxb4QTG_<wbr>gwXbxQrmwiEx-8enFVn8L7ZC-<wbr>sMrtw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello yt-commuinty,<br>
<br>
I was trying to use yt to analyse GIZMO data.<br>
Is there a function which can translate GIZMO gas data,particle0, to<br>
uniform grid with neutral hydrogen,velocity,temperature.<wbr>etc?<br>
I know the "deposit " field and covering_grid in yt, but "deposit"  isn't<br>
uniform and covering_grid is designed for grid-like data..<br>
<br>
Thank you!<br>
Edward<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20170601/c99f249c/attachment-0001.htm" rel="noreferrer" target="_blank">http://lists.spacepope.org/<wbr>pipermail/yt-users-spacepope.<wbr>org/attachments/20170601/<wbr>c99f249c/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Wed, 31 May 2017 21:14:03 +0000<br>
From: Nathan Goldbaum <<a href="mailto:nathan12343@gmail.com">nathan12343@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] Covering GIZMO data to uniform grid<br>
Message-ID:<br>
        <<a href="mailto:CAJXewOkYxpiOixKJbbDGPJYXPhtgfkudN0zjptQS2V5QX9nCLA@mail.gmail.com">CAJXewOkYxpiOixKJbbDGPJYXPhtg<wbr>fkudN0zjptQS2V5QX9nCLA@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
The covering grid should work with deposit fields.<br>
<br>
You could also look at the arbitrary_grid, which is a little bit less<br>
restrictive than covering_grid about the resolution and left and right edge.<br>
<br>
<br>
On Wed, May 31, 2017 at 4:11 PM ??? <<a href="mailto:setsuna@phys.tw">setsuna@phys.tw</a>> wrote:<br>
<br>
> Hello yt-commuinty,<br>
><br>
> I was trying to use yt to analyse GIZMO data.<br>
> Is there a function which can translate GIZMO gas data,particle0, to<br>
> uniform grid with neutral hydrogen,velocity,temperature.<wbr>etc?<br>
> I know the "deposit " field and covering_grid in yt, but "deposit"  isn't<br>
> uniform and covering_grid is designed for grid-like data..<br>
><br>
> Thank you!<br>
> Edward<br>
> ______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://lists.spacepope.org/<wbr>listinfo.cgi/yt-users-<wbr>spacepope.org</a><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20170531/105b3190/attachment-0001.htm" rel="noreferrer" target="_blank">http://lists.spacepope.org/<wbr>pipermail/yt-users-spacepope.<wbr>org/attachments/20170531/<wbr>105b3190/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Thu, 1 Jun 2017 05:39:43 +0800<br>
From: ??? <<a href="mailto:setsuna@phys.tw">setsuna@phys.tw</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] Covering GIZMO data to uniform grid<br>
Message-ID:<br>
        <CAEtGJOzMpv7HVmHU=<a href="mailto:nRnLt7nbcjeNaRKFh%2BbEDreM_4-n95v3w@mail.gmail.com">nRnLt7nbcje<wbr>NaRKFh+bEDreM_4-n95v3w@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi Nathan!<br>
<br>
Do you mean that I should put deposit fields instead of GIZMO data into<br>
covering grid/ arbitrary_grid?<br>
<br>
2017-06-01 5:14 GMT+08:00 Nathan Goldbaum <<a href="mailto:nathan12343@gmail.com">nathan12343@gmail.com</a>>:<br>
<br>
> The covering grid should work with deposit fields.<br>
><br>
> You could also look at the arbitrary_grid, which is a little bit less<br>
> restrictive than covering_grid about the resolution and left and right edge.<br>
><br>
><br>
> On Wed, May 31, 2017 at 4:11 PM ??? <<a href="mailto:setsuna@phys.tw">setsuna@phys.tw</a>> wrote:<br>
><br>
>> Hello yt-commuinty,<br>
>><br>
>> I was trying to use yt to analyse GIZMO data.<br>
>> Is there a function which can translate GIZMO gas data,particle0, to<br>
>> uniform grid with neutral hydrogen,velocity,temperature.<wbr>etc?<br>
>> I know the "deposit " field and covering_grid in yt, but "deposit"  isn't<br>
>> uniform and covering_grid is designed for grid-like data..<br>
>><br>
>> Thank you!<br>
>> Edward<br>
>> ______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://lists.spacepope.org/<wbr>listinfo.cgi/yt-users-<wbr>spacepope.org</a><br>
>><br>
><br>
> ______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://lists.spacepope.org/<wbr>listinfo.cgi/yt-users-<wbr>spacepope.org</a><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/20170601/f6cd25ef/attachment.htm" rel="noreferrer" target="_blank">http://lists.spacepope.org/<wbr>pipermail/yt-users-spacepope.<wbr>org/attachments/20170601/<wbr>f6cd25ef/attachment.htm</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://lists.spacepope.org/<wbr>listinfo.cgi/yt-users-<wbr>spacepope.org</a><br>
<br>
<br>
------------------------------<br>
<br>
End of yt-users Digest, Vol 111, Issue 51<br>
******************************<wbr>***********<br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="font-family:monospace,monospace">Salvatore</span></div></div></div></div>
</div></div>