DOI: 10.5281/zenodo.5347884
title: Heat stress at Uva Island during the 1982-83, 1997-98 and 2015-16 ENSOs

description: <strong>Heat stress at Uva Island during the 1982-83, 1997-98 and 2015-16 ENSOs</strong> <strong>Description</strong>: This repository obtains and analyzes SST data for Uva Island reef to compare the intensity of heat stress during the past three major ENSOs. <strong>Content</strong>: A.Temperature_DHW.Rmd: This script uses the temperature data in the <strong>B.Temperature_data</strong> folder to calculate the accumulated heat stress (DHW) at Uva Island reef, based on three different temperature data sources (OISST, CRW and In situ sensors). Figures resulting from running the script are saved in the <strong>C.Outputs</strong> folder. B.Temperature_data: Directory containing data files in .csv format with the temperature data for Uva Island reef from different sources <strong>B.Temperature_data/Uva_CRW_MMM_1985-2012.csv:</strong> Coral Reef Watch MMM (5km products v3.1) for the closest pixel to Uva Island reef <strong>B.Temperature_data/Uva_Daily_CRW_5km_1985-2016.csv:</strong> Coral Reef Watch SST data (5km products v3.1) for the closest pixel to Uva Island reef <strong>B.Temperature_data/Uva_Daily_InSitu_1997-2018.csv:</strong> In situ temperature data obtained from 1997-2018 at Uva Island reef ("Gardineroseris city') ~ 3m depth <strong>B.Temperature_data/Uva_Daily_OISST_1982-2016.csv:</strong> Optimal Interpolation SST data (V2) for the closest pixel to Uva Island reef <strong>B.Temperature_data/BanderasBay_Daily_OISST_1982-2016.csv:</strong> Optimal Interpolation SST data (V2) for the closest pixel to Uva Island reef C.Outputs: Directory containing figure files related with temperature and DHW included on the paper. Figure 1a and 3a Figure S6 Figure S7 Figure S8 Figure S9 Figure S5b D.SST_nc: Directory containing scripts used to download and extract OISST and CRW SST data from .nc files. You do not have to run the code in the <strong>D.SST_nc</strong> folder to produce the data analysis in the paper (this can be achieved by running <strong>A.Temperature_DHW.Rmd</strong> using the temperature data already provided in <strong>B.Temperature_data</strong>). However, you could use these scripts to retrieve and extract the SST data by yourself.The outputs of these scripts are already included in <strong>B.Temperature_data/Uva_CRW_MMM_1985-2012.csv:</strong>, <strong>B.Temperature_data/Uva_Daily_CRW_5km_1985-2016.csv</strong>" and <strong>B.Temperature_data/Uva_Daily_OISST_1982-2016.csv</strong>. By running the scripts inside this folder you will create those files again in the "<strong>D.SST_nc</strong>" folder. You would need ~ 123GB of space for CRW SST data and ~17GB for OISST data <strong>D.SST_nc/1.Get_OISST_data.sh:</strong> This script downloads 1981-2016 NOAA OI SST V2 High Resolution data from ftp://ftp.cdc.noaa.gov/Datasets/noaa.oisst.v2.highres/ <strong>D.SST_nc/2.Get_CoralTemp_data.sh:</strong> This script downloads NOAA CRW 5km SST data (CoralTemp v3.1) (fftp://ftp.star.nesdis.noaa.gov/pub/sod/mecb/crw/data/coraltemp/v1.0/nc/) and the 1985-2012 climatology (ftp://ftp.star.nesdis.noaa.gov/pub/sod/mecb/crw/data/5km/v3.1/climatology/nc/ct5km_climatology_v3.1.nc). It could also download the already calculated DHW values (ftp://ftp.star.nesdis.noaa.gov/pub/sod/mecb/crw/data/5km/v3.1/nc/v1.0/daily/dhw/) directly from NOAA CRW 5km products. However, these lines are commented by default since we performed these calculations ourselves based on the CRW SST data (CoralTemp) and MMM. <strong>D.SST_nc/3.Extract_SST_Uva.Rmd:</strong> This script extracts the SST data from OISST and CRW datasets for Uva Island. It also extracts the already calculated climatology (MMM) from CRW 5km products. CRW DHW values from NOAA CRW 5km products can be extracted as well. However, these lines are commented by default since we performed these calculations ourselves based on the CRW SST data (CoralTemp) and MMM.
description: This release contains the clean code after reviewers' comments