Skip to content

Commit

Permalink
Add EBS 2022 shp code
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-rohan-NOAA committed Dec 18, 2024
1 parent b08e7f4 commit 68bef27
Show file tree
Hide file tree
Showing 139 changed files with 35 additions and 6 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
� ���:j�u�+a�� ���:jA/%���~pA
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
� ���:j�u�+a�� ���:jA/%���~pA
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
� ���:j�u�+a�� ���:jA/%���~pA
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
� ���:j�u�+a�� ���:jA/%���~pA
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added analysis/bering_sea_spatial_2022/ebs_strata.dbf
Binary file not shown.
1 change: 1 addition & 0 deletions analysis/bering_sea_spatial_2022/ebs_strata.prj
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PROJCS["NAD_1983_Alaska_Albers",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Albers"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-154.0],PARAMETER["Standard_Parallel_1",55.0],PARAMETER["Standard_Parallel_2",65.0],PARAMETER["Latitude_Of_Origin",50.0],UNIT["Meter",1.0]]
Binary file added analysis/bering_sea_spatial_2022/ebs_strata.shp
Binary file not shown.
Binary file added analysis/bering_sea_spatial_2022/ebs_strata.shx
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions analysis/bering_sea_spatial_2022/ebs_survey_boundary.prj
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PROJCS["NAD_1983_Alaska_Albers",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Albers"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-154.0],PARAMETER["Standard_Parallel_1",55.0],PARAMETER["Standard_Parallel_2",65.0],PARAMETER["Latitude_Of_Origin",50.0],UNIT["Meter",1.0]]
Binary file not shown.
Binary file not shown.
28 changes: 28 additions & 0 deletions analysis/bering_sea_spatial_2022/make_conner_shapefiles.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Build Conner 2022 stratum and survey area shapefiles

library(akgfmaps)

conner_2022_ebs <- sf::st_read(here::here("analysis", "bering_sea_spatial_2022", "Bering_Sea_Spatial_Products_2022.gdb"),
layer = "EBS_strata_Conner2022") |>
sf::st_transform(crs = "EPSG:3338")


conner_2022_nbs <- sf::st_read(here::here("analysis", "bering_sea_spatial_2022", "Bering_Sea_Spatial_Products_2022.gdb"),
layer = "NBS_strata_Conner2022") |>
sf::st_transform(crs = "EPSG:3338")

dplyr::bind_rows(conner_2022_ebs, conner_2022_nbs) |>
dplyr::select(-Shape_Length, - Shape_Area) |>
sf::st_write(here::here("analysis", "bering_sea_spatial_2022", "ebs_strata.shp"),
append = FALSE)

dplyr::bind_rows(
conner_2022_nbs |>
dplyr::group_by(SURVEY = "NBS_SHELF") |>
dplyr::summarize(Area_KM2 = sum(Area_KM2)),
conner_2022_ebs |>
dplyr::group_by(SURVEY = "EBS_SHELF") |>
dplyr::summarize(Area_KM2 = sum(Area_KM2))
) |>
sf::st_write(here::here("analysis", "bering_sea_spatial_2022", "ebs_survey_boundary.shp"),
append = FALSE)
1 change: 0 additions & 1 deletion inst/extdata/ebs_strata.cpg

This file was deleted.

Binary file modified inst/extdata/ebs_strata.dbf
Binary file not shown.
Binary file removed inst/extdata/ebs_strata.sbn
Binary file not shown.
Binary file removed inst/extdata/ebs_strata.sbx
Binary file not shown.
Binary file modified inst/extdata/ebs_strata.shp
Binary file not shown.
1 change: 0 additions & 1 deletion inst/extdata/ebs_strata.shp.xml

This file was deleted.

Binary file modified inst/extdata/ebs_strata.shx
Binary file not shown.
1 change: 0 additions & 1 deletion inst/extdata/ebs_survey_boundary.cpg

This file was deleted.

Binary file modified inst/extdata/ebs_survey_boundary.dbf
Binary file not shown.
2 changes: 1 addition & 1 deletion inst/extdata/ebs_survey_boundary.prj
Original file line number Diff line number Diff line change
@@ -1 +1 @@
PROJCS["Albers_Conic_Equal_Area",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Albers"],PARAMETER["false_easting",0.0],PARAMETER["false_northing",0.0],PARAMETER["central_meridian",-154.0],PARAMETER["standard_parallel_1",55.0],PARAMETER["standard_parallel_2",65.0],PARAMETER["latitude_of_origin",50.0],UNIT["Meter",1.0]]
PROJCS["NAD_1983_Alaska_Albers",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Albers"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-154.0],PARAMETER["Standard_Parallel_1",55.0],PARAMETER["Standard_Parallel_2",65.0],PARAMETER["Latitude_Of_Origin",50.0],UNIT["Meter",1.0]]
Binary file removed inst/extdata/ebs_survey_boundary.sbn
Binary file not shown.
Binary file removed inst/extdata/ebs_survey_boundary.sbx
Binary file not shown.
Binary file modified inst/extdata/ebs_survey_boundary.shp
Binary file not shown.
Loading

0 comments on commit 68bef27

Please sign in to comment.