UXARRAY / uxarray

Xarray extension for unstructured climate and global weather data analysis and visualization.
https://uxarray.readthedocs.io/
Apache License 2.0
148 stars 31 forks source link

DRAFT: Dask implementation of Node-Face Topological Aggregation #857

Open philipc2 opened 1 month ago

philipc2 commented 1 month ago

Closes #XXX

Overview

Expected Usage

import uxarray as ux

grid_path = "/path/to/grid.nc"
data_path = "/path/to/data.nc"

uxds = ux.open_dataset(grid_path, data_path)

# this is how you use this function
some_output = uxds.some_function()

# this is another way to use this function
other_output = uxds.some_function(some_param = True)

PR Checklist

General

Testing

Documentation

Examples

philipc2 commented 1 month ago

@rytam2

We discussed this a little durring our meeting earlier today. Lets chat about this sometime this week and do some analysis of the Dask implementation.

rajeeja commented 1 month ago

This is a good contribution, we can add a test case, also pass chunk during loading, something along the lines:

ds = xr.open_dataset('large_dataset.nc', chunks={'time': 100, 'latitude': 50, 'longitude': 50})

Not very sure, but I think our **kwargs might be able to handle chunks in our open_dataset wrapper call.