ticket_164_TicketSummary - ACCESS-NRI/accessdev-Trac-archive GitHub Wiki

Procedure of updating bias update code

Before I put in the changes related to my commandline arguments there were a few changes that Vinod made on his local copy. I've put Vinod's changes first followed by my changes. The steps I've followed to put Vinod changes are:

1

a. Install dir where latest check out copy is,

raijin3:/projects/access/da/utilities/ops/satrad/bias_correction

b. This is a checked out copy of the "trunk",

https://access-svn.nci.org.au/trac/nwp/browser/da/utilities/ops/satrad/bias_correction

c. I did "fcm branch-create" and created my branch into which the changes I made are put in,

https://access-svn.nci.org.au/trac/nwp/browser/branches/dev/jtl548/da/sat_da/aps2/scripts/shell/r51_bias_correction

2

Check out a working copy to,

raijin3:/home/548/jtl548/da/sat_da/aps2/scripts/shell/r51_bias_correction/scripts

3

I have an updated copy of LaunchBiasCorrection.ksh called 'LaunchBiasCorrection.au-aa094.ksh' under:

raijin3:/home/548/jtl548/da/sat_da/aps2/scripts/shell/bias_correction/scripts/LaunchBiasCorrection.au-aa094.ksh

This is copied to my working dir (raijin3:/home/548/jtl548/da/sat_da/aps2/scripts/shell/r51_bias_correction)

4

Vinod's local copy on Ngamai, Ngamai:/g/sc/home/vinodk/public/bias_correction/scripts was copied to Raijin

5

Did recursive diff between Vinod's and mine and put diff into my working copy:

a. code changes associated with renaming of mtsat to mtsatclr

b. use of a single coefficient update script, CalculateBiasCoeffs.ksh (called by launch script) and associated change

6

Once Vinod's changes were tested I then put in my changes:

Replaced hard-wired variables/values with those supplied from an input file.

Warning

After installing the new version of the code in ~access/da make sure to update "BC_ROOTDIR" of the input file so that the launch script uses correct scripts and executables.