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

Support month and year offsets #292

Closed
georgemccabe opened this issue Aug 21, 2019 · 1 comment
Closed

Support month and year offsets #292

georgemccabe opened this issue Aug 21, 2019 · 1 comment
Assignees
Labels
component: python wrapper priority: high High Priority requestor: NOAA/SWPC NOAA Space Weather Prediction Center type: enhancement Improve something that it is currently doing

Comments

@georgemccabe
Copy link
Collaborator

datetime timdelta does not support offsets of month or year because they are not uniform offsets. However, there is a python utility called dateutil which supports relative offsets that can be months or years. We should modify the time offset code (such as [INIT/VALID]_INCREMENT and StringSub shift) to use dateutil so the user can specify months and year offsets.

@georgemccabe georgemccabe added type: enhancement Improve something that it is currently doing component: python wrapper priority: high High Priority requestor: NOAA/SWPC NOAA Space Weather Prediction Center labels Aug 21, 2019
@georgemccabe georgemccabe added this to the METplus Future Versions milestone Aug 21, 2019
@georgemccabe georgemccabe self-assigned this Nov 4, 2019
@georgemccabe
Copy link
Collaborator Author

This work has been completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: python wrapper priority: high High Priority requestor: NOAA/SWPC NOAA Space Weather Prediction Center type: enhancement Improve something that it is currently doing
Projects
None yet
Development

No branches or pull requests

2 participants