Releases: ocean-tracking-network/glatos
v0.8.0
What's Changed
From NEWS:
Breaking changes
-
Changed
make_transition()
to usejarasterize()
(see New Features) and
added input argbuffer
.- Removed dependence on gdalUtilities.
- fixes issue #234
-
Removed
make_transition2()
(deprecated in 0.7) andmake_transition3()
.
Also removed dependence onfasterize
.- fixes issue #67
-
Updated example TransitionLayer object
greatLakesTrLayer
using new
make_transition()
andgreat_lakes_polygon
(ansf
object) . The new version
has the same cell size (resolution) as the previous, but different extents
(matches great_lakes_polygon, so returned values (with same input) will differ
from earlier versions.- fixes issue #219
-
Removed 'gganimate_handout' (pdf and html) from 'vignettes'.
New features
-
Add new function
vue_convert()
to convert VRL file to CSV file (detection
records only; receiver event log records are not supported).- replaces
vrl2csv()
(deprecated).
- replaces
-
Add new function
vdat_convert()
to convert VRL or VDAT files to
Fathom/VDAT CSV. -
Add new functions for reading data exported from VRL with VUE software.
read_vue_detection_csv()
to read data from detection file exported
from VUE or created usingvue_convert()
orvrl2csv()
.read_vue_event_csv()
to read data from receiver event log file exported
from VUE.
-
Add new function
read_vdat_csv()
to read data exported from VRL or VDAT
using VDAT.exe (e.g., usingvdat_convert()
). -
Add new functions to create, check, and validate
glatos_animals
objects:glatos_animals()
to construct aglatos_animals
object from
individual vectors (one for each column) and optionally check for required
column names and classes usingvalidate_glatos_animals()
.as_glatos_animals()
to coerce a data.frame, or object that
inherits from data.frame, toglatos_animals
and optionally check for
required column names and classes usingvalidate_glatos_animals()
.is_glatos_animals()
to check class attribute for"glatos_animals"
.validate_glatos_animals()
to check for existence of required column
names and classes.- fixes issue #126
- fixes issue #78
-
Add new functions to create, check, and validate
glatos_detections
objects:glatos_detections()
to construct aglatos_detections
object from
individual vectors (one for each column) and optionally check for required
column names and classes usingvalidate_glatos_detections()
.as_glatos_detections()
to coerce a data.frame, or object that
inherits from data.frame, toglatos_detections
and optionally check for
required column names and classes usingvalidate_glatos_detections()
.is_glatos_detections()
to check class attribute for"glatos_detections"
.validate_glatos_detections()
to check for existence of required column
names and classes.- fixes issue #126
- fixes issue #78
-
Add new functions to create, check, and validate
glatos_recievers
objects:glatos_receivers()
to construct aglatos_receivers
object from
individual vectors (one for each column) and optionally check for required
column names and classes usingvalidate_glatos_receivers()
.as_glatos_receivers()
to coerce a data.frame, or object that
inherits from data.frame, toglatos_receivers
and optionally check for
required column names and classes usingvalidate_glatos_receivers()
.is_glatos_receivers()
to check class attribute for"glatos_receivers"
.validate_glatos_receivers()
to check for existence of required column
names and classes.- fixes issue #126
- fixes issue #78
-
Add new function
jarasterize()
to allow rasterization
(esp. withall_touched = TRUE
) using onlysf
andraster
.
Used bymake_transition()
. -
Add new function
scale_meters_to_degrees()
to inform selection ofres
argument tomake_transition()
. -
In
make_frames()
, allowterra::SpatVector
input for background map
(bg_map
arg).- add test for
terra::SpatVector
input
- add test for
-
Add new function
detection_range_model()
for estimating detection range at which a certain detection efficiency is expected, using output from Innovasea's range testing software.
Bug fixes and minor changes
-
Add
@srs
slot togreatLakesTrLayer
data object and rename file
'data/greatLakesTrLayer.rda'.- fixes issue #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
mac).- fixes issue #208
-
Omit data.table from class of object returned by
read_glatos_detections()
andread_glatos_receivers()
.- fixes issue #200
-
Fix typo in Description to Suggest 'gifski' (not 'gifsky').
- fixes issue #185
-
Various changes to resolve R CMD check errors, warning, and notes (generally
not user-facing).
Full Changelog: v0.7.3...v0.8.0
v0.7.1
0.7.0
glatos 0.7.0 (2024-01-04)
Bug fixes and minor changes
-
Remove dependence on
rgeos
andrgdal
. -
This package now requires R >= 3.5.0 because serialized objects in
serialize/load version 3 cannot be read in older versions of R.
File(s) containing such objects:
'glatos/inst/testdata/flynn_island_transition.rds'
'glatos/inst/testdata/higgins_lake_transition.rds'
'glatos/inst/testdata/test-detect_transmissions-dtc_spout.rds'
'glatos/inst/testdata/test-transmit_along_path-tr_dfin_spout.rds' -
Deprecate
make_transition
andmake_transition2
; suggestmake_transition3
instead. -
Deprecate data object
greatLakesPoly
; suggestgreat_lakes_polygon
instead. -
prepare_deploy_sheet
:- Set 'skip = header_line - 1' and 'col_names = TRUE' to retain first
record and column names (read_excel ignores column names, unless set,
when skip is set). - Fix non-working example code.
- Set 'skip = header_line - 1' and 'col_names = TRUE' to retain first
-
convert_otn_to_att
andconvert_otn_erddap_to_att
:- Replaced
sp::CRS
withsf::st_crs
- Changed link (URL) to relevant issue from GitLab to GitHub repo.
- Replaced
-
Remove ffmpeg functions.
- make defunct:
check_dependencies
install_ffmpeg
make_video_ffmpeg
- make defunct:
-
Fix issues with several tests caused by changes to CRS/WKT and row.names
attributes.