Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compare with ncml approach by ouranos #5

Open
cehbrecht opened this issue Mar 4, 2020 · 3 comments
Open

Compare with ncml approach by ouranos #5

cehbrecht opened this issue Mar 4, 2020 · 3 comments

Comments

@cehbrecht
Copy link
Collaborator

Ouranos is using ncml to provide data fixes.

Point @huard to an example where ncml does not cover the needed fix.

A fix currently looks like this:
https://github.com/roocs/proto-lib-34e/blob/master/fixes/cmip5.output1.INM.inmcm4.rcp45.mon.ocean.Omon.r1i1p1.latest.zostoga.json

Could our scanner also generate ncml fixes need by ouranos? So the scanner could be a shared component.

Currently this is all prototyping ...

@huard
Copy link
Contributor

huard commented Mar 4, 2020

Would something like this work for this particular example ?

<variable name="tas">
  <logicalReduce dimNames="lev" />
</variable>

@agstephens
Copy link
Collaborator

Looks nice and simple @huard

@huard
Copy link
Contributor

huard commented Mar 5, 2020

In theory, yes. Unclear yet to me how this plays out in practice. I've still not figured out how to design code that parses an XML and translates that in xarray commands. I'm concerned that without a clear design, this is going to turn into a mess.

@ellesmith88 ellesmith88 transferred this issue from roocs/proto-lib-34e Mar 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants