Neon cropping neon data (solution)

Exercise
Output solution
Loading required package: abind
Loading required package: sf
Linking to GEOS 3.10.2, GDAL 3.4.1, PROJ 8.2.1; sf_use_s2() is TRUE

1

options:        X_POSSIBLE_NAMES=longitude Y_POSSIBLE_NAMES=latitude 
Reading layer `sjer_plots' from data source 
  `/home/runner/work/dcsem-solutions/dcsem-solutions/data/neon-geospatial-data/sjer/sjer_plots.csv' 
  using driver `CSV'
Simple feature collection with 7 features and 4 fields
Geometry type: POINT
Dimension:     XY
Bounding box:  xmin: -119.7432 ymin: 37.10542 xmax: -119.7298 ymax: 37.11729
Geodetic CRS:  WGS 84
Simple feature collection with 7 features and 4 fields
Geometry type: POINT
Dimension:     XY
Bounding box:  xmin: -119.7432 ymin: 37.10542 xmax: -119.7298 ymax: 37.11729
Geodetic CRS:  WGS 84
  plot_id   plot_type longitude latitude                   geometry
1       1       Tower -119.7298 37.11729 POINT (-119.7298 37.11729)
2       2       Tower -119.7432 37.10705 POINT (-119.7432 37.10705)
3       3       Tower -119.7369 37.10743 POINT (-119.7369 37.10743)
4       4 Distributed -119.7378 37.11330  POINT (-119.7378 37.1133)
5       5 Distributed -119.7307 37.10896 POINT (-119.7307 37.10896)
6       6 Distributed -119.7430 37.10542  POINT (-119.743 37.10542)
7       7 Distributed -119.7374 37.10722 POINT (-119.7374 37.10722)

2

Simple feature collection with 7 features and 4 fields
Geometry type: POINT
Dimension:     XY
Bounding box:  xmin: 256238.5 ymin: 4110088 xmax: 257465.5 ymax: 4111372
Projected CRS: WGS 84 / UTM zone 11N
  plot_id   plot_type longitude latitude                 geometry
1       1       Tower -119.7298 37.11729 POINT (257465.5 4111372)
2       2       Tower -119.7432 37.10705 POINT (256238.5 4110270)
3       3       Tower -119.7369 37.10743 POINT (256798.3 4110296)
4       4 Distributed -119.7378 37.11330 POINT (256737.7 4110949)
5       5 Distributed -119.7307 37.10896 POINT (257358.5 4110450)
6       6 Distributed -119.7430 37.10542 POINT (256254.5 4110088)
7       7 Distributed -119.7374 37.10722 POINT (256754.5 4110274)

3

Reading layer `sjer_boundary' from data source 
  `/home/runner/work/dcsem-solutions/dcsem-solutions/data/neon-geospatial-data/sjer/sjer_boundary.shp' 
  using driver `ESRI Shapefile'
Simple feature collection with 1 feature and 8 fields
Geometry type: MULTIPOLYGON
Dimension:     XY
Bounding box:  xmin: -815586.4 ymin: 4206152 xmax: -811106 ymax: 4212832
Projected CRS: WGS 84 / UTM zone 13N

4

Warning: attribute variables are assumed to be spatially constant throughout
all geometries

5

6

Writing layer `sjer_plots_cropped' to data source 
  `sjer_plots_cropped.shp' using driver `ESRI Shapefile'
Writing 4 features with 4 fields and geometry type Point.