def METHOD_NAME():
    grid = make_pupil_grid(128)
    field = make_circular_aperture(1)(grid)
    formats = ['asdf', 'fits', 'fits.gz', 'pkl', 'pickle']
    filenames = ['field_test.' + fmt for fmt in formats]
    for fname in filenames:
        write_field(field, fname)
        new_field = read_field(fname)
        assert np.allclose(field, new_field)
        assert hash(field.grid) == hash(new_field.grid)
        os.remove(fname)