Opened 4 weeks ago

Last modified 2 weeks ago

#2730 new help

Ancillaries not calendar flexible

Reported by: langtont Owned by: um_support
Priority: normal Component: UM Model
Keywords: calendar, gregorian Cc:
Platform: UM Version: 11.0


(Suite u-ay476, GA7.1) Despite the UKCA wiki page saying that the ancillaries at /projects/ukca-admin/inputs/ancil/gregorian/n96e are calendar flexible, my model is throwing the error:

???!!!???!!!???!!!???!!!???!!!       ERROR        ???!!!???!!!???!!!???!!!???!!!
?  Error code: 102
?  Error from routine: INITIAL_4A
?  Error message: INANCILA : Wrong calendar set in Ancillary File
?  Error from processor: 0
?  Error number: 27

I've set calendar as Gregorian in the rose-suite.conf but seem to keep running into this error

Change History (2)

comment:1 Changed 2 weeks ago by grenville

Hi Tom

Is this still a problem (sorry for the slow reply)


comment:2 Changed 2 weeks ago by luke

Hi Tom,

I do not believe that this is a UKCA problem per se.

The committed version of u-ay476 still uses a 360-day calendar and I think that you've removed your working copy of the suite as it doesn't seem to exist in /home/d04/thola/roses on Monsoon2. Without seeing the changes in the working copy it's hard to be sure exactly, but I have a suspicion that the removal of the lines



from the app/um/opt/rose-app-gregorian.conf file (see changeset 103287) might have something to do with it.

When you set the Gregorian calendar the settings in this file over-ride the original settings in the main app/um/rose-app.conf file that you edit with Rose. With these lines removed you will be using the original files




these files are likely not Gregorian (hence the need to change them).

App override files are tricky to use and should only be edited with care.

You can tell that it isn't a UKCA error due to where the error is trapped from:

?  Error from routine: INITIAL_4A
?  Error message: INANCILA : Wrong calendar set in Ancillary File

i.e. this is coming from the UM ancillary routines and not the UKCA NetCDF emissions routines. It is (mainly) the UKCA NetCDF files that are located in /projects/ukca-admin/inputs/ancil/gregorian/n96e. There is also the sub-directory


that contain default ancillary paths/name settings for GA7.1 and GA7.1 AMIP suites that want to use a Gregorian calendar. You could make use of these in your suite's install_ancil app to prevent issues like this, but I suggest that you look through the files and make sure that they match what you want.

There is a listing of nudged Gregorian GA7.1+StratTrop suites available on the UKCA website here:

although these are configured as a year-2000 timeslice when it comes to emissions/forcings. However, you could compare to your suite to ensure that you have the general settings correct in your offline-oxidants suite.

I hope this helps.


Note: See TracTickets for help on using tickets.