Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • CSTools CSTools
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 28
    • Issues 28
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • External
  • CSToolsCSTools
  • Merge requests
  • !165

Change coordinates inside the 's2dv_cube' to be vectors

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Eva Rifà requested to merge develop-s2dv_cube_coords into master Apr 12, 2023
  • Overview 0
  • Commits 7
  • Pipelines 7
  • Changes 10

See #121 (closed)

Change the $coords elements inside the 's2dv_cube' to be vectors. Now, in some cases they are vectors, in some cases they are arrays.

Example

# Current

> library(CSTools)
> dim(lonlat_prec$coords$lon)
[1] 4
> class(lonlat_prec$coords$lon)
[1] "array"
> length(lonlat_prec$coords$lon)
[1] 4

# Change coords arrays to vectors

> dim(lonlat_prec$coords$lon)
NULL
> class(lonlat_prec$coords$lon)
[1] "numeric"
> length(lonlat_prec$coords$lon)
[1] 4
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: develop-s2dv_cube_coords