home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 177484162

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
177484162 MDU6SXNzdWUxNzc0ODQxNjI= 1005 How to efficiently use DataArrays with Cartopy's add_cyclic_point utility? 1961038 closed 0     5 2016-09-16T17:57:10Z 2023-12-02T02:44:20Z 2023-12-02T02:44:20Z NONE      

Hi, I'm not sure as to the best way to take a global NetCDF dataset (e.g. 2.5 x 2.5 deg GFS) whose longitude range does not "cycle" back to 0/360 and pass the variable of interest and the longitude array to Cartopy's add_cyclic_point() utility. I am first selecting the variable of interest and the longitude and converting them to arrays, and then passing them along to add_cyclic_point, but not sure then how to take the tuple that is returned by that utility and "reintegrating" it into xarray's plot.pcolormesh utility. Do I need to create a new Xarray DataArray from the output of add_cyclic_point?

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1005/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

  • 0 rows from issues_id in issues_labels
  • 5 rows from issue in issue_comments
Powered by Datasette · Queries took 0.766ms · About: xarray-datasette