home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 1676792648

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
1676792648 I_kwDOAMm_X85j8dNI 7773 opendap access fails only in ubuntu machines 48764870 closed 0     5 2023-04-20T14:01:14Z 2023-06-12T08:02:30Z 2023-04-24T10:14:22Z NONE      

What happened?

I am having errors on opendap access (any of them): ```python import xarray as xr

url = "https://erddap.emodnet.eu/erddap/griddap/bathymetry_2022" url = "https://ihthredds.ihcantabria.com/thredds/dodsC/Bathymetry/Global/Gebco_2020.nc"

ds = xr.open_dataset(url) ```

The point is that only ocurrs when i deploy and test the code on an ubuntu-latest machine using (pyenv+pip), see summary of the action:

my dependencies are defined on pyproject.toml file like this: toml dependencies = [ "geopandas", "xarray", "netCDF4", "h5netcdf", "scipy", "pydap", "zarr", "fsspec", "cftime", "pooch", "dask[complete]", "ipykernel", "matplotlib", "owslib", "shapely", "geojson", "pytest>=7", "lxml", "python-dotenv", ] However, If I use conda on wsl unbuntu 20.04 LTS with this environment.yml, works fine:

yaml name: pyteseo-dev channels: - conda-forge - defaults dependencies: - python>=3.7 - xarray - dask - netcdf4 - bottleneck - ipykernel - matplotlib - geopandas - owslib - shapely - geojson - pytest>=7 - coverage - flit - black - sphinx - myst-nb - sphinx-autoapi - sphinx_rtd_theme - pre_commit - flake8 - pydap - lxml - scipy - python-dotenv

Public repository here: pyTESEO

What did you expect to happen?

I expect to pass all tests

Minimal Complete Verifiable Example

```Python import xarray as xr

url = "https://erddap.emodnet.eu/erddap/griddap/bathymetry_2022" url = "https://ihthredds.ihcantabria.com/thredds/dodsC/Bathymetry/Global/Gebco_2020.nc"

ds = xr.open_dataset(url) ```

MVCE confirmation

  • [X] Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue in xarray.
  • [ ] Complete example — the example is self-contained, including all data and the text of any traceback.
  • [ ] Verifiable example — the example copy & pastes into an IPython prompt or Binder notebook, returning the result.
  • [ ] New issue — a search of GitHub Issues suggests this is not a duplicate.

Relevant log output

No response

Anything else we need to know?

No response

Environment

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/7773/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 2 rows from issues_id in issues_labels
  • 4 rows from issue in issue_comments
Powered by Datasette · Queries took 239.662ms · About: xarray-datasette