示例#1
0
    def test_save_load_basicgrid_irregular(self):
        grid_nc.save_grid(self.testfilename, self.basic_irregular)

        loaded_grid = grid_nc.load_grid(self.testfilename)
        assert self.basic_irregular == loaded_grid
示例#2
0
    def test_save_load_cellgrid(self):
        grid_nc.save_grid(self.testfilename, self.cellgrid)

        loaded_grid = grid_nc.load_grid(self.testfilename)
        assert self.cellgrid == loaded_grid
示例#3
0
    def test_save_load_basicgrid(self):
        grid_nc.save_grid(self.testfilename, self.basic)

        loaded_grid = grid_nc.load_grid(self.testfilename)
        assert self.basic == loaded_grid