Skip to content

Read from HTTPS Test Failing due to Broken URL #582

Closed

Description

@philipc2

Version

v2023.11.1

How did you install UXarray?

Source

What happened?

def test_read_from_https(self):
"""Tests reading a dataset from a HTTPS link."""
import requests
small_file_480km = requests.get(
"https://web.lcrc.anl.gov/public/e3sm/inputdata/share/meshes/mpas/ocean/oQU480.230422.nc"
).content
ds_small_480km = ux.open_dataset(small_file_480km, small_file_480km)
assert isinstance(ds_small_480km, ux.core.dataset.UxDataset)

This test fails due to a broken link.

What did you expect to happen?

Tests should pass as expected

Can you provide a MCVE to repoduce the bug?

No response

Activity

  1. added
    bug
    on Nov 13, 2023
  2. added
    CI
    on Nov 13, 2023
  3. rljacob commented on Nov 13, 2023

    @rljacob
    Member

    The filesystem holding that file was offline this morning for an fs check. Its back now.

  4. moved this from 📚 Backlog to ✅ Done in UXarray Developmenton Nov 13, 2023
  5. added this to the Testing milestone on Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CIbug

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions