[yt-users] ASCII Data in YT

Britton Smith brittonsmith at gmail.com
Thu Nov 10 04:59:47 PST 2011


Hi Vishaal,

Welcome to yt!

First, I think it might help to explain what yt's load function does.  yt
can operate on datasets produced by a number of simulation codes.  The data
format for each of these codes is pretty different, but usually yt can
figure out what type of data it's dealing with by the format of the file
that is given to the load command.  Even then, the input must be of the
form of one of the supported simulation codes.  For a list of which codes
are supported, you can check here:
http://hg.yt-project.org/yt/wiki/CodeSupportLevels

To help you further, we will need a little more information.  Are you
working with data from a certain simulation code?  What does this file look
like and how specifically would you like to visualize it?

Finally, $YT_DEST is meant to be an environment variable that you could
set.  So for example, if your stuff was in
/home/software/src/yt-hg/test
you could have in your .bashrc file
export YT_DEST=/home/software
and then
cd $YT_DEST/src/yt-hg/tests
would take you right there.

Britton

On Thu, Nov 10, 2011 at 1:48 AM, <vishaalk at umich.edu> wrote:

>
> Hi! I am an undergraduate student who is tasked with learning YT. I have
> gotten it to to work in command line and in the python shell with the given
> data set, but I am tasked with visualizing an ASCII data file of a single
> halo. Is it possible to import ASCII data sets with the load() function in
> the python shell?
>
> Also, to get my python shell working I have to input $ cd /src/yt-hg/tests
> instead of the cd $YT_DEST/src/yt-hg/tests suggested in the orientation
> session. Do you know why this might be?
>
> Thank you for your time.
>
> Sincerely,
> Vishaal Kalwani
> _______________________________________________
> 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/20111110/544f08ad/attachment.htm>


More information about the yt-users mailing list