
Security News
Static vs. Runtime Reachability: Insights from Latio’s On the Record Podcast
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
.. image:: https://img.shields.io/github/actions/workflow/status/deltares/xugrid/ci.yml :target: https://github.com/deltares/xugrid/actions?query=workflows%3Aci .. image:: https://img.shields.io/codecov/c/github/deltares/xugrid.svg :target: https://app.codecov.io/gh/deltares/xugrid .. image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/psf/black .. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.10534099.svg :target: https://doi.org/10.5281/zenodo.10534099
This is a work in progress. See documentation <https://deltares.github.io/xugrid/>
_.
Xarray extension to work with 2D unstructured grids, for data and topology
stored according to UGRID conventions <https://ugrid-conventions.github.io/ugrid-conventions>
_.
Processing structured data with xarray is convenient and efficient. The goal of Xugrid is to extend this ease to unstructured grids.
.. code:: python
import matplotlib.pyplot as plt import xugrid
uda = xugrid.data.elevation_nl()
section_y = 475_000.0 section = uda.ugrid.sel(y=section_y)
fig, (ax0, ax1) = plt.subplots(figsize=(22.6, 10), ncols=2) uda.ugrid.plot(ax=ax0, vmin=-20, vmax=90, cmap="terrain") ax0.axhline(y=section_y, color="red") section.plot(ax=ax1, x="mesh2d_face_x")
.. image:: https://raw.githubusercontent.com/Deltares/xugrid/main/docs/_static/xugrid-demo.png :target: https://github.com/deltares/xugrid
Install via conda from the conda-forge channel:
.. code:: console
conda install -c conda-forge xugrid
Or from the Python Package Index:
.. code:: console
pip install xugrid
.. image:: https://img.shields.io/github/actions/workflow/status/deltares/xugrid/ci.yml?style=flat-square :target: https://deltares.github.io/xugrid/
FAQs
Xarray extension for unstructured grids
We found that xugrid demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.