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

Small fix to CST_RFWeights

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Jost von Hardenberg requested to merge fix_rfweights into master Nov 23, 2019
  • Overview 4
  • Commits 3
  • Pipelines 3
  • Changes 1

@silvia discovered that CST_RFWeights will not work properly when the target longitudes (lon) are not monotonic, as happens in some cases when the original model uses longitudes in the range 0:360, but a window crossing Greenwich is used. Example [355, 356, 357, 358, 359 0 1 2 3 ...]. This small fix corrects that. It converts longitudes in such a case so that negative longitudes are used. It is still responsibility of the user to provide a climatology file which is centered in such a way that it contains entirely the target area. This means that if the target area crosses Greenwich, but the climatology is global and its longitudes start at 0, then it should be shifted by 180 degrees so that it starts at -180.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix_rfweights