Skip to content

Commit

Permalink
modified repo name
Browse files Browse the repository at this point in the history
  • Loading branch information
sebsteinig committed Jul 10, 2023
1 parent 78e7d6b commit 5c68414
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions GP_analysis_wrapper.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
export dir="/Volumes/external_Samsung-SSD/documents/coding_github/paleoDMC"
export dir="/Volumes/external_Samsung-SSD/documents/coding_github/palaeoDMC"

time_slice_list="eeco petm lp"
# time_slice_list="petm"
cut_offs="2.5"
export REF_FRAME="mantle" # or "pmag"

convert_hollis=0
convert_hollis=1
calculate_GP=0
plot_GP_results=1
thin=1 # thinning factor for GP analysis (1=use all data)
Expand All @@ -21,7 +21,7 @@ for cut_off in ${cut_offs}; do
# create input observations from Hollis et al. (2019) CSV file
if [ ${convert_hollis} -eq 1 ]; then
cd ${dir}
ncl convert_hollis2PaleoDMC.ncl
ncl convert_hollis2palaeoDMC.ncl
fi

if [ ${calculate_GP} -eq 1 ]; then
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ The PalaeoDMC package is still work in progress and has not been formally publis
Reproducing the [Inglis et al. (2020) analysis](https://cp.copernicus.org/articles/16/1953/2020/cp-16-1953-2020.html) can be done by following these five steps:

### 1. Install dependencies
The analysis uses the Python and NCL languages. All necessary packages can be installed with [conda](https://conda.io/projects/conda/en/latest/index.html). Create an environment `paleoDMC` with
The analysis uses the Python and NCL languages. All necessary packages can be installed with [conda](https://conda.io/projects/conda/en/latest/index.html). Create an environment `palaeoDMC` with

```
conda env create --name paleoDMC --file=environment.yml
conda env create --name palaeoDMC --file=environment.yml
```

using the `environment.yml` file from this repository to install all necessary packages. This environment can then be activated with

```
conda activate paleoDMC
conda activate palaeoDMC
```

### 2. Set working directory
Expand All @@ -30,7 +30,7 @@ The full DeepMIP proxy compilation `data/full_deepMIP_temperature_compilation_1.

The newly created CSV files are saved to `Observation_Data/`. The main input for this step is a minimum uncertainty threshold (`cut_offs`) that gets applied to all proxy data. The reasoning is that some entries in the DeepMIP proxy collection have unrealistically low uncertainties, which would increase their relevant influence on the GP results. A values of `cut_offs="2.5"` has been used for [Inglis et al. (2020)](https://cp.copernicus.org/articles/16/1953/2020/cp-16-1953-2020.html), but you can enter a list of values to check the sensitivity of the results. Original and updated uncertainties of the full compilation (using a threshold of 2.5 degC) are shown in the Figure below (which gets automatically created by the script).

![alt text](https://github.com/sebsteinig/paleoDMC/blob/main/example_output/DeepMIP_proxy_SD.png?raw=true)
![alt text](https://github.com/sebsteinig/palaeoDMC/blob/main/example_output/DeepMIP_proxy_SD.png?raw=true)


### 4. Run the Gaussian process regression
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: paleoDMC
name: palaeoDMC
channels:
- conda-forge
dependencies:
Expand Down

0 comments on commit 5c68414

Please sign in to comment.