#2408 closed help (answered)

Finding suite variables

Reported by: ChrisWells Owned by: ros
Component: Rose/Cylc Keywords:
Cc: Platform: Monsoon2
UM Version:

Description

Hi,

Some variables referred to in a suite show up when typing say "echo $UMDIR" (in exvmsrose), but some don't appear (e.g. $CMIP6_ANCILS) - where can I find where these are defined in the suite?

Many thanks,
Chris

Change History (4)

comment:1 Changed 18 months ago by ros

  • Component changed from UM Model to Rose/Cylc
  • Owner changed from um_support to ros
  • Platform set to Monsoon2
  • Status changed from new to accepted
  • UM Version <select version> deleted

Hi Chris,

You'll need to grep for the variable in the suite files.

E.g

$ cd ~/roses
$ grep -r CMIP6_ANCILS u-as037

Cheers,
Ros.

comment:2 Changed 18 months ago by ChrisWells

Hi Ros,

Cheers! That's working for some of them. However, there are some which don't show back any results where they are defined, just where they are called (e.g. UM_NETCDF_UKCAEMISS_SO2NAT_FILE). Does this mean that they aren't defined, and aren't used? Will it affect the suite if I remove where they're called?

Cheers,
Chris

comment:3 Changed 18 months ago by ros

Hi Chris,

For those you'll need to look in the ancilary filenames file.

This may be set in your suite by the environment variable UM_ANCIL_FILENAMES if not it is set in the ancil versions file which is extracted as part of the install_ancil task and will have been put in the directory ~/cylc-run/<suiteid>/share/data/etc and is often called um_ancils_gl.

At the top of this file it sets the variable UM_ANCIL_FILENAMES. Look in this file and you'll find UM_NETCDF_UKCAEMISS_SO2NAT_FILE set.

Cheers,
Ros.

comment:4 Changed 18 months ago by ros

  • Resolution set to answered
  • Status changed from accepted to closed
Note: See TracTickets for help on using tickets.