Ancil file error

Hi! I am converting a job to a 2014 timeslice and keep getting the following error:

? Error code: 202

? Error from routine: UP_ANCIL

? Error message: REPLANCA: PP HEADERS ON ANCILLARY FILE DO NOT MATCH

? Error from processor: 0

? Error number: 40

with the pe_output:

Information used in checking ancillary data set: position of lookup table in dataset: 0

Position of first lookup table referring to data type 0

Interval between lookup tables referring to data type 0 Number of steps 0

STASH code in dataset 60 STASH code requested 31

‘start’ position of lookup tables for dataset 2 in overall lookup array 1021

60, 31, 2

UP_ANCIL : Error in REPLANCA.

I think this is relating to the ozone file I am using: ancilfilename=‘$CMIP6_ANCILS/n96e/timeslice_2014/OzoneConc/v1/mmro3_monthly_CMIP6_2014_N96_edited-ancil_2anc’. When the ignore gridcheck is set to false, this fails first on the model levels, and when this is set to true I get the error above. I believe I need to add this file because I am trying to decouple UKCA from the radiation, by switching off l_ukca_rado3. When this is off, I presume it is using the ozone from the install_ancil rose-app.conf file which is /work/y07/shared/umshared/ancil/atmos/n96e/ozone/sparc/1994-2005/v3/qrclim.ozone_L85_O85. I would rather have the file for 2014 but perhaps it is easiest to just use this file?

Thanks for your time,

Hannah

Hi Hannah.

Could you commit any local changes you have (presumably) to MOSRS and give me the workflow ID so I can take a look?

Cheers.

Jonny

Hi Jonny,

Yes thank you! It is u-dv410 and I have just committed it.

Best,

Hannah

OK got it thanks. I’m going to convert it to Cylc 8 and go from there. :smiley:

Thanks :slight_smile: I’m not sure if this is the issue, but I’ve noticed my land_cover_frac file which I got from Jasmin on another helpdesk ticket here: 2014 timeslice using Archer2 - #8 by hannahbryant /gws/nopw/j04/cmip6_prep_vol1/cmip6_ancils/data/ancils/model_derived/ukesm1.0_historical_r2i1p1f2_u-bc292/n96e/clim_2005-2014 gives me a core dumped error so I think this file is erroneous. Do you know where I might be able to get another copy of this file?

Thanks,

Hannah

Hi Hannah,
I am not sure of the locations for CMIP6 ancils on ARCHER2, most ancils are in /work/y07/shared/

In your original error message above

‘STASH code in dataset 60 STASH code requested 31’

stash 31 refers to the sea-ice fraction so it looks like the model ran past the sea-ice ancillary records and into the ozone file (UM opens all ancillaries as a continuous list and moves the ‘read-pointer’ according to what it expects the strides between records to be.) So, if the error is persisting it would help to check that the above ancillary is consistent e.g not using a 360-day ancil with daily data in a Gregorian calendar run.

Mohit

@hannahbryant regarding this I am now running a Cylc 8 version of u-dv410 which we can discuss elsewhere.

Let us know how you get on with the ancil issue.

Cheers

Hi both, thanks for this. The ancils I needed were missing from /work/y07/shared/ so in that ticket, James had directed me to the files in Jasmin but I think one was corrupted. Might it be possible that if this is on Monsoon it could be moved to Archer? We have some permission problems with Monsoon at the university which makes it difficult to copy files from Monsoon to other accounts.

@jonnyhtw how did the run go? Did it work?

Thanks!

hannah

Hi Hannah.

I’ve only just got my account on Monsoon so I’ll run the workflow and will let you know I get on (previously I was just checking the Cylc 8 syntax). Note that JASMIN is down for maintenance at the moment which may disrupt things further, albeit only temporarily.

Cheers.

Jonny

Hi again.

I’ve just got the fcm_make2_um task to work after fixing a little bug in my new Cylc 8 config. Will continue (recon, atmos_main) tomorrow.

Cheers.

Jonny

PS - still working on my MONSOON access…

Hi Hannah.

I’ve taken a look and I get the same error as you (which is good!). I’ve looked at the ancillary setup and there are couple of things to check going forward.

  1. You are currently using the SPARC (zonal mean) ozone ancil file, which is specified via the install_cold and install_ancil workflow apps and ends up here…

[your cylc-run dir]/share/data/etc/ancil/qrclim.ozone

  1. Although your ozone ancil is set to update the running atmos_main task at runtime, it is currently set to initialise to missing data (see screenshot), rather than from an ancil file.

Cheers.

Jonny

Hi Jonny,

Thanks for this - how can I tell that the ancil is set to update the running atmos_main task at runtime?

Cheers,

Hannah

Hi Hannah.

Here’s the rose edit option describing it…

Cheers.

Jonny

Hi Jonny,

Ah ok great this was where I was looking, I think I’m just confused as to why we know its using qrclim.ozone not this file that is in the ancilfilename in the screenshot!

Thanks,

Hannah

Hi Hannah.

What I meant to say is that the qrclim.zone file is being installed to the zonal mean SPARC data via the install_cold and install_ancil apps, which is standard practice in this type of workflow. This file the ends up here…

[your cylc-run dir]/share/data/etc/ancil/qrclim.ozone

Once the run (atmos_main) has started it will update monthly using the 3D one in the ancil window in my previous message and use the initial conditions declared in the same window.

Cheers.