def test_data_dump_to_NetCDF_brick(self):
     mydomain1 = Brick(n0=NE0,
                       n1=NE1,
                       n2=NE2,
                       order=1,
                       l0=1.,
                       l1=1.,
                       l2=1.,
                       optimize=False)
     d1 = Data(mydomain1.getMPIRank(), Function(mydomain1))
     d1.expand()
     dumpfile = os.path.join(DUDLEY_WORKDIR, "tempfile.dump.nc")
     d1.dump(dumpfile)
     d2 = load(dumpfile, mydomain1)
     self.assertTrue(Lsup(abs(d1 - d2)) <= REL_TOL, "data objects differ")