Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • SUNSET SUNSET
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 42
    • Issues 42
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Earth SciencesEarth Sciences
  • SUNSETSUNSET
  • Issues
  • #31
Closed
Open
Issue created Aug 24, 2022 by vagudets@vagudetsMaintainer

Saving Module: Add calendar to output NetCDF attributes + Support for non-gregorian calendars

Hi @aho

I have created a new branch dev-saving-add_calendar to handle the calendar issue. The idea is to use the PCICt library to compute the leadtimes according to the original calendar of the data when saving. This way we can correctly handle calendars like 360_day, 365_day, etc. Then, the time structure of the output data is the same as the input data. Since there wasn't much that needed to be changed I have already done some testing for the seasonal and decadal cases and I think it will work well. But I still want to put some order in the code, lol.

I see that in the decadal archive there is already a calendar parameter, and I'd like to implement this in the seasonal archive as well. I noticed however that in your archive it is only under daily_mean and it's missing from some systems:

      MPI-ESM1.2-HR:
        src:
          hcst: "exp/CMIP6/dcppA-hindcast/MPI-ESM1-2-HR/DCPP/MPI-M/MPI-ESM1-2-HR/dcppA-hindcast/"
          fcst:
        monthly_mean:
          table: {"tas":"Amon", "pr":"Amon", "psl":"Amon", "tasmin":"Amon", "tasmax":"Amon"}
          grid: {"tas":"gn", "pr":"gn", "psl":"gn", "tasmin":"gn", "tasmax":"gn"}
          version: {"tas":"v20200320", "pr":"v20200320", "psl":"v20200320", "sfcWind":"v20200320"}
        daily_mean:
          grid: {"pr":"gn", "tas":"gn", "tasmax":"gn", "tasmin":"gn"}
          version: {"pr":"v20210128", "tas":"v20200320", "tasmax":"v20200101", "tasmin":"v20200101"}
          calendar: "standard"

Are there models where the calendar type depends on the time aggregation? Separating them is no problem, just asking to make sure.

If you agree we can go ahead and add the calendars to the archive for every system/reference and go for this approach. Let me know what you think.

Thanks,

Victòria

Edited Aug 24, 2022 by vagudets
Assignee
Assign to
Time tracking