Skip to content

Commit

Permalink
correct dataset reading
Browse files Browse the repository at this point in the history
  • Loading branch information
CDJellen committed Nov 17, 2024
1 parent 4d46d84 commit 1b712b7
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion tests/api/parsers/opendap/test_adcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def adcp_response():

@pytest.fixture
def parsed_adcp():
ds = xarray.open_dataset(PARSED_FP, 'r')
ds = xarray.open_dataset(PARSED_FP)
yield ds


Expand Down
2 changes: 1 addition & 1 deletion tests/api/parsers/opendap/test_cwind.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def cwind_response():

@pytest.fixture
def parsed_cwind():
ds = xarray.open_dataset(PARSED_FP, 'r')
ds = xarray.open_dataset(PARSED_FP)
yield ds


Expand Down
2 changes: 1 addition & 1 deletion tests/api/parsers/opendap/test_ocean.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def ocean_response():

@pytest.fixture
def parsed_ocean():
ds = xarray.open_dataset(PARSED_FP, 'r')
ds = xarray.open_dataset(PARSED_FP)
yield ds


Expand Down
2 changes: 1 addition & 1 deletion tests/api/parsers/opendap/test_pwind.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def pwind_response():

@pytest.fixture
def parsed_pwind():
ds = xarray.open_dataset(PARSED_FP, 'r')
ds = xarray.open_dataset(PARSED_FP)
yield ds


Expand Down
2 changes: 1 addition & 1 deletion tests/api/parsers/opendap/test_stdmet.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def stdmet_response():

@pytest.fixture
def parsed_stdmet():
ds = xarray.open_dataset(PARSED_FP, 'r')
ds = xarray.open_dataset(PARSED_FP)
yield ds


Expand Down
2 changes: 1 addition & 1 deletion tests/api/parsers/opendap/test_swden.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def swden_response():

@pytest.fixture
def parsed_swden():
ds = xarray.open_dataset(PARSED_FP, 'r')
ds = xarray.open_dataset(PARSED_FP)
yield ds


Expand Down
2 changes: 1 addition & 1 deletion tests/api/parsers/opendap/test_wlevel.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def wlevel_response():

@pytest.fixture
def parsed_wlevel():
ds = xarray.open_dataset(PARSED_FP, 'r')
ds = xarray.open_dataset(PARSED_FP)
yield ds


Expand Down

0 comments on commit 1b712b7

Please sign in to comment.