home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

6 rows where issue = 1649994877 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: reactions, created_at (date), updated_at (date)

user 4

  • jhamman 2
  • 28raining 2
  • psychemedia 1
  • abunimeh 1

author_association 2

  • NONE 4
  • MEMBER 2

issue 1

  • Using xarray in Docker on a mac fails with "No such file or directory: 'gdal-config'" · 6 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1535347180 https://github.com/pydata/xarray/issues/7705#issuecomment-1535347180 https://api.github.com/repos/pydata/xarray/issues/7705 IC_kwDOAMm_X85bg4ns psychemedia 82988 2023-05-04T20:07:27Z 2023-05-04T20:07:27Z NONE

As well as libgdal-dev I noticed that g++ was also required for the Fiona wheel build.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Using xarray in Docker on a mac fails with "No such file or directory: 'gdal-config'" 1649994877
1494573149 https://github.com/pydata/xarray/issues/7705#issuecomment-1494573149 https://api.github.com/repos/pydata/xarray/issues/7705 IC_kwDOAMm_X85ZFWBd jhamman 2443309 2023-04-03T15:52:04Z 2023-04-03T15:52:04Z MEMBER

Thanks for following up @28raining. Based on your response, I'm going to close this as it doesn't seem that Xarray is the issue.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Using xarray in Docker on a mac fails with "No such file or directory: 'gdal-config'" 1649994877
1492669575 https://github.com/pydata/xarray/issues/7705#issuecomment-1492669575 https://api.github.com/repos/pydata/xarray/issues/7705 IC_kwDOAMm_X85Y-FSH abunimeh 8106823 2023-03-31T22:12:48Z 2023-03-31T22:12:48Z NONE

run RUN apt-get update && apt-get install --yes libgdal-dev before pip

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Using xarray in Docker on a mac fails with "No such file or directory: 'gdal-config'" 1649994877
1492664577 https://github.com/pydata/xarray/issues/7705#issuecomment-1492664577 https://api.github.com/repos/pydata/xarray/issues/7705 IC_kwDOAMm_X85Y-EEB 28raining 18679628 2023-03-31T22:04:26Z 2023-03-31T22:04:26Z NONE

Thanks. Note same error on Python 3.9.6.

I have filed a ticket on Rasterio then https://github.com/rasterio/rasterio/issues/2801

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Using xarray in Docker on a mac fails with "No such file or directory: 'gdal-config'" 1649994877
1492630943 https://github.com/pydata/xarray/issues/7705#issuecomment-1492630943 https://api.github.com/repos/pydata/xarray/issues/7705 IC_kwDOAMm_X85Y972f jhamman 2443309 2023-03-31T21:28:14Z 2023-03-31T21:28:14Z MEMBER

This doesn't seem like an issue with Xarray. If you change your dockerfile to:

FROM python:3.11.2-slim RUN /usr/local/bin/python -m pip install --upgrade pip RUN pip install xarray RUN pip install rasterio

I suspect you will find that you get the same error on the rasterio line and not on the xarray line.

A second note: Xarray and netcdf4 have not released complete support for python 3.11. For that reason, you may also want to use the python 3.10 image.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Using xarray in Docker on a mac fails with "No such file or directory: 'gdal-config'" 1649994877
1492580615 https://github.com/pydata/xarray/issues/7705#issuecomment-1492580615 https://api.github.com/repos/pydata/xarray/issues/7705 IC_kwDOAMm_X85Y9vkH 28raining 18679628 2023-03-31T20:36:08Z 2023-03-31T20:36:08Z NONE

Note that it works outside of docker on my mac, and it also works inside of Docker on Centos

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Using xarray in Docker on a mac fails with "No such file or directory: 'gdal-config'" 1649994877

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issue_comments] (
   [html_url] TEXT,
   [issue_url] TEXT,
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [created_at] TEXT,
   [updated_at] TEXT,
   [author_association] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [performed_via_github_app] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
);
CREATE INDEX [idx_issue_comments_issue]
    ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
    ON [issue_comments] ([user]);
Powered by Datasette · Queries took 13.382ms · About: xarray-datasette