home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where author_association = "NONE" and user = 9960249 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 1

  • Chilipp · 3 ✖

issue 1

  • simple command line interface for xarray 3

author_association 1

  • NONE · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
379530115 https://github.com/pydata/xarray/issues/2034#issuecomment-379530115 https://api.github.com/repos/pydata/xarray/issues/2034 MDEyOklzc3VlQ29tbWVudDM3OTUzMDExNQ== Chilipp 9960249 2018-04-08T08:10:07Z 2018-04-08T08:10:07Z NONE

Great! If you want to try it today already, I recommend to use the nightly build (see the installing docs) or to use the latest development packages from my personal conda channel bash conda config --add channels conda-forge conda install -c chilipp/label/dev psyplot psy-maps psyplot-gui The latter however only works for linux.

The new releases should have passed all tests by tomorrow morning and they will then be available through the conda-forge channel and pip.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  simple command line interface for xarray 310547057
379508981 https://github.com/pydata/xarray/issues/2034#issuecomment-379508981 https://api.github.com/repos/pydata/xarray/issues/2034 MDEyOklzc3VlQ29tbWVudDM3OTUwODk4MQ== Chilipp 9960249 2018-04-08T00:26:22Z 2018-04-08T00:26:22Z NONE

Sure, I hope it can help! The psy-maps package, which is the psyplot plugin for georeferenced plots, is built on the cartopy package (sorry, that is not made clear in the docs currently). For interpreting coordinates following the CF-Conventions, however, I wrote my own decoder class (http://psyplot.readthedocs.io/en/latest/api/psyplot.data.html#psyplot.data.CFDecoder). But you should not have to care about the latter, since this is integrated into the framework.

After having installed the packages, e.g. via

bash conda install -c conda-forge psyplot psy-maps psyplot-gui

you can simply create a plot from the command line via

bash psyplot your-netcdf-file.nc -pm mapplot

and it will open the GUI to create a plot. Or you type

bash psyplot your-netcdf-file.nc -pm mapplot -n your-variable -o plots.pdf to save it immediately to a PDF file named plots.pdf.

There are however a lot more possibilities and formatting options.

Within python, you can just create a georeferenced plot via

python import psyplot.project as psy psy.plot.mapplot('your-netcdf-file.nc', name='your-variable')

which will then create a new figure with an instance of cartopy's GeoAxes on it. For more options and configurations of your plots, I refer to the docs :wink:, where you also find an example gallery, but you can of course always open an issue in the psyplot repository and I am happy to help

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  simple command line interface for xarray 310547057
379503319 https://github.com/pydata/xarray/issues/2034#issuecomment-379503319 https://api.github.com/repos/pydata/xarray/issues/2034 MDEyOklzc3VlQ29tbWVudDM3OTUwMzMxOQ== Chilipp 9960249 2018-04-07T22:22:49Z 2018-04-07T22:22:49Z NONE

Hey! Thanks @benbovy for tagging me! Yes, indeed psyplot provides an interface between matplotlib and xarray to provide a more powerful tool than ncview or panoply to integrate data analysis and visualization. It provides a command line interface, a GUI and an implented ipython console. I actually wanted to make a new release and a post on the xarray mailing list by tomorrow to introduce it a bit more widely to the community.

If you are on the EGU next week by accident, I will also present it as a PICO presentation on Monday morning, April 9th at 8:30

Psyplot: Interactive data analysis and visualization with Python https://meetingorganizer.copernicus.org/EGU2018/PICO/28031/235994

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  simple command line interface for xarray 310547057

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 37.377ms · About: xarray-datasette