[yt-users] help

John ZuHone jzuhone at gmail.com
Fri Mar 23 10:12:15 PDT 2012


Hi Nick,

You need to give the full path to your file for load to read it. If it's in the current directory you are in, then just the filename should suffice, but if it's in this directory called "SCRATCH", then you need to provide the full path to that directory in the load command. 

Can you go to this directory and try it out, or have you done that already?

Best,

John

On Mar 23, 2012, at 1:07 PM, Nicholas David Tillman wrote:

> Hey John,
> 
> Okay that cleared a lot of things up, I thought the file came with the program just as a sample to use. So that's my mistake. But for my own file which is in the format "cloud_hdf5_plt_cnt_0221", it does exist in this 'SCRATCH' directory and I get that exact error message. So is the problem possibly is that it can't locate it? 
> 
> Thanks,
> Nick 
> 
> ----- Original Message -----
> From: "John ZuHone" <jzuhone at gmail.com>
> To: "Discussion of the yt analysis package" <yt-users at lists.spacepope.org>
> Sent: Friday, March 23, 2012 11:55:06 AM
> Subject: Re: [yt-users] help
> 
> Hi Nick,
> 
> No worries!
> 
> Another quick question, which may reflect some ignorance on my part. Do you have the file "RD0005/RedshiftOutput0005"? Unless I am mistaken, the example script is there to show just how such a read would be done, and what the resulting plot would be, but I don't think that we provide a place to download that file. 
> 
> That script only works if the directory "RD0005" containing that file is in your path, and the file doesn't come with the distribution. If you issue the load command on a non-existent file, the error message you saw is what you get:
> 
> In [3]: pf = load("blah")
> yt : [ERROR    ] 2012-03-23 12:51:56,506 Couldn't figure out output type for blah
> 
> Which means that a) the example page probably should be a little clearer that these files are not part of the distribution and b) that we should probably have a more explicit error message when one attempts to load a non-existent file. Sorry about the confusion!
> 
> Best,
> 
> John
> 
> On Mar 23, 2012, at 12:47 PM, Nicholas David Tillman wrote:
> 
>> Hey John,
>> 
>> So that could be part of the problem, but shouldn't it be loaded nonetheless? I mean all I tried doing was the sample script in the comman line interface, and I was getting the error of not being able to identify the output type. 
>> 
>> like I said, bear with me please, I'm pretty new with all this.
>> 
>> Nick
>> 
>> ----- Original Message -----
>> From: "John ZuHone" <jzuhone at gmail.com>
>> To: "Discussion of the yt analysis package" <yt-users at lists.spacepope.org>
>> Sent: Friday, March 23, 2012 11:39:33 AM
>> Subject: Re: [yt-users] help
>> 
>> Hi Nick,
>> 
>> Sorry, I'm a little confused. RD0005/RedshiftOutput0005 is an Enzo file. 
>> 
>> Best,
>> 
>> John Z
>> 
>> On Mar 23, 2012, at 12:37 PM, Nicholas David Tillman wrote:
>> 
>>> Hey John,
>>> 
>>> Right now I'm using the latest version, and I believe I'm using checkpoint files. 
>>> 
>>> Thanks,
>>> Nick
>>> 
>>> ----- Original Message -----
>>> From: "John ZuHone" <jzuhone at gmail.com>
>>> To: "Discussion of the yt analysis package" <yt-users at lists.spacepope.org>
>>> Sent: Friday, March 23, 2012 11:12:59 AM
>>> Subject: Re: [yt-users] help
>>> 
>>> Hi Nick,
>>> 
>>> In particular, it would be most helpful to know which version of FLASH the file is and if it is a particle file, a plotfile, or a checkpoint file.
>>> 
>>> Best,
>>> 
>>> John ZuHone
>>> 
>>> On Mar 23, 2012, at 12:11 PM, j s oishi wrote:
>>> 
>>>> Hi Nick,
>>>> 
>>>> Welcome to yt! Sorry to hear you're having problems.
>>>> 
>>>>> Every time I try to upload a file as FLASH, I get an error message saying that it couldn't figure out the output type. I even went back and tried using a sample file, still got the same error message.
>>>> 
>>>> Can you send more information? We cannot diagnose any problems without
>>>> much more detail. Were you using the command line interface, or are
>>>> you trying to load from a script? If the latter, can you send the
>>>> script? What FLASH sample file did you try?
>>>> 
>>>> jeff
>>>> _______________________________________________
>>>> 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
>>> _______________________________________________
>>> 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
>> _______________________________________________
>> 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
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org




More information about the yt-users mailing list