Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More calendars than just 'standard', '360-day' and '365-day' #5378

Closed
HoWol76 opened this issue Jul 17, 2023 · 4 comments
Closed

More calendars than just 'standard', '360-day' and '365-day' #5378

HoWol76 opened this issue Jul 17, 2023 · 4 comments
Labels
Stale A stale issue/pull-request

Comments

@HoWol76
Copy link

HoWol76 commented Jul 17, 2023

if calendar == cf_units.CALENDAR_STANDARD:

My code just fails as it tries to read in a file with a calendar type 'proleptic_gregorian'

cf_units has several calendars:

CALENDAR_STANDARD = "standard"
CALENDAR_GREGORIAN = "gregorian"
CALENDAR_PROLEPTIC_GREGORIAN = "proleptic_gregorian"
CALENDAR_NO_LEAP = "noleap"
CALENDAR_JULIAN = "julian"
CALENDAR_ALL_LEAP = "all_leap"
CALENDAR_365_DAY = "365_day"
CALENDAR_366_DAY = "366_day"
CALENDAR_360_DAY = "360_day"

I just have this issue when I try to load an orography file, which has set the year to 0.

@rcomer
Copy link
Member

rcomer commented Jul 17, 2023

I think this might be part of the same problem as #3561, and I have an open pull request for that at #5138. @HoWol76 are you able to try loading your file with my branch? The original issue is rather old, so we have been unsure how to test my change in a real-world situation.

Edit: we have instructions for installing Iris from a git checkout at https://scitools-iris.readthedocs.io/en/latest/installing.html#installing-from-source-with-conda-developers

@trexfeathers
Copy link
Contributor

trexfeathers commented Jul 19, 2023

From @SciTools/peloton:

@HoWol76 do you think you could try out the changes in #5138 to see whether they would fix your issue?

If not, please could you provide us with a way of replicating your problem? Thanks

@scitools-ci scitools-ci bot removed this from 🚴 Peloton Dec 15, 2023
Copy link
Contributor

github-actions bot commented Dec 1, 2024

In order to maintain a backlog of relevant issues, we automatically label them as stale after 500 days of inactivity.

If this issue is still important to you, then please comment on this issue and the stale label will be removed.

Otherwise this issue will be automatically closed in 28 days time.

@github-actions github-actions bot added the Stale A stale issue/pull-request label Dec 1, 2024
Copy link
Contributor

This stale issue has been automatically closed due to a lack of community activity.

If you still care about this issue, then please either:

  • Re-open this issue, if you have sufficient permissions, or
  • Add a comment stating that this is still relevant and someone will re-open it on your behalf.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 30, 2024
@scitools-ci scitools-ci bot removed this from 🚴 Peloton Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale A stale issue/pull-request
Projects
None yet
Development

No branches or pull requests

3 participants