[yt-users] .yt file

Michael Kuhlen mqk at astro.berkeley.edu
Thu Dec 9 21:03:48 PST 2010


> I see that the file is in HDF5 format. Would it be safe to just delete
> the one offending dataset from it?

It seems the answer to this is "yes". At least it appears to be working
for me.

It just occurred to me that this issue will arise more generically (not
just in the case of a bug), when the user-defined derived field depends
on some externally supplied parameters.

Mike

On 12/09/2010 08:36 PM, Michael Kuhlen wrote:
> Hi
> 
> I'm experimenting with a new user defined derived quantity, and
> occasionally I've used a buggy version of this to create a projection
> (say), which then got saved to the .yt file. After fixing the bug in the
> definition of my derived quantity, I'd like to try out the new version,
> but of course yt will read the old buggy version from the .yt file. I
> could just delete the .yt file, but it's storing a lot of other correct
> projections and I'd like to avoid re-running these.
> 
> Is there some keyword to force yt to skip reading from the .yt file?
> And/or one to force it not to write to the .yt in the first place?
> 
> I see that the file is in HDF5 format. Would it be safe to just delete
> the one offending dataset from it?
> 
> Mike
> 
> 
> 
> 
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org

-- 
*********************************************************************
*                                                                   *
*  Dr. Michael Kuhlen              Theoretical Astrophysics Center  *
*  email: mqk at astro.berkeley.edu   UC Berkeley                      *
*  cell phone: (831) 588-1468      601 Campbell Hall                *
*  skype username: mikekuhlen      Berkeley, CA 94720               *
*                                                                   *
*********************************************************************

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20101209/fb402ef1/attachment.sig>


More information about the yt-users mailing list