[yt-dev] Question: file format recognition for GAMER
Nathan Goldbaum
nathan12343 at gmail.com
Mon Oct 29 01:19:10 PDT 2012
Hi Hsi-Yu,
To add on to what Kacper said, you'll probably find this wiki entry useful:
https://bitbucket.org/yt_analysis/yt/wiki/AddingSupportForANewCode
-Nathan
On 10/29/12 1:00 AM, Hsi-Yu Schive wrote:
> Dear all,
> I have two simple questions about adding support of GAMER in yt.
> 1. How does YT distinguish between data generated from different codes?
> For example, if I want to do something like
> pf = load( "GAMER_Data0000" )
> to load the GAMER data, how to make YT realize that it is GAMER output
> instead of, for example, Enzo or FLASH data?
> What kind of information I should provide in the
> "frontends/gamer/XXX.py" scripts and the GAMER output
> file "GAMER_Data0000"
> in order to achieve that?
> 2. After I implement all routines in the "frontends/gamer/XXX/py"
> scripts, how to recompile YT so that I could test
> whether the GAMER data can be loaded and analyzed successfully? From
> the information on the "How to Develop yt" website,
> it seems that I should try:
> cd $YT_DEST/src/yt-hg/
> python setup.py develop
> I was wondering whether that's exactly what I should do to test the
> new scripts?
> Thanks in advance for any help : )
> Sincerely,
> Hsi-Yu
>
>
> _______________________________________________
> yt-dev mailing list
> yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
More information about the yt-dev
mailing list