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

Periodic dimension #1

Closed
acapet opened this issue Dec 5, 2017 · 1 comment
Closed

Periodic dimension #1

acapet opened this issue Dec 5, 2017 · 1 comment

Comments

@acapet
Copy link

acapet commented Dec 5, 2017

Hello,
Is it possible to specify periodic dimensions ?

More specifically, I'm thinking of using "Day of the Year" as temporal dimension, ie. to retain seasonal variability but neglect inter annual variability.
To do so we need December 31th (365) to be close a neighbor of Jan 1st (1).

Maybe that is already implemented for longitude ?

Thanks!

@Alexander-Barth
Copy link
Member

Yes, this is possible using the keyword argument moddim. It is a vector with one element for every dimension. For every periodic dimensions, the corresponding element is the "repeating" period of this dimension. 0 is a special value which means that the dimension is not a periodic dimension.
So for a 3D analysis (longitude, latitude, time) in a global domain with a climatological year, moddim would be [360,0,365].

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

2 participants