NEWS.md 8.61 KB
Newer Older
1 2 3

----

4 5 6 7 8 9 10 11 12 13 14 15
# glatos 0.4.2

#### 2020-04-06
      
### Bug fixes

- read_glatos_detections 
    - fix bug where animal_id was not created correctly if some but not all were missing
    - fixes issue #106

----

16 17
# glatos 0.4.1

Chris Holbrook's avatar
Chris Holbrook committed
18
#### 2020-02-18
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
   
### Minor changes

- make_video
    - overhauled to no longer require ffmpeg. now is a simple wrapper for
      av::av_encode_video
    - added input argument 'duration' to set total video duration in seconds
      previous version of make_video renamed 'make_video_ffmpeg'
    - calls to new 'make_video' with "old" arguments are caught and 
      redirected to 'make_video_ffmpeg' for backward compatibility

- make_frames
    - modified to call revised make_video (ffmpeg not required)
    - deprecated ffmpeg input argument
    
- interpolate_path
    - set `ties = "ordered"` for all calls to `stats::approx`
    - fixes issue #93
37 38 39 40 41 42 43 44
   
### Bug fixes

- abacus_plot 
    - fix issue where optional plot args passed as expressions 
		  (e.g., `panel.first` and `panel.last`) had to be wrapped in `quote`
    - fixes issue #87

45 46 47 48 49 50 51 52 53
- summarize_detections
    - fix error in documentation listing all three summ_type options as 
      default
    - fixes issue #94

- check_dependencies
    - ensure that glatos package directory is checked for ffmpeg.exe
    - fixes issue #95

Chris Holbrook's avatar
Chris Holbrook committed
54
----
Chris Holbrook's avatar
Chris Holbrook committed
55

Chris Holbrook's avatar
Chris Holbrook committed
56 57
# glatos 0.4.0

58
#### 2019-11-12
Chris Holbrook's avatar
Chris Holbrook committed
59 60 61 62
   
### New features

- functions
Chris Holbrook's avatar
Chris Holbrook committed
63 64
    - convert_glatos_to_att
    - convert_otn_erddap_to_att
Chris Holbrook's avatar
Chris Holbrook committed
65 66 67
		
- example data
    - walleye_att
Chris Holbrook's avatar
Chris Holbrook committed
68
    - blue_shart_att
Chris Holbrook's avatar
Chris Holbrook committed
69 70 71 72


### Minor changes

73 74
- make_frames
    - add argument show_progress (default = TRUE) to optionally supress progress bars
Chris Holbrook's avatar
Chris Holbrook committed
75
    - issue #74
76 77 78
		
- interpolate_path
    - add argument show_progress (default = TRUE) to optionally supress progres bars
Chris Holbrook's avatar
Chris Holbrook committed
79
    - issue #74
80
		
Chris Holbrook's avatar
Chris Holbrook committed
81 82
- calc_collision_probs
    - in help examples, make separate plots for detection and collision probs
Chris Holbrook's avatar
Chris Holbrook committed
83
    - issue #77
84 85 86 87 88 89 90 91 92 93 94
		
- make_video
    - issue #64
    - return output file name
    - add diagnostic_mode arg to optionally return ffmpeg output (hide by default)
    - add warning when output file exists and overwrite = FALSE
    
- adjust_playback_time
    - return output file name
    - add diagnostic_mode arg to optionally return ffmpeg output (hide by default)
    - add warning when output file exists and overwrite = FALSE
Chris Holbrook's avatar
Chris Holbrook committed
95 96

----
Chris Holbrook's avatar
Chris Holbrook committed
97

98 99
# glatos 0.3.2

Chris Holbrook's avatar
Chris Holbrook committed
100
#### 2019-10-17
101 102 103
   
### bug fixes and minor changes

Chris Holbrook's avatar
Chris Holbrook committed
104 105
- vrl2csv
    - fixed bug where output csv file names were not returned when input   
106 107
		  was multiple VRL file names. A vector of output CSV file names 
			is now returned.
Chris Holbrook's avatar
Chris Holbrook committed
108 109 110
    - make separate call to VUE --convert-files for each VRL file.
    - add progress bar
    - improve error messaging.
111

112
- detect_transmissions 
Chris Holbrook's avatar
Chris Holbrook committed
113
    - fixed bug where 'trns_x' and 'trns_y' in data slot of output was not 
114 115
		  converted to input coordinate reference system when *sp_out = TRUE*.

116
- make_frames
Chris Holbrook's avatar
Chris Holbrook committed
117
    - fixed bug where receivers were not displayed near the end of the time 
