Skip to content

Add "awesome xarray" list to faq. #2118

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 14, 2018
Merged

Conversation

dcherian
Copy link
Contributor

@dcherian dcherian commented May 11, 2018

partially addresses #1850
closes #946

I tried to make an "awesome xarray" list by doing a github search for 'xarray'. I only put packages that looked like they were intended for general use. Also, I moved the list from internals.rst to faq.rst.

Let me know if there are any I've missed or any that should be added.

@dcherian dcherian force-pushed the doc/awesome-xarray branch from f527d63 to 087779b Compare May 11, 2018 07:53
Copy link
Member

@fmaussion fmaussion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I like how they are organized alphabetically now :D

doc/faq.rst Outdated
- `PyGDX <https://pygdx.readthedocs.io/en/latest/>`_: Python 3 package for
accessing data stored in GAMS Data eXchange (GDX) files. Also uses a custom
subclass.
- `salem <https://salem.readthedocs.io>`_: Adds geolocalised subsetting,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was: "Adds geolocalised subsetting, masking, and plotting operations to xarray's data structures via accessors."

(the second line is gone in your PR)

doc/faq.rst Outdated
- `xbpch <https://github.com/darothen/xbpch>`_: xarray interface for bpch files.
- `xESMF <https://xesmf.readthedocs.io>`_: Universal Regridder for Geospatial Data.
- `xgcm <https://xgcm.readthedocs.io/>`_: General Circulation Model Postprocessing. Uses subclassing and custom xarray backends.
- `xshape <https://xshape.readthedocs.io/>`_: Tools for working with shapefiles, topographies, and polygons in xarray
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: the others have a dot at the end of their description

doc/faq.rst Outdated
- `xarray-topo <https://gitext.gfz-potsdam.de/sec55-public/xarray-topo>`_: xarray extension for topographic analysis and modelling.
- `xbpch <https://github.com/darothen/xbpch>`_: xarray interface for bpch files.
- `xESMF <https://xesmf.readthedocs.io>`_: Universal Regridder for Geospatial Data.
- `xgcm <https://xgcm.readthedocs.io/>`_: General Circulation Model Postprocessing. Uses subclassing and custom xarray backends.
Copy link
Contributor

@rabernat rabernat May 11, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually we do not subclass xarray or provide any custom backends. Here is the brief description of xgcm

xgcm is a python packge for working with the datasets produced by numerical General Circulation Models (GCMs) and similar gridded datasets that are amenable to finite volume analysis. In these datasets, different variables are located at different positions with respect to a volume or area element (e.g. cell center, cell face, etc.) xgcm solves the problem of how to interpolate and difference these variables from one position to another.

This could be shortened to the following: "extends the xarray data model to understand finite volume grid cells (common in General Circulation Models) and provides interpolation and difference operations for such grids."

I would also include these two:

- `xmitgcm <http://xgcm.readthedocs.io/>`_: a python package for reading MITgcm binary MDS files into xarray data structures.
- `xrft <https://github.com/rabernat/xrft>`_: Fourier transforms for xarray data.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. The subclassing stuff was in the previous version of this list.

@shoyer
Copy link
Member

shoyer commented May 12, 2018

Awesome, thank you!

Maybe it's worth linking the "xarray" GitHub topic as well: https://github.com/topics/xarray ?

@dcherian dcherian force-pushed the doc/awesome-xarray branch 2 times, most recently from aa3e00d to d0a12bb Compare May 12, 2018 07:00
doc/faq.rst Outdated
- `aospy <https://aospy.readthedocs.io>`_: Automated analysis and management of gridded climate data.
- `eofs <https://ajdawson.github.io/eofs/>`_: EOF analysis in Python.
- `MPAS-Analysis <http://mpas-analysis.readthedocs.io>`_: Analysis for simulations produced with Model for Prediction Across Scales (MPAS) components and the Accelerated Climate Model for Energy (ACME).
- `psyplot <https://https://psyplot.readthedocs.io>`_: Interactive data visualization with python.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo in the URL

