This code base is using the Julia Language and DrWatson to make a reproducible scientific project accompanying our paper Earth's albedo and its symmetry, authored by George Datseris and Bjorn Stevens.
To locally reproduce this project, do the following:
- Download this code base as is.
- Open a Julia console and do:
This will install all necessary packages for you to be able to run the scripts.
julia> using Pkg; Pkg.add("DrWatson") julia> Pkg.activate("path/to/this/project") julia> Pkg.instantiate()
- This project uses CERES data, which are cited properly within our paper. Specifically, we use monthly averages of the EBAF data product ed. 4.1, both TOA and SFC versions, as well as the ice + ocean area fraction from the SYN1deg datasets. All data are publicly available from the CERES website, https://ceres.larc.nasa.gov/data/ . These data should be downloaded and put under the file
data/CERES/
with namesEBAF_TOA.nc
,EBAF_SFC.nc
andSYN1deg_AUX.nc
respectively. Then everything should work out of the box regarding the Jupyter notebook or the filepapers/figures.jl
. - All code that makes all figures of our paper is in the Jupyter notebook file
figures.ipynb
. This file is guaranteed*
to run out of the box. You can also see the file using nbviewer here: https://nbviewer.jupyter.org/github/Datseris/EarthAlbedoSymmetry/blob/main/figures.ipynb
*
If the Jupyter notebook or the Julia script papers/figures.jl
do not run out of the box, please open an Issue. Should be an easy fix.