solar source function New Release Procedure - AER-RC/solar-source-function GitHub Wiki

For the purposes of this documentation, the assumed solar-source-function release version is v1.5. The steps for a new release are:

  1. Push new code to a branch and submit merge/pull request:
git clone --recursive [email protected]:AER-RC/solar-source-function.git
cd solar-source-function
git branch v1.5
git checkout v1.5
... (copy over modified files)
git commit -a -m 'code changes for solar-source-function v1.5'
git push origin v1.5

Merging and pulling should be done in the web interface.

Alternatively, commit and push new code to master branch:

git clone --recursive [email protected]:AER-RC/solar-source-function.git
cd solar-source-function
... (copy over modified files)
git commit -a -m 'code changes for solar-source-function v1.5'
git push origin master
  1. Draft a new release. Tag and Release Title should be v1.5, and Target should be master. What's New bullets should be added in description.

  2. Update Wiki pages (certainly What's New, possibly others like References and Publications)

  3. update README.md files (Cloning the Latest Release section and anything else that might refer to previous release)

  4. Download Release/Tag into /nas/project/rc_static/models/aer_solar-source-function or model of interest

mkdir solar-source-function_v1.5
cd solar-source-function_v1.5
wget --output-document solar-source-function_v1.5.tar.gz https://github.com/AER-RC/solar-source-function/archive/v1.5.tar.gz
tar xvf solar-source-function_v1.5.tar.gz
mv solar-source-function-1.5/ extract_solar
  1. Local version update

This procedure is identical to the one for LBLRTM.

% pwd
/nas/project/rc/rc1/extract_solar_local_version
% git pull