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

Improve PlotWeeklyClim to allow years outside the reference period

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Eva Rifà requested to merge develop-allow_plot_outside_reference into master May 09, 2023
  • Overview 0
  • Commits 4
  • Pipelines 4
  • Changes 3

For issue #118 (closed).

Changes

New parameter data_years. Also, the parameters ref_period_ini and ref_period_end have been unified in the new parameter ref_period:

  • data_years: It's a vector with the complete years of the data. It must be of the same length of dimension 'sdate_dim' of parameter 'data'. It is optional, if not specified, all the years will be used as the target period. As an example, if the data is from years continuously 2007 to 2021, it has to be: data_years = 2007:2021.
  • ref_period: It's a vector with all the years of the reference period. As an example, if the reference period goes from 2007 to 2010, it has to be: ref_period = 2007:2010.

Some other added parameters:

  • last_date: Optional, to indicate the last date of the timeseries.
  • subtitle: Optionla, used to set a subtitle.
  • ytitle: Optional, it stands for the y-axis title.
  • legend: Optional, whether to plot the legend or not.
Edited May 10, 2023 by Eva Rifà
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: develop-allow_plot_outside_reference