This is the repository of a collaboration of several supernova radiative transfer codes. This repository will be updated from time to time. There is a code called plot_XXX that can be used to easily make comparison plots with the following instructions.
./plot_XXX toy01 lbol
Follow the steps below if you would like to update the data yourself using github.
- Fork the Data1 repository (using the fork button on the github website) -- This creates a copy of the Data1 repository on your github account.
cd
into your forked Data1 repo.git remote add upstream git://github.com/sn-rad-trans/data1
-- This connects your forked version of the Data1 repo to the original version.git pull upstream master
-- This makes sure that your forked version is up to date with the original repo.git branch data_update
-- This creates a new branch of your forked repo named "data_update." Consider adding the name of your code to the name to make the branch name as descriptive as possible.git checkout data_update
-- This checks out your new branch, so changes you make will only affect the new branch of your forked repo. (If you break things beyond repair, just delete the branch, checkout your master branch, and start again.)- Make your changes. Replace the old files with the updated version of the files.
git status
-- Shows you what you have changed in the repo.git add <all new files>
-- You need to rungit add
with each new file listed under the "Untracked Files" category of thegit status
report.git commit -am "<Short, descriptive update message.>"
-- This commit all changes you have made. Please replace <Short, descriptive update message> with something useful like: "Updated Stella files."git push --set-upstream origin data_update_stella
-- This will push your changed branch to your forked repo.- Navigate to your forked version of the repo. Under the "Branch" dropdown menu select your new branch "data_update"
- Click "New Pull Request" button, add a brief description of the changes you have made, and click "Create Pull Request" -- This will notify the team managing the original repo that you have made changes that are ready to merge.