Skip to content

Nested UKCA (e.g., from Hamish)

dangrosvenor edited this page Mar 28, 2023 · 3 revisions

Official nested UKCA docmentation

https://code.metoffice.gov.uk/trac/rmed/wiki/suites/nesting/NS_UKCA

Nested UKCA (e.g., from Hamish)

For global recon :-

  • Model dump used can be any resolution.
  • But I think that the MODE_INIT (dm_UKCA_init_file) file used has to match the resolution of the science global run.
  • Otherwise you get an error like this :-
????????????????????????????????????????????????????????????????????????????????
???!!!???!!!???!!!???!!!???!!!       ERROR        ???!!!???!!!???!!!???!!!???!!!
?  Error code: 20
?  Error from routine: RCF_AUX_FILE
?  Error message: Dimensions of AUX file and dump file do not match
?  Error from processor: 0
?  Error number: 84453
????????????????????????????????????????????????????????????????????????????????
  • Actually I think this was because of the orography ancils etc. relating to Paul's Hawaii suite only? Seemed to work ok when I ran it with making ancils switched on - guess the issue was that there were no ancils for this suite (since had the option to run with previously generated ones was selected and I hadn't run it before to make the ancils!).

Making the ancillaries for Hawaii (or other small islands that are missing in global orography files).

Need to run the suite to make the ancillaries using the ANTS CCI land use dataset. (ANTS = Ancillary Tools and Software, CCI = Climate Change Initiative) Steps :- In Resolution 1 (etc.) setup set it to "Create new ancillaries" In General run options set it to "MAKE_ANCILS_ONLY" and "USE_ANTS" Run the suite. Think only need to worry about the ANCIL_ANTS jobs working here - have a few other failures, but don't think they're important. Copy the ancils to somewhere else. They should appear in :- ~/cylc-run/SUITE_ID/share/data/ancils/…..

Just need to copy these files :- qrparm.veg*, qrparm.orog* and qrparm.mask Switch off "USE_ANTS" and run again - this is when you need to fix the submit-failed issue for Regn1_resn_1_ancil_ukca_s (see below). Copy in qrparm.veg*, qrparm.orog* and qrparm.mask (might not need the last one) BUT - remove the symbolic links in the destination directory first. N.B., USE_ANTS doesn't create qrparm.veg.func or qrparm.veg.dist, so need to make sure that these are kept from the run without USE_ANTS. In Resolution 1 (etc.) setup set it to "Use ancillaries made by a previous run" and set "MAKE_ANCILS_ONLY" to FALSE. (Also, if this is a new suite, make sure that have built a new executable, or point to an existing one). Restart and Run.

Issue with submit-failed when running Regn1_resn_1_ancil_ukca_s

Seems to ask for a very long walltime, but the setting in :- site/monsoon-cray-xc40/suite-adds.rc Looks normal (e.g., 40M). Paul didn't see this in his runs. Can bypass by right-clicking on the job and then selecting Trigger (edit run) option. Then can use the vim editor that pops up to change the walltime and run.

Issue with import iris in ANCIL_UKCA jobs (Regn1_resn_1_ancil_ukca_s etc.)

The module load command that we need seems to have changed. Need to change in :- site/monsoon-cray-xc40/suite-adds.rc Change to :- ANCIL_UKCA

     init-script = module load scitools/default_legacy-previous

(Was previously scitools/default-previous)