[yt-users] GDF format issue

Andrea Negri negri.andre at gmail.com
Fri Nov 4 10:36:57 PDT 2016


Hi Nathan,

yt version returns

---
Version = 3.4-dev
Changeset = 334cceb2c6e1 (yt) tip
---


Now I'll try to switch to the stable version.

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
>



More information about the yt-users mailing list