Skip to content

Functions for converting to and from CDAT cdms2 variables #133

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

Closed
shoyer opened this issue May 16, 2014 · 7 comments · Fixed by #236
Closed

Functions for converting to and from CDAT cdms2 variables #133

shoyer opened this issue May 16, 2014 · 7 comments · Fixed by #236

Comments

@shoyer
Copy link
Member

shoyer commented May 16, 2014

Apparently CDAT has a number of useful modules for working with weather and climate data, especially for things like computing climatologies (related: #112). There's no point in duplicating that work in xray, of course (also, climatologies may be too domain specific for xray), so we should make it possible to use both xray and CDAT interchangeably.

Unfortunately, I haven't used CDAT, so it not obvious to me what the right interface is. Also, CDAT seems to be somewhat difficult (impossible?) to install as a Python library, so it may be hard to setup automated testing.

CC @DamienIrving

@DamienIrving
Copy link

@shoyer I love this suggested enhancement. If I could use xray and CDAT interchangeably, then I'd add xray into my workflow immediately (I'd image many other people would too, as CDAT has a fairly large user base).

The first thing I'd say is that you don't need to install all of UV-CDAT to get the useful modules. Instead, people have developed cdat-lite, which strips away all the visualisation stuff associated with UV-CDAT and just leaves the core convenience functions for calculating climatologies etc (i.e. it strips away the UV bit and just leaves the CDAT).

With the emergence of conda and binstar, it's now very easy to install cdat-lite with Anaconda. This page should be all you need: https://binstar.org/ajdawson/cdat-lite

@shoyer
Copy link
Member Author

shoyer commented Sep 21, 2014

OK, I just tested out that conda package and it does appear to work! That is great -- this will make it possible for me to get automated tests going (which is a prerequisite to adding new features).

I'm about to do a major release but I should be able to take a look at this shortly if you are willing to test it out. It looks like the basic interface should be pretty straightforward.

@DamienIrving
Copy link

Happy to test it out for you.

@aashish24
Copy link

👍 @DamienIrving others, let us know if you need any help! This is really awesome stuff.

@shoyer
Copy link
Member Author

shoyer commented Apr 23, 2015

@aashish24 This has been in the last few xray releases -- I'd love to get some feedback on it, I don't think it's gotten much use yet (I don't use cdat).

@aashish24
Copy link

Sure..we will give it a try soon and report back. I guess what would help is some documentation and may be a blog. What you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants