File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -131,17 +131,6 @@ def test_from_sentinel_2(self):
131131 self .assertEqual ('Geographic 2D CRS' , gm .crs .type_name )
132132 self .assertEqual (False , gm .is_regular )
133133
134- def test_xy_names (self ):
135- dataset = create_s2plus_dataset ()
136- with self .assertRaises (ValueError ) as cm :
137- GridMapping .from_dataset (dataset , xy_var_names = ('lons' , 'lats' ))
138- self .assertEqual ('coordinate variables "lons" or "lats" not found in dataset' , f'{ cm .exception } ' )
139-
140- dataset = create_s2plus_dataset ()
141- with self .assertRaises (NotImplementedError ) as cm :
142- GridMapping .from_dataset (dataset , xy_var_names = ('lon' , 'lat' ))
143- self .assertEqual ('xy_var_names not yet supported' , f'{ cm .exception } ' )
144-
145134 def test_no_grid_mapping_found (self ):
146135 with self .assertRaises (ValueError ) as cm :
147136 GridMapping .from_dataset (xr .Dataset ())
You can’t perform that action at this time.
0 commit comments