ohiprep_v2023

imageimage## Ocean Health Index: Lasting Special Places (LSP)

See full data prep details here.

If using these data, please see our citation policy.

Layers Created

Prep Files

Data Check Files

Methods

Downloading Data

Accessing and downloading the data was difficult in 2023 due to a downloading bug, luckly there are multiple ways to download the data from the webpage. The below directions sound easy; but it is easy to be navigated to a page where the download functionality is broken.

Directions to download data:

1: Link to specific website: https://www.protectedplanet.net/en/thematic-areas/wdpa?tab=WDPA

2: Select the download button in the top right hand corner.

3: Download and unzip the file

4: There will be additional zip files within the zip file you download. Once unzipped, these are the three files you will use throughout the LSP dataprep.

Filter and re-project WDPA polygons

The WDPA-MPA dataset comes as a shapefile or geodatabase in WGS84 coordinate reference system.

Once the polygons have been prepped, we rasterize the results to 500 m resolution.

This process is all done in the script: 1_prep_wdpa_rast.Rmd. After that is complete, move on to computing zonal statistics.

Note: Updating Scores

As with all datapreps, the .csv files in the output folder are grabbed by the functions in the calculate_scores.Rmd to update the OHI scores for the year. This data layer creates 6 different .csv files with 8 different associated layers that are used for score calculation.

This is a list of the .csv files created and their associated layer:

To be sure, this is a tricky OHI score update. Be sure all the layer years are updated in the scenario_data_years.csv. The “rgn_area_inland1km.csv - rgn_area_inland1km” and the “rgn_area_offshore3nm.csv - rgn_area_offshore3nm”, as you can imagine, are the same each year and remains static and unupdated. They are not present as layers in the scenario_data_years.csv file. There are also multiple places to update in the layers_eez_base.csv, luckely all of them have the same file path with the “lsp” folder so you can use this to search the .csv file.