Skip to content

Commit

Permalink
More numpy dtypes
Browse files Browse the repository at this point in the history
  • Loading branch information
ianthomas23 committed Sep 21, 2023
1 parent 6092e17 commit 8557715
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions intake_xarray/tests/test_remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def test_http_read_rasterio(data_server):
assert ("+init" in da.attrs.get('crs', "") or "+proj" in da.attrs.get('crs', "") or
"PROJCS" in da.spatial_ref.attrs["crs_wkt"])
assert da.attrs['AREA_OR_POINT'] == 'Area'
assert da.dtype == 'uint8'
assert da.dtype == np.uint8
assert da.isel(band=2,x=300,y=500).values == 129


Expand Down Expand Up @@ -236,7 +236,7 @@ def test_s3_read_rasterio(s3):
assert ("+init" in da.attrs.get('crs', "") or "+proj" in da.attrs.get('crs', "") or
"PROJCS" in da.spatial_ref.attrs["crs_wkt"])
assert da.attrs['AREA_OR_POINT'] == 'Area'
assert da.dtype == 'uint8'
assert da.dtype == np.uint8
assert da.isel(band=2,x=300,y=500).values == 129


Expand Down

0 comments on commit 8557715

Please sign in to comment.