def test_as_ModelGrid(self): grid = core.makeGrid( self.ny, self.nx, domain=self.domain, rawgrid=False, **self.gridparams ) nt.assert_true(isinstance(grid, core.ModelGrid))
def test_with_and_bathy(self): grid = core.makeGrid( self.ny, self.nx, domain=self.domain, bathydata=self.bathy.dropna(), **self.gridparams ) nt.assert_true(isinstance(grid, pygridgen.Gridgen))
def test_with_bathy_verbose(self): params = self.gridparams.copy() params['verbose'] = True grid = core.makeGrid( self.ny, self.nx, domain=self.domain, bathydata=self.bathy.dropna(), **self.gridparams ) nt.assert_true(isinstance(grid, pygridgen.Gridgen))