Skip to content

Commit

Permalink
add missing @srs slot to greatLakesTrLayer; fix #213
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisholbrook committed Feb 16, 2024
1 parent a5f0b1b commit f016ab1
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Package: glatos
Type: Package
Title: A package for the Great Lakes Acoustic Telemetry Observation System
Description: Functions useful to members of the Great Lakes Acoustic Telemetry Observation System https://glatos.glos.us; many more broadly relevant to simulating, processing, analysing, and visualizing acoustic telemetry data.
Version: 0.8.0.9003
Date: 2024-01-23
Version: 0.8.0.9004
Date: 2024-02-16
Depends: R (>= 3.5.0)
Imports:
av,
Expand Down
6 changes: 5 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
# glatos 0.8.0 (dev)


### Bug fixes
### Bug fixes and minor changes

- Add `@srs` slot to `greatLakesTrLayer` data object and rename file
'data/greatLakesTrLayer.rda'.
- fixes [issue #213](https://github.com/ocean-tracking-network/glatos/issues/213)

- Fix bug in `read_glatos_workbook()` where timestamps during daylight savings
were shifted one hour on linux operating system (not an issue on windows or
Expand Down
15 changes: 15 additions & 0 deletions data-raw/data-greatLakesTrLayer.r
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Make data object great_lakes_polygon

# get path to example detections file
data("greatLakesPoly")

# coerce to sf
great_lakes_polygon <- sf::st_as_sf(greatLakesPoly)

# set CRS
sf::st_crs(great_lakes_polygon) <- 4326

#----------------------------------------------------

# add to (exported) data
usethis::use_data(great_lakes_polygon, overwrite = TRUE)
Binary file added data/greatLakesTrLayer.rda
Binary file not shown.
Binary file removed data/greatLakesTrLayer.rdata
Binary file not shown.
1 change: 1 addition & 0 deletions man/glatos.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f016ab1

Please sign in to comment.