yt.frontends.gdf.data_structures.GDFGrid.clear_data

GDFGrid.clear_data()

Clear out the following things: child_mask, child_indices, all fields, all field parameters.