British-Oceanographic-Data-Centre / COAsT

A Coastal Ocean Assessment Tool built as an extendable python framework for nemo models
https://british-oceanographic-data-centre.github.io/COAsT/
MIT License
23 stars 11 forks source link

Loading and subsetting data speed up #627

Open b-barton opened 9 months ago

b-barton commented 9 months ago

Description of plan: Incorporate Xarray preprocessing for subsetting into COAsT. This could be done by loading data using xr.open_mfdataset() and passing it a subsetting partial function in the "preprocess" keyword.

AC: