-
Notifications
You must be signed in to change notification settings - Fork 18
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
Standardize parameter names #178
Conversation
…le ended to double ended
…function. The resample function from dtscalibration was blocking the ability to upgrade to recent versions of xarray and pandas. Resampling using the xarray functions is now proposed, see example notebook 2. See #167
New versions of pandas don't support the squeeze argument
Merge #177 first |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! This makes the functions a lot easier. -330 lines as well :)
Don't forget the changelog 😉
T_dalpha_fw=-self.x * (tmpf ** 2) / self[store_gamma], | ||
T_alpha_fw=-(tmpf ** 2) / self[store_gamma], | ||
T_ta_fw=-(tmpf ** 2) / self[store_gamma], | ||
T_gamma_fw=tmpf / self.gamma, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
T_gamma_fw=tmpf / self.gamma, | |
T_gamma_fw=tmpf / self["gamma"] |
I prefer always accessing xarray variables using the ["var"] syntax, this ensures no conflicts with builtin methods etc.
See #159