Skip to content

Commit

Permalink
Edit docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-rohan-NOAA committed Mar 25, 2024
1 parent f825de7 commit 555d06c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .github/workflows/secretScan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: gitleaks

on: [push, pull_request]

jobs:
gitleaks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: '0'
- name: gitleaks-action
uses: gitleaks/[email protected]
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,4 @@ vignettes/*.pdf
*.docx
*.pptx
/Presentation/
/data/
2 changes: 1 addition & 1 deletion R/make_gebco_bathymetry.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ gebco_epsg3338 <- akgfmaps::reproject_gebco(x = here::here("data", "gebco_2022_n
z_direction = -1, # Elevation (up = positive)
return_slope_aspect = TRUE)

# Raster of 1 and NA where 1 indicates locations with data in the EFH bathymety. Multiplying this by the GEBCO will effectively mask the transformed GEBCO raster to locations with data without re-masking using the survey area shapefile
# Raster of 1 and NA where 1 indicates locations with data in the EFH bathymetry. Multiplying this by the GEBCO will effectively mask the transformed GEBCO raster to locations with data without re-masking using the survey area shapefile
ebs_bathy_locs <- round(ebs_bathy_raster/1e8) + 1

# Multiply by binary raster to only include data at the same locations as the EBS bathymetry raster
Expand Down

0 comments on commit 555d06c

Please sign in to comment.