[yt-users] GDF format issue

Nathan Goldbaum nathan12343 at gmail.com
Fri Nov 4 10:58:22 PDT 2016


We've opened an issue to track this:

https://bitbucket.org/yt_analysis/yt/issues/1295/gdf-writing-and-loading-dataset-yields

-Nathan

On Fri, Nov 4, 2016 at 12:39 PM, Nathan Goldbaum <nathan12343 at gmail.com>
wrote:

>
>
> On Fri, Nov 4, 2016 at 12:36 PM, Andrea Negri <negri.andre at gmail.com>
> wrote:
>
>> Hi Nathan,
>>
>> yt version returns
>>
>> ---
>> Version = 3.4-dev
>> Changeset = 334cceb2c6e1 (yt) tip
>> ---
>>
>>
>> Now I'll try to switch to the stable version.
>>
>
> If it's broken there it's broken on stable too.
>
> Kacper is taking a look at this right now.
>
>
>>
>> On 4 November 2016 at 18:32, Nathan Goldbaum <nathan12343 at gmail.com>
>> wrote:
>> >
>> > On Fri, Nov 4, 2016 at 12:28 PM, Nathan Goldbaum <nathan12343 at gmail.com
>> >
>> > wrote:
>> >>
>> >> Hi Andrea
>> >>
>> >> Different how?
>> >
>> >
>> > Ah I see it's in the script you attached, sorry for the confusion.
>> >
>> >>
>> >> I recently fixed a bug in the GDF writer that would cause the field
>> data
>> >> for some grids not to get written out properly That fix should be in yt
>> >> 3.3.2 so if you're using an older version you might want to update.
>> Here's
>> >> the PR with the fix:
>> >>
>> >>
>> >> https://bitbucket.org/yt_analysis/yt/pull-requests/2296/
>> iterate-over-all-grids-in-the-gdf-writer/diff
>> >>
>> >> Nathan
>> >>
>> >> On Friday, November 4, 2016, Andrea Negri <negri.andre at gmail.com>
>> wrote:
>> >>>
>> >>> Hi all,
>> >>>
>> >>> As you have already noted, I'm trying to use the GDF format. Just as
>> >>> an example I created a simple AMR grid, loaded into yt with load_amr
>> >>> and plotted a slice. I then write down the dataset to a gdf file using
>> >>> yt.utilities.grid_data_format.writer.write_to_gdf,  and after loading
>> >>> the very same dataset and doint the slice again, the result is
>> >>> different (verything is in the attached script).
>> >>>
>> >>> Curiously, if I load the sedov dataset downloaded from
>> >>> http://yt-project.org/data/, the slice seems to be OK, I think (but I
>> >>> could be wrong) that there is a problem in the gdf writer.
>> >>>
>> >>>
>> >>> Cheers,
>> >>> Andrea
>> >
>> >
>> >
>> > _______________________________________________
>> > 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/20161104/a104ebac/attachment.htm>


More information about the yt-users mailing list