René's URL Explorer Experiment


Title: [BUG] Resampled/CMORised time axis off by ~1 day for pre-1582 dates (GREGORIAN vs proleptic_gregorian) · Issue #461 · ACCESS-NRI/ACCESS-MOPPy · GitHub

Open Graph Title: [BUG] Resampled/CMORised time axis off by ~1 day for pre-1582 dates (GREGORIAN vs proleptic_gregorian) · Issue #461 · ACCESS-NRI/ACCESS-MOPPy

X Title: [BUG] Resampled/CMORised time axis off by ~1 day for pre-1582 dates (GREGORIAN vs proleptic_gregorian) · Issue #461 · ACCESS-NRI/ACCESS-MOPPy

Description: Summary The WCRP CMIP6 compliance check [TIME001] Check Time Squareness fails on CMORised ocean output for ACCESS-ESM1-5, with the time coordinate off by exactly one day: [TIME001] Check Time Squareness * Mismatch at index 0: expected 36...

Open Graph Description: Summary The WCRP CMIP6 compliance check [TIME001] Check Time Squareness fails on CMORised ocean output for ACCESS-ESM1-5, with the time coordinate off by exactly one day: [TIME001] Check Time Squar...

X Description: Summary The WCRP CMIP6 compliance check [TIME001] Check Time Squareness fails on CMORised ocean output for ACCESS-ESM1-5, with the time coordinate off by exactly one day: [TIME001] Check Time Squar...

