Rosie copy not working as expected

Hi CMS team,

I am trying to take a copy of a suite but getting a weird behaviour. When I copy the suite it opens the rose-suite.info file in vim, and then when I save and exit from vim I get the following:

[penmaher@puma2 roses]$ rosie copy u-as037
[FAIL] rose-suite.info: issues: 2
[FAIL] =suite-documentation=
[FAIL] Value does not contain the pattern: ^https?://.+/.+$|^#[0-9]+$
[FAIL] =variant-id=
[FAIL] Value does not contain the pattern: ^r[1-9][0-9]*i[1-9][0-9]*p[1-9][0-9]f[1-9][0-9]$
rose-suite.info has invalid settings. Try again? [y or n (default)] n

This is a suite I have copied in the past. Is this a system wide issue or something specific to me?

Thank you in advance

Penny

Hi Penny,

After you type rosie copy u-as037, the rose-suite.info file will open, and you’ll need to edit the metadata fields: suite-documentation and variant-id. These fields cannot be left empty.

Have you been given a specific variant-id to use?

You can try these values that match the required pattern:

suite-documentation = https://code.metoffice.gov.uk/trac/ukcmip6/
variant-id = r99i1p1f99

After you made the changes, save the file and the copy should go through successfully. Please double-check whether you are expected to use a specific variant-id if this is part of an official experiment.

Best regards,
Juan

Thanks for the reply. I thought I had copied suites in the past without this information given but I must be wrong. Thanks for helping.

In case anyone else uses the code snip it above, please remove the space on either side of the =.

This ticket can now be closed.