doc/faq.rst Outdated
- `aospy <https://aospy.readthedocs.io>`_: Automated analysis and management of gridded climate data.
- `eofs <https://ajdawson.github.io/eofs/>`_: EOF analysis in Python.
- `MPAS-Analysis <http://mpas-analysis.readthedocs.io>`_: Analysis for simulations produced with Model for Prediction Across Scales (MPAS) components and the Accelerated Climate Model for Energy (ACME).
- `psyplot <https://https://psyplot.readthedocs.io>`_: Interactive data visualization with python.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we also add pangeo to this list: https://pangeo-data.github.io

doc/faq.rst Outdated
- `xmitgcm <http://xgcm.readthedocs.io/>`_: a python package for reading `MITgcm <http://mitgcm.org/>`_ binary MDS files into xarray data structures.
- `xrft <https://github.com/rabernat/xrft>`_: Fourier transforms for xarray data.
- `xshape <https://xshape.readthedocs.io/>`_: Tools for working with shapefiles, topographies, and polygons in xarray.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here's a list I had put together for our numfocus application:

Pangeo: A community effort for big-data geoscience
Pandas: high-performance, easy-to-use data structures and data analysis tools
xgcm: for analyzing general circulation model output data
MPAS Analysis: Provides analysis for the MPAS components of ACME
marc_analysis: Analysis package for CESM/MARC experiments and output
Oocgcm: Analysis of large gridded geophysical datasets
windspharm: wind spherical harmonics
eofs: empirical orthogonal functions
infinite-diff: xarray-based finite-differencing
aospy: Climate data analysis, database, and visualization
Spyfit: FTIR spectroscopy of the atmosphere
Pangaea: xarray extension for gridded land surface & weather model output
Datashader: visualization for large data
cesium: machine learning for time series analysis
ptsa: EEG Time Series Analysis
pyGDX: GDX file data access
pycalphad: Computational Thermodynamics in Python
Regionmask: plotting and creation of masks of spatial regions
Salem: geolocalised subsetting, masking, and plotting
OGGM: Open Global Glacier Model
xESMF: Universal Regridder for Geospatial Data 
sklearn-xarray: scikit-learn machine learning framework for xarray objects
xarray-simlab: computational model development
xrft: Fourier transforms on xarray data structures
Elm: Parallel machine learning on xarray data structures
Collocate: Collocate xarray trajectories in arbitrary physical dimensions
X-regression: Multiple linear regression from Statsmodels library coupled with Xarray library
Open Data Cube: Analysis toolkit of continental scale Earth Observation data 

@fujiisoup
Copy link
Member

I would be happy if
xr-scipy: https://github.com/fujiisoup/xr-scipy
and
xarray-extras: https://github.com/crusaderky/xarray_extras
are added to this list.

@dcherian
Copy link
Contributor Author

So Cesium doesn't list xarray as a dependency: http://cesium-ml.org/docs/install.html
Am I looking at the right package?

I've added some organization and put "regionmask, salem, xarray-top" etc under the subheading "Topography". Can someone suggest a better title please?

@fmaussion
Copy link
Member

I've added some organization and put "regionmask, salem, xarray-top" etc under the subheading "Topography". Can someone suggest a better title please?

I would not add any subheader at all and keep them all under "Geosciences".

@dcherian dcherian force-pushed the doc/awesome-xarray branch from 2eb4ca6 to a8e0be8 Compare May 14, 2018 15:19
@shoyer
Copy link
Member

shoyer commented May 14, 2018

I think this is ready to merge?

@dcherian
Copy link
Contributor Author

Yes, I'm all done.

Copy link
Member

@jhamman jhamman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. Thanks!

@shoyer shoyer merged commit 29d608a into pydata:master May 14, 2018
@shoyer
Copy link
Member

shoyer commented May 14, 2018

thanks!

@dcherian dcherian deleted the doc/awesome-xarray branch May 14, 2018 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

List of projects using xarray
6 participants