cftime
cftime copied to clipboard
Error message recommends unsupported option
When I try to use the num2date
function to compute "years since ..." it recommends that I can use common_years
as the unit as long as I set calendar='noleap'
. However this doesn't seem to work (with an opaque error), and is also inconsistent with the docstring for num2date
which says
common_years since is allowed only for the 365_day calendar
Either the error message or the docstring must be incorrect.
To report a non-security related issue, please provide:
- the version of the software with which you are encountering an issue
cftime 1.6.3
- environmental information (i.e. Operating System, compiler info, java version, python version, etc.)
python 3.10
- a description of the issue with the steps needed to reproduce it
See screenshot above