[yt-users] reading the fields correctly (ramses-rt)

sacielo sacielo at gmail.com
Mon Jun 5 06:57:23 PDT 2017


Hi Nathan,
thanks for your reply. I had no idea this issue existed already, but
perhaps I can think
of some simple solution. I have been checking with some true ramses-rt
expert, and we are
quite confident we can do this.
News will (hopefully) follow soon.

Best,

On Wed, May 31, 2017 at 11:39 PM, <yt-users-request at lists.spacepope.org>
wrote:

> Send yt-users mailing list submissions to
>         yt-users at lists.spacepope.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> or, via email, send a message with subject or body 'help' to
>         yt-users-request at lists.spacepope.org
>
> You can reach the person managing the list at
>         yt-users-owner at lists.spacepope.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of yt-users digest..."
>
>
> Today's Topics:
>
>    1. reading the fields correctly (ramses-rt) (sacielo)
>    2. Re: reading the fields correctly (ramses-rt) (Nathan Goldbaum)
>    3. Covering GIZMO data to uniform grid (???)
>    4. Re: Covering GIZMO data to uniform grid (Nathan Goldbaum)
>    5. Re: Covering GIZMO data to uniform grid (???)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 31 May 2017 21:01:17 +0200
> From: sacielo <sacielo at gmail.com>
> To: yt-users at lists.spacepope.org
> Subject: [yt-users] reading the fields correctly (ramses-rt)
> Message-ID:
>         <CALAgqdLMTbUv1L+BPW=n-D4K3jo-bNZi01pKm9rkyirKkMZ99A at mail.
> gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi all,
>
> I'm experiencing a little trouble in reading some RAMSES files which
> include radiative transfer.
> In this (broadly used) implementation some of the fields do not follow the
> order they have classical RAMSES files; e.g. the pressure field is later in
> the fields list. Indeed when I read the files those fields do not have the
> correct content.
>
> Can someone please suggest a possible workaround? For instance a plugin for
> this kind of files, if it exists, or suggest how I could swap the fields,
> or rename them with the correct name?
> I do not want simply to create new fields, without correcting the default
> ones, as all derived fields (and possibly other valuable yt features) would
> not work properly.
>
> Thank you very much!
>
> Best,
>
> Salvatore
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.
> org/attachments/20170531/ada41771/attachment-0001.htm>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 31 May 2017 14:13:07 -0500
> From: Nathan Goldbaum <nathan12343 at gmail.com>
> To: Discussion of the yt analysis package
>         <yt-users at lists.spacepope.org>
> Subject: Re: [yt-users] reading the fields correctly (ramses-rt)
> Message-ID:
>         <CAJXewOkKBdcXp00fXYBxSs2cBGFiVUJeb8g5Op1NoL1OSQkzpA at mail.
> gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Salvatore,
>
> I think we'll need to add support for these data formats to yt itself.
>
> Before we moved to github there were some attempts to add support for more
> ramses fields in these pull requests:
>
> https://bitbucket.org/yt_analysis/yt/pull-requests/1464
> https://bitbucket.org/yt_analysis/yt/pull-requests/2139
> https://bitbucket.org/yt_analysis/yt/pull-requests/2499
> https://bitbucket.org/yt_analysis/yt/pull-requests/2500
>
> Unfortunately none of those efforts proceeded to the point where we could
> merge the code in.
>
> If you'd be interested in working on this, I think it would be a great
> initial contribution to yt.
>
> If you're not interested in adding support for this, then we could at least
> open an issue to track this feature request:
>
> https://github.com/yt-project/yt/issues/new
>
> It would also be nice if you could include some sample datasets that
> someone who is interested in working on this but does not have access to
> ramses-rt could use to debug with while working on this feature.
>
> In the end yt's support for data formats is limited by what sorts of data
> the developers who have worked on any given part of the codebase have had
> access to. Unfortunately given the culture of astronomical simulation
> codes, that sometimes means we do not support all possible versions of a
> given data format simply because we were not aware of that subset of the
> data format when we initially added support.
>
> Hope that helps,
>
> Nathan
>
> On Wed, May 31, 2017 at 2:01 PM, sacielo <sacielo at gmail.com> wrote:
>
> > Hi all,
> >
> > I'm experiencing a little trouble in reading some RAMSES files which
> > include radiative transfer.
> > In this (broadly used) implementation some of the fields do not follow
> the
> > order they have classical RAMSES files; e.g. the pressure field is later
> in
> > the fields list. Indeed when I read the files those fields do not have
> the
> > correct content.
> >
> > Can someone please suggest a possible workaround? For instance a plugin
> > for this kind of files, if it exists, or suggest how I could swap the
> > fields, or rename them with the correct name?
> > I do not want simply to create new fields, without correcting the default
> > ones, as all derived fields (and possibly other valuable yt features)
> would
> > not work properly.
> >
> > Thank you very much!
> >
> > Best,
> >
> > Salvatore
> >
> > _______________________________________________
> > yt-users mailing list
> > yt-users at lists.spacepope.org
> > http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.
> org/attachments/20170531/8f143504/attachment-0001.htm>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 1 Jun 2017 05:11:28 +0800
> From: ??? <setsuna at phys.tw>
> To: yt-users at lists.spacepope.org
> Subject: [yt-users] Covering GIZMO data to uniform grid
> Message-ID:
>         <CAEtGJOwBwxmcUxb4QTG_gwXbxQrmwiEx-8enFVn8L7ZC-
> sMrtw at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hello yt-commuinty,
>
> I was trying to use yt to analyse GIZMO data.
> Is there a function which can translate GIZMO gas data,particle0, to
> uniform grid with neutral hydrogen,velocity,temperature.etc?
> I know the "deposit " field and covering_grid in yt, but "deposit"  isn't
> uniform and covering_grid is designed for grid-like data..
>
> Thank you!
> Edward
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.
> org/attachments/20170601/c99f249c/attachment-0001.htm>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 31 May 2017 21:14:03 +0000
> From: Nathan Goldbaum <nathan12343 at gmail.com>
> To: Discussion of the yt analysis package
>         <yt-users at lists.spacepope.org>
> Subject: Re: [yt-users] Covering GIZMO data to uniform grid
> Message-ID:
>         <CAJXewOkYxpiOixKJbbDGPJYXPhtgfkudN0zjptQS2V5QX9nCLA at mail.
> gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> The covering grid should work with deposit fields.
>
> You could also look at the arbitrary_grid, which is a little bit less
> restrictive than covering_grid about the resolution and left and right
> edge.
>
>
> On Wed, May 31, 2017 at 4:11 PM ??? <setsuna at phys.tw> wrote:
>
> > Hello yt-commuinty,
> >
> > I was trying to use yt to analyse GIZMO data.
> > Is there a function which can translate GIZMO gas data,particle0, to
> > uniform grid with neutral hydrogen,velocity,temperature.etc?
> > I know the "deposit " field and covering_grid in yt, but "deposit"  isn't
> > uniform and covering_grid is designed for grid-like data..
> >
> > Thank you!
> > Edward
> > _______________________________________________
> > yt-users mailing list
> > yt-users at lists.spacepope.org
> > http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.
> org/attachments/20170531/105b3190/attachment-0001.htm>
>
> ------------------------------
>
> Message: 5
> Date: Thu, 1 Jun 2017 05:39:43 +0800
> From: ??? <setsuna at phys.tw>
> To: Discussion of the yt analysis package
>         <yt-users at lists.spacepope.org>
> Subject: Re: [yt-users] Covering GIZMO data to uniform grid
> Message-ID:
>         <CAEtGJOzMpv7HVmHU=nRnLt7nbcjeNaRKFh+bEDreM_4-n95v3w at mail.
> gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Nathan!
>
> Do you mean that I should put deposit fields instead of GIZMO data into
> covering grid/ arbitrary_grid?
>
> 2017-06-01 5:14 GMT+08:00 Nathan Goldbaum <nathan12343 at gmail.com>:
>
> > The covering grid should work with deposit fields.
> >
> > You could also look at the arbitrary_grid, which is a little bit less
> > restrictive than covering_grid about the resolution and left and right
> edge.
> >
> >
> > On Wed, May 31, 2017 at 4:11 PM ??? <setsuna at phys.tw> wrote:
> >
> >> Hello yt-commuinty,
> >>
> >> I was trying to use yt to analyse GIZMO data.
> >> Is there a function which can translate GIZMO gas data,particle0, to
> >> uniform grid with neutral hydrogen,velocity,temperature.etc?
> >> I know the "deposit " field and covering_grid in yt, but "deposit"
> isn't
> >> uniform and covering_grid is designed for grid-like data..
> >>
> >> Thank you!
> >> Edward
> >> _______________________________________________
> >> yt-users mailing list
> >> yt-users at lists.spacepope.org
> >> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> >>
> >
> > _______________________________________________
> > yt-users mailing list
> > yt-users at lists.spacepope.org
> > http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.
> org/attachments/20170601/f6cd25ef/attachment.htm>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
> ------------------------------
>
> End of yt-users Digest, Vol 111, Issue 51
> *****************************************
>



-- 
Salvatore
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20170605/47498aec/attachment.htm>


More information about the yt-users mailing list