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

cftime.utime removed from cftime 1.5.0 #25

Closed
ScottWales opened this issue May 21, 2021 · 2 comments · Fixed by #26
Closed

cftime.utime removed from cftime 1.5.0 #25

ScottWales opened this issue May 21, 2021 · 2 comments · Fixed by #26

Comments

@ScottWales
Copy link

The new release 1.5.0 of cftime appears to have removed the class cftime.utime, used at https://github.com/NCAS-CMS/cfunits/blob/master/cfunits/units.py#L2591

From their changelog:

  • remove legacy utime class, and legacy JulianDayFromDate and DateFromJulianDay functions (replaced by cftime.datetime.toordinal and cftime.datetime.fromordinal). PR #235.
@davidhassell
Copy link
Contributor

Thanks for highlighting this, @ScottWales.

We'll be creating a PR to fix this and put a out a new version that requires cftime>=1.5.0, soon.

@davidhassell
Copy link
Contributor

davidhassell commented May 21, 2021

3.3.2 now available in PyPi

Edit: 3.3.2 had an install problem. This is fixed in 3.3.3: https://pypi.org/project/cfunits/3.3.3/

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

Successfully merging a pull request may close this issue.

2 participants