*ID MODNAME Define the modname*DECLARE FILENAME Defines in which file of the code deck, the code should be changed (note that for modifications of previous mods, the name of the mode needs to mentioned afterwards, but only the actual .f file needs to be declared here)*D FILENAME.LINENUMBER \n NEWCODE –> Delete the specified number of code in the specified file and replace it by the (potentially multiple lines of) code provided in the following line (after \n)*I FILENAME.LINENUMBER \n NEWCODE –> Insert NEWCODE after line LINENUMBER in file FILENAME*B FILENAME.LINENUMBER \n NEWCODE –> Insert NEWCODE before line LINENUMBER in file FILENAMEExample structure of a mod:
*ID CO2_FACTORIZATION_150PPM
*DECLARE PHYSIO7A
*I PHYSIO7A.129
!----------------------------------------------------------------------
! Set atmospheric CO2 used in MOSES to 150ppm
!----------------------------------------------------------------------
REAL CO2_VEG ! CO2 value for factorization
PARAMETER(CO2_VEG = 0.000227874)
*D ACN1F405.125
&, CO2_VEG,CO2_3D,CO2_DIM,L_CO2_INTERACTIVE
xxx.f) as needed with emacs and save themnew_expt_letter OLDJOBID NEWJOBID
Step 2) Modify jobfiles as desired (e.g. change modset in MODS_UM)
Step 3) Compile and runcreate_ensemble
Step 3) Modify namelist parameters (and ancil files if relevant?) in new jobs
Step 4) Run jobs (with clustersubmit?)