118 119 120
		  series in the images (and videos) when some receivers were missing 
			recovery data (issue #79).

121
- abacus_plot
Chris Holbrook's avatar
Chris Holbrook committed
122 123
    - added more flexible optional plotting arguments, including 'xlim' to 
      set custom x limits.
Chris Holbrook's avatar
Chris Holbrook committed
124
    - fixed bug where plot title (specified by *main* argument) was not 
125
		  included in plot (issue #70)
Chris Holbrook's avatar
Chris Holbrook committed
126
    - deprecated *show_receiver_status* argument. Receiver status will 
127 128
		  be shown on plot whenever 'receiver_history' is given.

Chris Holbrook's avatar
Chris Holbrook committed
129 130

----
Chris Holbrook's avatar
Chris Holbrook committed
131

Chris Holbrook's avatar
Chris Holbrook committed
132 133 134 135 136 137 138 139 140
# glatos 0.3.1

#### 2019-02-27
   
### bug fixes

- fix missing brackets in glatos.Rd


141
----
Chris Holbrook's avatar
Chris Holbrook committed
142

Chris Holbrook's avatar
Chris Holbrook committed
143 144
# glatos 0.3.0

Chris Holbrook's avatar
Chris Holbrook committed
145
#### 2019-02-26
Chris Holbrook's avatar
Chris Holbrook committed
146 147
   
### New features
Chris Holbrook's avatar
Chris Holbrook committed
148 149

- functions
Chris Holbrook's avatar
Chris Holbrook committed
150 151 152 153 154
    - receiver_efficiency
    - residence_index
    - read_otn_deployments
    - install_ffmpeg
    - check_dependencies
Chris Holbrook's avatar
Chris Holbrook committed
155

Chris Holbrook's avatar
Chris Holbrook committed
156
- vignettes and documentation
Chris Holbrook's avatar
Chris Holbrook committed
157
    - added data-loading, data-requirements, receiver_efficency, residence_index
Chris Holbrook's avatar
Chris Holbrook committed
158

Chris Holbrook's avatar
Chris Holbrook committed
159
### Minor changes
160

161
- detection_events
Chris Holbrook's avatar
Chris Holbrook committed
162
    - output data.table or tibble object if input is either of those and 
163
		  data.frame otherwise
Chris Holbrook's avatar
Chris Holbrook committed
164 165
    - faster (e.g., 11 sec vs 31 sec for 7.2M records on wimpy laptop)
    - coerce 'time_sep' argument to numeric if quoted and error if it cannot 
166
		  be coerced to numeric
167

168 169 170 171 172 173 174 175 176
- crw_in_polygon
    - changed sampling algorithm to mimimize stuck-at-boundary errors
    - added option to input SpatialPolygons object
    - added explicit coordinate reference system (EPSG 3175 - Great Lakes
      projected CRS) so that default units are in meters and simulations are 
      done in that CRS. Other CRS can be specified for other areas (via 
      EPSG argument).
    - added option to return spatial object or simple data frame.

Chris Holbrook's avatar
Chris Holbrook committed
177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192
- transmit_along_path
    - added option to input SpatialPolygons object
    - added explicit coordinate reference system (EPSG 3175 - Great Lakes
      projected CRS) so that default units are in meters and simulations are 
      done in that CRS. Other CRS can be specified for other areas (via 
      EPSG argument).
    - added option to return spatial object or simple data frame.	
	
- detect_transmissions
    - added option to input SpatialPolygons object
    - added explicit coordinate reference system (EPSG 3175 - Great Lakes
      projected CRS) so that default units are in meters and simulations are 
      done in that CRS. Other CRS can be specified for other areas (via 
      EPSG argument).
    - added option to return spatial object or simple data frame.	
			
Chris Holbrook's avatar
Chris Holbrook committed
193
- abacus_plot
194 195
    - added optional arguments *show_receiver_status* and *receiver_history*
		  to allow receiver history status to be added to plot (issue #36)
Chris Holbrook's avatar
Chris Holbrook committed
196 197 198
    - added optional arguments *x_res* and *x_format* to specify x-axis 
      tick mark spacing and format (issue #30)
    - removed input arguments that could also be passed via ellipses (issue #35)
Chris Holbrook's avatar
Chris Holbrook committed
199

Chris Holbrook's avatar
Chris Holbrook committed
200 201 202 203 204 205 206
- position_heat_map
    - corrected accuracy issues by converting lat-lon to UTM (issue #8)
    - added optional argument *abs_or_rel* to specify it output is absolute 
      numbers of fish are relative; simplified output so that only a single 
      output type occurs in a given call
    - Changed output to kmz instead of kml
    - new folder is only created when output is png or kmz
Chris Holbrook's avatar
Chris Holbrook committed
207
		
Chris Holbrook's avatar
Chris Holbrook committed
208 209
- dropped fasttime as a depenedency and uses lubridates fasttime implementation 
  instead
Chris Holbrook's avatar
Chris Holbrook committed
210 211

- Update sysdata detection schema for OTN
Chris Holbrook's avatar
Chris Holbrook committed
212

Chris Holbrook's avatar
Chris Holbrook committed
213 214 215
----


Chris Holbrook's avatar
Chris Holbrook committed
216 217
# glatos 0.2.7

218
#### 2018-08-29
Chris Holbrook's avatar
Chris Holbrook committed
219 220
   
### Minor changes 
221 222 223 224
- interpolate_path
    - added status bars during each of three major steps and improved 
      messaging (2018-08-29)

Chris Holbrook's avatar
Chris Holbrook committed
225
- vector_heading
226 227
    - allow input coordinates as longitude and latitude (decimal degrees) 
      (2018-08-03)
Chris Holbrook's avatar
Chris Holbrook committed
228 229 230 231

----


Chris Holbrook's avatar
Chris Holbrook committed
232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248
# glatos 0.2.6

#### 2018-06-11
   
### Minor changes and bug fixes
- read_otn_detections
    - fix bug that indexed columns by position, meaning columns had to be 
      orderd exactly as in spec (issue #52)
- read_glatos_detections
    - fix bug that indexed columns by position, meaning columns had to be 
      orderd exactly as in spec (issue #52)
- read_glatos_receivers
    - fix bug that indexed columns by position, meaning columns had to be 
      orderd exactly as in spec (issue #52)

----

Chris Holbrook's avatar
Chris Holbrook committed
249 250 251
# glatos 0.2.5 

#### 2018-03-14
Chris Holbrook's avatar
Chris Holbrook committed
252

Chris Holbrook's avatar
Chris Holbrook committed
253 254
### New features
- added check_dependencies() for checking if gdal and ffmpeg can be called (issue #40)
Chris Holbrook's avatar
Chris Holbrook committed
255 256
    
### Minor changes and bug fixes
257 258
- adjust_playback_time()
    - allow spaces in file names and paths (issue #45)
Chris Holbrook's avatar
Chris Holbrook committed
259 260
- interpolate_path()
    - trigger error when 'trans' is not a transition object (issue #42)
Chris Holbrook's avatar
Chris Holbrook committed
261
- make_frames()
Chris Holbrook's avatar
Chris Holbrook committed
262
    - fixed "cannot allocate vector" error when optional plot arg is vector (issue #47)
263 264
- make_transition()
    - allow polygon to be input as SpatialPolygonsDataFrame (issue #37)
Chris Holbrook's avatar
Chris Holbrook committed
265

Chris Holbrook's avatar
Chris Holbrook committed
266
----------------------------------------------------  
Chris Holbrook's avatar
Chris Holbrook committed
267

Chris Holbrook's avatar
Chris Holbrook committed
268 269 270
# glatos 0.2.4 

#### 2018-03-06
Chris Holbrook's avatar
Chris Holbrook committed
271 272 273 274 275 276

    
### Minor changes and bug fixes

- make_video()
    - added support for input and output directories containing spaces (issue #38)
277
		- check if input directory exists and error/message if not
Chris Holbrook's avatar
Chris Holbrook committed
278 279 280
		- create output directory if it does not exist


Chris Holbrook's avatar
Chris Holbrook committed
281 282 283 284 285
----------------------------------------------------  

# glatos 0.2.3  

#### 2018-02-25
Chris Holbrook's avatar
Chris Holbrook committed
286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313

    
### Major changes

- A complete overhaul since v0.1.3. This version is no longer compatible
with previous.
    - Adopt style notation suggested by Wickham (R Packages book) 
    - All previous camel-case function names are now snake-case
    
### New features

- Added data loading functions
    - read_glatos_detections
    - read_otn_detections
    - read_glatos_workbook
    - read_glatos_receivers
    - read_vemco_tag_specs
- Added data processing, filtering, and summarizing functions
    - min_lag
    - real_sensor_values
    - summarize_detections
- Added animation functions
    - adjust_playback_time
    - make_frames
    - make_video
    - make_transition


Chris Holbrook's avatar
Chris Holbrook committed
314 315
----------------------------------------------------  

Chris Holbrook's avatar
Chris Holbrook committed
316 317
# glatos 0.1.3 

Chris Holbrook's avatar
Chris Holbrook committed
318 319 320
#### 2017-03-01

### - initial release on OTN gitlab
Chris Holbrook's avatar
Chris Holbrook committed
321