Skip to content

Latest commit

 

History

History
69 lines (44 loc) · 6.6 KB

File metadata and controls

69 lines (44 loc) · 6.6 KB

Present_and_future_bright_and_dark_spots_on_coral_reefs_through_climate_change

The code 0_data_processing.Rmd is only necessary is you have new coral cover surveys (and know the latitude/longitude coordinates and the dates of those surveys) and you would like to obtain the corresponding environmental variables. If you would like to work with only the Reef Check coral cover surveys, which we recommend, you can skip 0_data_processing. We have already run that code and provide its output (data.csv) here.

Data Access

If you need to run 0_data_processing.Rmd because you are working with new coral cover survey data and need to obtain the corresponding environmental variables, we provide the environmental raster files that fit in GitHub or links to where the data and rasters can be obtained.

"cyclone frequency yr-1.nc" is the annual cyclone frequency raster.

"historical_sst_max.tif" is the the historical maximum sea surface temperature raster.

"historical_sst_mean.tif" is the historical mean monthly sea surface temperature raster.

"historical_sst_sd.tif" is the historical standard deviation of the mean monthly sea surface tempature.

CoRTAD (Coral Reef Temperature Anomaly Database) temperature data, from GHRSST and the US National Centers for Environmental Information and supported in part by a grant from the NOAA Climate Data Record (CDR) Program for satellites, are available for download at https://www.ncei.noaa.gov/data/oceans/cortad/Version6/

These SST CoRTAD data can be converted from a weekly resolution to a monthly resolution using Climate Data Operators (instructions at https://code.mpimet.mpg.de/projects/cdo)

Kd_490 (the diffuse attenuation coefficient of light at the 490 nm wavelength) data, positively related to turbidity, are available at NASA (National Aeronautics and Space Administration), Goddard Space Flight Center, Ocean Ecology Laboratory, Ocean Biology Processing Group, and the SeaWiFS (Sea-viewing Wide Field-of-view Sensor) Ocean Color Data Earth Observing System Data and Information System (EOSDIS) Modis-Aqua satellite database https://oceandata.sci.gsfc.nasa.gov/directaccess/MODIS-Aqua/Mapped/Monthly/4km/Kd_490/

Coral diversity data were made available by Veron, http://www.coralsoftheworld.org/page/home/. You may also contact the corresponding author of this article to request diversity data if necessary.

Human population data are available from NASA EOSDIS SEDAC for past years at https://sedac.ciesin.columbia.edu/data/set/popdynamics-global-pop-count-time-series-estimates/data-download#close and projections for future years at https://sedac.ciesin.columbia.edu/data/set/popdynamics-1-km-downscaled-pop-base-year-projection-ssp-2000-2100-rev01

Tropical-cyclone data are available from International Best Track Archive for Climate Stewardship (IBTrACS) at www.ncdc.noaa.gov/ibtracs/index.php?name=ibtracsdata. The methods for determining annual tropical-cyclone frequency are available in a study by Cacciapaglia & van Woesik: Cacciapaglia, C. W. & van Woesik, R. Reduced carbon emissions and fishing pressure are both necessary for equatorial coral reefs to keep up with rising seas. Ecography 43, 1–12 (2020).

Historical SST data were derived from the World Climate Research Program (WCRP) Coupled Model Intercomparison Project Phase 6 (CMIP6) (https://esgf-node.llnl.gov/projects/cmip6/). We used search criteria: Activity: CMIP; Nominal Resolution: 1x1 degree; Grid Label: gr; Experiment ID: historical; Frequency: mon; Variable: tos. We calculated the mean from all 20 rasters that were returned from that search criteria (as of late 2019) to generate a raster for each year. We created new rasters for the mean, maximum, and standard deviation from years 1870–1980, which were pre-recorded-bleaching years.

The future RCP4.5 and RCP8.5 SST data from NOAA’s Coral Reef Conservation Program are available in van Hooidonk et al.: van Hooidonk, R., Maynard, J. A., Manzello, D. & Planes, S. Opposite latitudinal gradients in projected ocean acidification and bleaching impacts on coral reefs. Global Change Biology 20(1), 103–112 (2014).

Differences in maps between code runs

When you make the maps and KML files for future coral cover, future absolute change in coral cover, and future relative change in coral cover please note that the maps may differ very slightly each time you run the code, and may differ slightly from the maps in this publication. This is because when making future projections, some numbers are drawn from a distribution, specifically in the lines of code containing "rbeta", such as "mean(rbeta(n=1000, shape1=shape1, shape2=shape2))." As coral cover at over 7,000 reef sites is examined and projected, a few out of the 7,000+ sites will change. For example coral cover projections at a particular site may change between code runs from 9% to 10%, so the color of that reef on the maps would change. Do not be concerned -- these slight differences between runs are expected.

Viewing KML files

The following instructions have been adapted from Google Earth's Instruction Page for Adding Legends, Logos, and Banners https://www.google.com/earth/outreach/learn/adding-legends-logos-and-banners-to-google-earth-with-screen-overlays/

Each KML has its own folder within "Present_and_future_bright_and_dark_spots_on_coral_reefs_through_climate_change"

To view each KML and its corresponding legend in Google Earth Pro...

  1. Download the files to your local computer.

  2. Click on a file with extension ".kml" to open it in Google Earth Pro

  3. Open the corresponding ".txt" file. It should read similar to the following:

      <ScreenOverlay>
            <name>
                 Legend: Global Coral Cover Percent
            </name>
            <Icon>
            <href>Input_file_path_here/legend_coral_cover.png</href>
            </Icon>
            <overlayXY x="1" y="1" xunits="fraction" yunits="fraction"/>
            <screenXY x="1" y="1" xunits="fraction" yunits="fraction"/>
            <rotationXY x="0.5" y="0.5" xunits="fraction" yunits="fraction"/>
            <size x="0" y="0" xunits="pixels" yunits="pixels"/>
       </ScreenOverlay>
    
  4. Edit the line "<href>Input_file_path_here/legend_coral_cover.png</href>" with the local file path where you saved the corresponding ".png" legend. For example, it may look like <href>D:/coral_cover_folder/legend_coral_cover.png</href>

  5. Copy the newly edited text from the ".txt" file.

  6. In Google Earth Pro, on the left side under the "Places" tab, hover over the KML you already loaded. Right click and paste the text on top of the KML.

  7. Look in the top-right corner of Google Earth Pro. The legend should appear