Upgrading a macro

Hi!
I am adding a run_ukca namelist to a branch at the moment, and have been following the instructions here: UKCA Chemistry and Aerosol vn10.9 Tutorial 11 - UKCA
I have added the changes to the version.py script to set up the upgrade_macro as it suggests but I am slightly confused by how to actually put this into my job (or if I need to do the upgrade even as this is just for my jobs?)

I have merged jobs into other branches which have changes to this module and in those simply the fcm commit after the merge command have added them to my GUI interface, but I am not quite sure how to proceed when adding one myself.

Thanks,
Hannah

Hi Hannah,

The upgrade_macro is useful when upgrading a suite between UM versions, but only if the change is lodged onto the trunk.
To add/ modify any namelist parameters in your current job, edit the app/um/rose-app.conf and change

meta=um-atmos/vnXX to
meta=/path/to/working_copy/rose-meta/um-atmos/HEAD

Then open the app in ‘rose edit’ and you will be prompted to add the new items.
Note that if your suite already contains a branch for the ‘meta=’ setting all the rose-meta.conf changes need to be merged into a single working copy.


Mohit

Hi Mohit,

Thanks! Would you recommend leaving the version.py file as it was before or include the changes suggested in the tutorial? (without doing the upgrade itself)

Best,
Hannah

Adding a macro will make it easier to commit the changes to UM/UKCA in the future.

Mohit