Skip to content

Commit

Permalink
Minor Documentation Cleanup (#1090)
Browse files Browse the repository at this point in the history
* update API ref

* Update Why UXarray page

* Added docstrings

* Updated "Core Functionality" Section

* Update README.md

* clean up badges

* clean up README

* update readme

* update docs

* add doi badge

* add doi badge

---------

Co-authored-by: Aaron Zedwick <aazedwick@gmail.com>
Co-authored-by: Aaron Zedwick <95507181+aaronzedwick@users.noreply.github.com>
  • Loading branch information
3 people authored Jan 23, 2025
1 parent e0098bc commit 6557e1c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 62 deletions.
60 changes: 10 additions & 50 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,17 @@
<img src="https://github.com/UXARRAY/uxarray/raw/main/docs/_static/images/logos/uxarray_logo_h_dark.svg" data-canonical-src="https://github.com/UXARRAY/uxarray/raw/main/docs/_static/images/logos/uxarray_logo_h_dark.svg" width="450"/><br>


-----------------
<img src="https://github.com/UXARRAY/uxarray/raw/main/docs/_static/images/logos/uxarray_logo_h_dark.svg" width="450"/><br>

# Xarray extension for unstructured climate and global weather data
| | |
| --- | --- |
| **Build Status** | [![GitHub Workflow Status][github-ci-badge]][github-ci-link] [![CI Upstream](https://github.com/UXARRAY/uxarray/actions/workflows/upstream-dev-ci.yml/badge.svg)](https://github.com/UXARRAY/uxarray/actions/workflows/upstream-dev-ci.yml) [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/UXARRAY/uxarray/main.svg)](https://results.pre-commit.ci/latest/github/UXARRAY/uxarray/main) |
| **Code Coverage** | [![Code Coverage Status][codecov-badge]][codecov-link] |
| **Docs** | [![Documentation Status][rtd-badge]][rtd-link] |
| **Benchmarks** | [![ASV Repostory][asv-badge]][asv-link] |
| **Releases** | ![Github release](https://img.shields.io/github/release/UXARRAY/uxarray.svg?label=tag&colorB=11ccbb) [![Conda][conda-badge]][conda-link] [![PyPI][pypi-badge]][pypi-link] |
| **License** | [![License][license-badge]][repo-link] |
| **Citing** | [![DOI][doi-badge]][doi-link] |

-----------------
[![CI][github-ci-badge]][github-ci-link]
[![CI Upstream](https://github.com/UXARRAY/uxarray/actions/workflows/upstream-dev-ci.yml/badge.svg)](https://github.com/UXARRAY/uxarray/actions/workflows/upstream-dev-ci.yml) [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/UXARRAY/uxarray/main.svg)](https://results.pre-commit.ci/latest/github/UXARRAY/uxarray/main)
[![Code Coverage Status][codecov-badge]][codecov-link]
[![Documentation Status][rtd-badge]][rtd-link]
[![ASV Repostory][asv-badge]][asv-link]
![Github release](https://img.shields.io/github/release/UXARRAY/uxarray.svg?label=tag&colorB=11ccbb) [![Conda][conda-badge]][conda-link]
[![PyPI][pypi-badge]][pypi-link]
[![License][license-badge]][repo-link]
[![Citing][doi-badge]][doi-link]

## What is it?

UXarray aims to address the geoscience community's need for tools that enable
standard data analysis techniques to operate directly on unstructured grid
Expand All @@ -42,41 +37,6 @@ commonly-used for structured grids recognition, to support reading and
recognizing unstructured grid model outputs. We picked the name "UXarray"
(pronounced "you-ex-array"), with the "U" representing unstructured grids.

## Features

* ``Grid`` class for storing grid information and providing grid-specific functionality
* Support for reading UGRID, MPAS, ESMF, ICON, GEOS-CS, SCRIP, and EXODUS grid formats
* Support for reader structured (i.e. latitude longitude) grids
* Extension of xarray's ``DataArray`` and ``Dataset`` classe to support unstructured grid operations
* ``uxarray.UxDataArray`` inherits ``xarray.DataArray`` and is attached to a ``Grid`` instance through the ``.uxgrid`` accessor
* ``uxarray.UxDataset`` inherits ``xarray.Dataset`` and is attached to a ``Grid`` instance through the ``.uxgrid`` accessor
* Extension of xarray's ``open_dataset`` and ``open_mfdataset`` methods to support reading grid and data files
* Plotting
* Native visualization of unstructured grids written using the ``hvPlot`` package
* Support for grid topology visualization (i.e. exploring the geometry of a grid) and data visualization (i.e. data mapped to each face)
* Subsetting
* Ability to select arbitrary regions of a grid using different selection methods (nearest neighbor, bounding circle, bounding box)
* Remapping
* Support for nearest neighbor and inverse distance weighted unstructured to unstructured remapping
* Topological Aggregations
* Perform aggregations within different topology elements using connectivity information
* Mathematical Operators
* Support for Integral, Difference, and Gradient calculations


## Intended Features

The following intended features have been inspired by discussions with
members of the scientific community, within the SEATS Project and Project
Raijin, and on several community platforms such as [Xarray GitHub
Repository](https://github.com/pydata/xarray/issues/4222). The UXarray team
is receptive to additional functionality requests.

* Support for finite volume and finite element outputs.
* Triangular decompositions.
* Calculation of supermeshes (consisting of grid lines from two input grids).
* Snapshots and composites following particular features.

## Documentation

[UXarray Documentation](https://uxarray.readthedocs.io/en/latest)
Expand Down
21 changes: 9 additions & 12 deletions docs/getting-started/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ UGRID conventions, which can contain a mix of triangles, quadrilaterals, or
other geometric faces.





Core Data Structures
====================

Expand All @@ -54,15 +51,15 @@ an Unstructured Grid aware implementation of many Xarray functions and use cases
a ``Grid`` property (``UxDataArray.uxgrid``) just like ``UxDataset``.

Core Functionality
====================
==================

In addition to providing a way to load in and interface with Unstructured Grids, we
also aim to provide computational and analysis operators that directly operate on
Unstructured Grids.

The list of currently implemented operators can be found in the
`User API <https://uxarray.readthedocs.io/en/latest/user_api/index.html>`_
documentation.
Unstructured Grids. Some of these include:
* Visualization
* Remapping
* Subsetting & Selection
* Aggregations

Get involved in the `Prioritization of Uxarray analysis
operators <https://github.com/UXARRAY/uxarray/discussions/46>`_ to be released in
the future!
A more detailed overview of supported functionality can be found in our `API Reference <https://uxarray.readthedocs.io/en/latest/api.html>`_
and `User Guide <https://uxarray.readthedocs.io/en/latest/userguide.html>`_ sections.

0 comments on commit 6557e1c

Please sign in to comment.