issues
2 rows where user = 97615200 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1120392868 | I_kwDOAMm_X85Cx9ak | 6228 | [] |
haritha1022 97615200 | closed | 1 | 2 | 2022-02-01T08:58:55Z | 2022-02-09T17:25:18Z | 2022-02-01T09:02:10Z | NONE | What happened?i just want plot particular time steps variable data define rain=((rainnc(t=17))-rainnc(t=9))) how can do it in python any idea What did you expect to happen?i want data only some time steps how can i eleminate other timesteps Minimal Complete Verifiable Example```python import xarray as xr import cartopy.crs as ccrs from cartopy import feature as cf import matplotlib.pyplot as plt import numpy as np Opening and reading datadata=xr.open_dataset("heavyrain3.nc") print(data) lon=data.lon[:] lat=data.lat[:] lev_2=data.lev_2[:]rainnc=data.rainnc[17-9] time=data.time[0]ax = plt.axes(projection=ccrs.PlateCarree()) rainnc.isel(time=16, lev_2=0).plot.pcolormesh(cmap='Purples',add_colorbar=False); ax.set_extent([west, east, south, north])ax.coastlines() ax.add_feature(cf.BORDERS) plt.savefig("rain31.jpg") plt.show() ``` Relevant log output
Anything else we need to know?No response EnvironmentTraceback (most recent call last): File "/home/user/Documents/IGCAR/rain/rain.py", line 39, in <module> rainnc.isel(time=16, lev_2=0).plot.pcolormesh(cmap='Purples',add_colorbar=False); File "/home/user/anaconda3/lib/python3.9/site-packages/xarray/core/dataarray.py", line 1208, in isel variable = self._variable.isel(indexers, missing_dims=missing_dims) File "/home/user/anaconda3/lib/python3.9/site-packages/xarray/core/variable.py", line 1190, in isel indexers = drop_dims_from_indexers(indexers, self.dims, missing_dims) File "/home/user/anaconda3/lib/python3.9/site-packages/xarray/core/utils.py", line 834, in drop_dims_from_indexers raise ValueError( ValueError: Dimensions {'time'} do not exist. Expected one or more of ('lev_2', 'lat', 'lon') |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/6228/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | xarray 13221727 | issue | ||||||
1119570923 | I_kwDOAMm_X85Cu0vr | 6218 | raise AttributeError(f"{type(self).__name__!r} object " AttributeError: 'QuadMesh' object has no property 'cbar' | haritha1022 97615200 | closed | 1 | 1 | 2022-01-31T15:20:59Z | 2022-01-31T16:16:19Z | 2022-01-31T16:16:19Z | NONE | What happened?I was trying to plot panel plots but the cbar is not removing
What did you expect to happen?I am unable to remove the color bar I want to remove the color bar Minimal Complete Verifiable Example```python import xarray as xr import cartopy.crs as ccrs from cartopy import feature as cf import matplotlib.pyplot as plt import numpy as np import seaborn as sns Opening and reading datadata=xr.open_dataset("uvg.nc") print(data) def main(): x=data.longitude[::5]; y=data.latitude[::5] u=data.u[5,::5,::5]; v=data.v[5,::5,::5] z=data.z[5] ax1 = plt.subplot(3,2,1,projection=ccrs.PlateCarree()) z.plot.pcolormesh(cmap="turbo",vmin=7500,vmax=8500, ax = ax1,cbar=False) ax1.set_extent([60, 100, 38, 0]) ax1.coastlines() ax1.quiver(x,y,u,v, angles='xy', scale_units='xy', scale=4) plt.show() ``` Relevant log output
Anything else we need to know?No response Environment |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/6218/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]);