iris: BUG: iris pp treats standard calendar as a proleptic gregorian and ignores real proleptic gregorian calendars

https://github.com/SciTools/iris/blob/75c7570bf4d509295e239aff47b70324cd68c22d/lib/iris/fileformats/pp_save_rules.py#L398-L404

Standard calendar cannot be treated as a Proleptic Gregorian for dates 1582-01-01 More context here: ancil/ticket #1159

UM F03 more recently clarified that the calendar it expects isn’t Standard but a Proleptic Gregorian. Not only is iris pp save ignoring time coordinates with proleptic_gregorian calendars entirely, it also allows saving Standard dates prior to 1582-01-01 (as though they are proleptic gregorian dates when they are not).

About this issue

  • Original URL
  • State: open
  • Created 5 years ago
  • Reactions: 1
  • Comments: 23 (23 by maintainers)

Most upvoted comments

No one ever looks at warnings.

Noting that the calendar previously called “gregorian” in the cf-conventions is now called “standard”, I’ve updated the comments through this issue to hopefully reduce confusion.

this is still important but I don’t have any time to fix it myself