On Fri, Nov 4, 2016 at 12:28 PM, Nathan Goldbaum <nathan12343@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@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