yt.utilities.grid_data_format.conversion.conversion_athena module

class yt.utilities.grid_data_format.conversion.conversion_athena.AthenaConverter(basename, outname=None, field_conversions=None)[source]

Bases: yt.utilities.grid_data_format.conversion.conversion_abc.Converter

convert()[source]
parse_line(line, grid)[source]
read_grid(filename)[source]

Read Athena legacy vtk file from single cpu

write_to_gdf(fn, grid)[source]
class yt.utilities.grid_data_format.conversion.conversion_athena.AthenaDistributedConverter(basename, outname=None, source_dir=None, field_conversions=None)[source]

Bases: yt.utilities.grid_data_format.conversion.conversion_abc.Converter

convert(index=True, data=True)[source]
parse_line(line, grid)[source]
read_and_write_data(basename, ddn, gdf_name)[source]
read_and_write_index(basename, ddn, gdf_name)[source]

Read Athena legacy vtk file from multiple cpus

write_gdf_field(fn, grid_number, field, data)[source]