issues
3 rows where state = "closed" and user = 18679628 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: comments, created_at (date), updated_at (date), closed_at (date)
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1827010471 | I_kwDOAMm_X85s5fen | 8029 | ' ' at end of variable name causes to_netcdf() to crash | 28raining 18679628 | closed | 0 | 6 | 2023-07-28T19:48:53Z | 2023-08-14T16:15:40Z | 2023-08-14T16:15:40Z | NONE | What happened?If variable name ends in a ' ' (space) then to_netcdf crashes. In my opinion - At least the error message could tell which variable name has the issue - If space at the end is not allowed, then could you rstrip everything - It works with scipy xarr.to_netcdf(newName, engine="scipy") This is related to https://github.com/pydata/xarray/issues/7943 Our tool converts csv files to XARRAY. So these kind of errors need to self-heal, otherwise we have to feedback to the user and get them to change the csv file. Which would be frustrating for everyone What did you expect to happen?No response Minimal Complete Verifiable Example```Python with open('endSpace.csv','w') as f: f.write('''PASS ,temperature PASS, 10 FAIL, 20''') import pandas as pd df = pd.read_csv('endSpace.csv') index = ['temperature'] df = df.set_index(index) xarr = df.to_xarray() xarr.to_netcdf("new.nc") ``` MVCE confirmation
Relevant log output
Anything else we need to know?No response Environment
commit : 2e218d10984e9919f0296931d92ea851c6a6faf5
python : 3.11.2.final.0
python-bits : 64
OS : Darwin
OS-release : 22.5.0
Version : Darwin Kernel Version 22.5.0: Thu Jun 8 22:21:34 PDT 2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T8112
machine : arm64
processor : arm
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.5.3
numpy : 1.24.2
pytz : 2023.3
dateutil : 2.8.2
setuptools : 65.6.3
pip : 23.1.1
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 3.1.2
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
brotli : None
fastparquet : None
fsspec : 2023.3.0
gcsfs : None
matplotlib : None
numba : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pyreadstat : None
pyxlsb : None
s3fs : None
scipy : 1.10.1
snappy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : 2023.2.0
xlrd : None
xlwt : None
zstandard : None
tzdata : None
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8029/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | xarray 13221727 | issue | ||||||
1775325545 | I_kwDOAMm_X85p0VFp | 7943 | '/' in variable name causes to_netcdf() to crash | 28raining 18679628 | closed | 0 | 8 | 2023-06-26T18:17:18Z | 2023-07-06T15:11:51Z | 2023-07-06T15:11:51Z | NONE | What happened?If variable name includes a '/' then to_netcdf crashes What did you expect to happen?No response Minimal Complete Verifiable Example```Python import pandas as pd df = pd.read_csv('slashCSV.csv') index = ['temperature'] df = df.set_index(index) xarr = df.to_xarray() xarr.to_netcdf("new.nc")
MVCE confirmation
Relevant log output
Anything else we need to know?No response Environment
INSTALLED VERSIONS
------------------
commit: None
python: 3.11.2 (main, Mar 24 2023, 00:16:47) [Clang 14.0.0 (clang-1400.0.29.202)]
python-bits: 64
OS: Darwin
OS-release: 22.5.0
machine: arm64
processor: arm
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: ('en_US', 'UTF-8')
libhdf5: 1.12.2
libnetcdf: 4.9.1
xarray: 2023.2.0
pandas: 1.5.3
numpy: 1.24.2
scipy: 1.10.1
netCDF4: 1.6.3
pydap: None
h5netcdf: 1.1.0
h5py: 3.8.0
Nio: None
zarr: 2.14.2
cftime: 1.6.2
nc_time_axis: None
PseudoNetCDF: None
rasterio: 1.3.6
cfgrib: 0.9.10.3
iris: None
bottleneck: None
dask: None
distributed: None
matplotlib: None
cartopy: None
seaborn: None
numbagg: None
fsspec: 2023.3.0
cupy: None
pint: None
sparse: None
flox: None
numpy_groupies: None
setuptools: 65.6.3
pip: 23.1.1
conda: None
pytest: None
mypy: None
IPython: None
sphinx: None
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7943/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | xarray 13221727 | issue | ||||||
1649994877 | I_kwDOAMm_X85iWOx9 | 7705 | Using xarray in Docker on a mac fails with "No such file or directory: 'gdal-config'" | 28raining 18679628 | closed | 0 | 6 | 2023-03-31T20:35:22Z | 2023-05-04T20:07:27Z | 2023-04-03T15:52:04Z | NONE | What is your issue?Hi, This is my docker file "Dockerfile":
Which is built with this command:
My docker version is:
And I'm running macOS Ventura 13.3 Error message: ``` 6 11.79 Downloading rasterio-1.3.6.tar.gz (408 kB)6 11.83 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 408.5/408.5 kB 12.4 MB/s eta 0:00:006 11.86 Installing build dependencies: started6 14.05 Installing build dependencies: finished with status 'done'6 14.05 Getting requirements to build wheel: started6 14.17 Getting requirements to build wheel: finished with status 'error'6 14.17 error: subprocess-exited-with-error6 14.176 14.17 × Getting requirements to build wheel did not run successfully.6 14.17 │ exit code: 16 14.17 ╰─> [2 lines of output]6 14.17 WARNING:root:Failed to get options via gdal-config: [Errno 2] No such file or directory: 'gdal-config'6 14.17 ERROR: A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.6 14.17 [end of output]``` |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7705/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | xarray 13221727 | issue |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [issues] ( [id] INTEGER PRIMARY KEY, [node_id] TEXT, [number] INTEGER, [title] TEXT, [user] INTEGER REFERENCES [users]([id]), [state] TEXT, [locked] INTEGER, [assignee] INTEGER REFERENCES [users]([id]), [milestone] INTEGER REFERENCES [milestones]([id]), [comments] INTEGER, [created_at] TEXT, [updated_at] TEXT, [closed_at] TEXT, [author_association] TEXT, [active_lock_reason] TEXT, [draft] INTEGER, [pull_request] TEXT, [body] TEXT, [reactions] TEXT, [performed_via_github_app] TEXT, [state_reason] TEXT, [repo] INTEGER REFERENCES [repos]([id]), [type] TEXT ); CREATE INDEX [idx_issues_repo] ON [issues] ([repo]); CREATE INDEX [idx_issues_milestone] ON [issues] ([milestone]); CREATE INDEX [idx_issues_assignee] ON [issues] ([assignee]); CREATE INDEX [idx_issues_user] ON [issues] ([user]);