Opengraph URL: https://github.com/ACCESS-NRI/ACCESS-MOPPy/issues/461

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BUG] Resampled/CMORised time axis off by ~1 day for pre-1582 dates (GREGORIAN vs proleptic_gregorian)","articleBody":"## Summary\n\nThe WCRP CMIP6 compliance check **[TIME001] Check Time Squareness** fails on CMORised\nocean output for ACCESS-ESM1-5, with the time coordinate off by exactly one day:\n\n```\n[TIME001] Check Time Squareness\n* Mismatch at index 0: expected 36706.500000, got 36707.500000.\n  (table_id=Oyr, frequency=yr, var=no3, midpoint=True)\n```\n\nThe numeric time values (and their bounds) are computed in the **mixed Julian/Gregorian\n\"standard\" calendar**, but the file ultimately declares **`proleptic_gregorian`**, so for\ndates before the 1582 Julian→Gregorian reform the two disagree by ~1 day.\n\nThe same root cause produces a related **CF §7.1** finding:\n\n```\n'time_bnds' has attr 'calendar' with value 'GREGORIAN' that does not agree with\nits associated variable ('time')'s attr value 'proleptic_gregorian'\n```\n\n## Root cause\n\nACCESS-ESM1-5 model files label their time axis with the **non-CF calendar name\n`\"GREGORIAN\"`**. Two pieces of code interpret this label inconsistently:\n\n1. `base.CMORiser._check_calendar()` rewrites `\"GREGORIAN\"` → `\"proleptic_gregorian\"`\n   (a documented `TODO` workaround for the model's mislabelling). It **changes only the\n   label, not the numeric values** — which is correct, because the model's values are\n   genuinely proleptic-Gregorian (the model has no Julian transition).\n\n2. `utilities.calculate_time_bounds()` and the resampling midpoint helper\n   (`_shift_resampled_time_to_period_midpoint`) read the raw `\"GREGORIAN\"` label and pass\n   it to `cftime`, which treats `\"GREGORIAN\"` as the CF **`standard`** calendar\n   (Julian before 1582-10-15). They therefore build the year/period boundaries — and the\n   yearly midpoint — in the **Julian** frame.\n\nFor year 0101 this gives:\n\n| Quantity | standard / Julian (what we compute) | proleptic_gregorian (what the file declares \u0026 the checker expects) |\n|----------|-------------------------------------|--------------------------------------------------------------------|\n| 0101-01-01 (`days since 0001-01-01`) | 36525 | 36524 |\n| Yearly midpoint | 36707.5 | 36706.5 |\n\nThe 1-day gap is exactly the Julian-vs-proleptic leap-day difference accumulated over\nyears 1–101 (Julian counts year 100 as a leap year; proleptic_gregorian does not).\n\nThe checker validates against the file's declared calendar (`proleptic_gregorian`), so it\nexpects `36706.5` and flags our `36707.5`.\n\n## Impact\n\n- **[TIME001]** fails for all CMORised ACCESS-ESM1-5 output whose time axis falls before\n  1582 (e.g. piControl/historical spin-up years like 0101).\n- **CF §7.1** reports a `time_bnds` vs `time` calendar mismatch (`GREGORIAN` vs\n  `proleptic_gregorian`) for the same reason.\n- Post-1582 data is unaffected (the two calendars coincide), which is why the\n  discrepancy is easy to miss.\n","author":{"url":"https://github.com/rhaegar325","@type":"Person","name":"rhaegar325"},"datePublished":"2026-06-25T11:12:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/461/ACCESS-MOPPy/issues/461"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a197755e-e152-239e-47c8-46099f284fdf
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB6F6:324B70:51A38A:7413A6:6A4BCB70
html-safe-noncef3e54e239d850eda58c52a160c4533c72dc91886421d8399accacb95ad94fbed
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNkY2OjMyNEI3MDo1MUEzOEE6NzQxM0E2OjZBNEJDQjcwIiwidmlzaXRvcl9pZCI6IjQwMjk0NDg3MDg2OTI4ODg0MzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacaffd1370ca55ed8b71f6bb120eef6415715af67012f18c546548cb4370c399f2
hovercard-subject-tagissue:4743265788
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ACCESS-NRI/ACCESS-MOPPy/461/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2608061a45aca1e67c1bdb7012df0153ad13f3f393c4a964d9259b5f91bd049e/ACCESS-NRI/ACCESS-MOPPy/issues/461
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2608061a45aca1e67c1bdb7012df0153ad13f3f393c4a964d9259b5f91bd049e/ACCESS-NRI/ACCESS-MOPPy/issues/461
og:image:altSummary The WCRP CMIP6 compliance check [TIME001] Check Time Squareness fails on CMORised ocean output for ACCESS-ESM1-5, with the time coordinate off by exactly one day: [TIME001] Check Time Squar...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerhaegar325
hostnamegithub.com
expected-hostnamegithub.com
None14aa00ce5bdb34d0eefb5facbffd7de9e144c688d8a93ef8df902d5f94b51dd7
turbo-cache-controlno-preview
go-importgithub.com/ACCESS-NRI/ACCESS-MOPPy git https://github.com/ACCESS-NRI/ACCESS-MOPPy.git
octolytics-dimension-user_id105186864
octolytics-dimension-user_loginACCESS-NRI
octolytics-dimension-repository_id955620939
octolytics-dimension-repository_nwoACCESS-NRI/ACCESS-MOPPy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id955620939
octolytics-dimension-repository_network_root_nwoACCESS-NRI/ACCESS-MOPPy
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release58b8f89190447502561829f30862aa0a99d53367
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/ACCESS-NRI/ACCESS-MOPPy/issues/461#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FACCESS-NRI%2FACCESS-MOPPy%2Fissues%2F461
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FACCESS-NRI%2FACCESS-MOPPy%2Fissues%2F461
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=ACCESS-NRI%2FACCESS-MOPPy
Reloadhttps://github.com/ACCESS-NRI/ACCESS-MOPPy/issues/461
Reloadhttps://github.com/ACCESS-NRI/ACCESS-MOPPy/issues/461
Reloadhttps://github.com/ACCESS-NRI/ACCESS-MOPPy/issues/461
Please reload this pagehttps://github.com/ACCESS-NRI/ACCESS-MOPPy/issues/461
ACCESS-NRI https://github.com/ACCESS-NRI
ACCESS-MOPPyhttps://github.com/ACCESS-NRI/ACCESS-MOPPy
Notifications https://github.com/login?return_to=%2FACCESS-NRI%2FACCESS-MOPPy
Fork 2 https://github.com/login?return_to=%2FACCESS-NRI%2FACCESS-MOPPy
Star 1 https://github.com/login?return_to=%2FACCESS-NRI%2FACCESS-MOPPy
Code https://github.com/ACCESS-NRI/ACCESS-MOPPy
Issues 29 https://github.com/ACCESS-NRI/ACCESS-MOPPy/issues
Pull requests 7 https://github.com/ACCESS-NRI/ACCESS-MOPPy/pulls
Actions https://github.com/ACCESS-NRI/ACCESS-MOPPy/actions
Projects https://github.com/ACCESS-NRI/ACCESS-MOPPy/projects
Security and quality 0 https://github.com/ACCESS-NRI/ACCESS-MOPPy/security
Insights https://github.com/ACCESS-NRI/ACCESS-MOPPy/pulse
Code https://github.com/ACCESS-NRI/ACCESS-MOPPy
Issues https://github.com/ACCESS-NRI/ACCESS-MOPPy/issues
Pull requests https://github.com/ACCESS-NRI/ACCESS-MOPPy/pulls
Actions https://github.com/ACCESS-NRI/ACCESS-MOPPy/actions
Projects https://github.com/ACCESS-NRI/ACCESS-MOPPy/projects
Security and quality https://github.com/ACCESS-NRI/ACCESS-MOPPy/security
Insights https://github.com/ACCESS-NRI/ACCESS-MOPPy/pulse
[BUG] Resampled/CMORised time axis off by ~1 day for pre-1582 dates (GREGORIAN vs proleptic_gregorian)https://github.com/ACCESS-NRI/ACCESS-MOPPy/issues/461#top
bugSomething isn't workinghttps://github.com/ACCESS-NRI/ACCESS-MOPPy/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/rhaegar325
rhaegar325https://github.com/rhaegar325
on Jun 25, 2026https://github.com/ACCESS-NRI/ACCESS-MOPPy/issues/461#issue-4743265788
bugSomething isn't workinghttps://github.com/ACCESS-NRI/ACCESS-MOPPy/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.