NOAA-ORR-ERD / LibGOODS

Library for accessing data useful for the NOAA / GNOME model
https://libgoods.readthedocs.io/en/latest/
Other
1 stars 2 forks source link

Subsetting work #11

Closed kthyng closed 2 years ago

kthyng commented 2 years ago

now getting cf-xarray from conda-forge and also updates with extract_model from conda-forge getting the subset code from extract_model to run

Also have a new demo for subset work.

kthyng commented 2 years ago

I don't know why the 3.7 build won't work. I am going to push this forward anyway.

ChrisBarker-NOAA commented 2 years ago

I think we can go to 3.8+ only at this point. Maybe even 3.9+ if there's a reason to.

ChrisBarker-NOAA commented 2 years ago

From a glance, it looks like extract_model's use case overlaps some with gridded (with the exception of the unstructured grid support). And, of course overlaps a lot with what we want libgoods to do.

So we should probably be thinking a bit about how to keep this all a not-too-tangled mess of packages and APIs.

Some options of the top of my head:

a) Bring what we need from extract_model and gridded into libgoods

b) Extend extract_model to provide the same API for unstructured grids

c) Build a gridded v.2 -- built on xarray that supports all this.

(b) and (c) are actually almost the same - except which API to mimic.