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
  • !19

Merged
Created Feb 06, 2020 by edsmall@edsmallContributor

ARGODEV-171: convert retr_region.m

  • Overview 0
  • Commits 45
  • Pipelines 9
  • Changes 13

Jira Issue

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

Python Implementation

Refactored some copied code out of get_region and retr_region (see here)

Will also throw an error if, for some reason, we get no data

Testing

Tests:

  • Checks that we get 6 arrays back (latitude, longitude, dates, potential temperature, pressure, salinity)
  • Checks that the shape of the data is how we expect it to be
  • Check that we can fetch different combinations of data (ctd/bottle/argo)
  • Check that, if we only ask for n data points we only get n data points
  • Check that an exceptions is raised if we don't get back any data

Old Matlab Implementation

After finding the best historical data, according to space and time, we need to fetch the corresponding ocean characteristic data. At this point, OWC knows the indices of the data points it wants to use.

We then use these indices to fetch only the relevant ocean characteristic data

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