Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
owc-software-python owc-software-python
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • bodc
  • owc-software-pythonowc-software-python
  • Merge requests
  • !10

Merged
Created Nov 11, 2019 by edsmall@edsmallContributor

ARGODEV-152: Convert change_dates

  • Overview 0
  • Commits 9
  • Pipelines 9
  • Changes 7

Jira Issue

ARGODEV-152 (https://jira.ceh.ac.uk/browse/ARGODEV-152)

Python Implementation

Same as the Matlab implementation, but will handle bad dates without crashing

Testing

Written 7 tests to check answers are as expected, and to check that if the function is given nonsense dates(too short, negative, strings, etc) that it will return a 0 for that date

Old Matlab Implementation

Separates a continuous calendar number (ie 11/12/2019 12:00pm would look like 201912111200) into year, month, days, hours, and minutes to then by decimalised. It then returns all the dates in an array.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: edsmall/change-dates