ioos / APIRUS

API for Regular, Unstructured and Staggered model output (or API R US)
Creative Commons Zero v1.0 Universal
2 stars 1 forks source link

Handling of different CDM featureTypes #12

Open ocefpaf opened 8 years ago

ocefpaf commented 8 years ago

Handling of different common data model was one of the topics raised in #11.

@kwilcox said:

I think we will need an implementation of the CF DSGs in python, and it should be implemented in the same way pyugrid and pysgrid will be so the common API is consistent. I would love it if extracting a timeseries from a model produced a TimeSeries object I could then export to NetCDF (or just analyze locally in memory).

ChrisBarker-NOAA commented 8 years ago

MAking sure we;re talking about the same thing:

http://cfconventions.org/cf-conventions/v1.6.0/cf-conventions.html#discrete-sampling-geometries

I agree that a python implementation would be a good thing, but I don't think it belongs in with pyugrid and pysgrid -- to me, the *grid (see -- that's why I want to call it stargrid) are about an abstraction for a discrete representation of continuous fields. DSGs are discrete, but not continuous.

Not that these tools shouldn't all fit well together and use similar APIs where appropriate.