Skip to content

Commit

Permalink
now?
Browse files Browse the repository at this point in the history
  • Loading branch information
fmaussion committed Nov 8, 2022
1 parent 1b87f3f commit 9b406fd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion oggm/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,9 @@ def setUp(self):

# Read in the RGI file
rgi_file = utils.get_demo_file('rgi_oetztal.shp')
self.rgidf = gpd.read_file(rgi_file).sample(4)
rgidf = gpd.read_file(rgi_file)
rgidf = rgidf.loc[['_d0' not in d for d in rgidf.RGIId]].copy()
self.rgidf = rgidf.sample(4)
cfg.PATHS['dem_file'] = utils.get_demo_file('srtm_oetztal.tif')
cfg.PATHS['working_dir'] = self.testdir
self.clean_dir()
Expand Down

0 comments on commit 9b406fd

Please sign in to comment.