Repository navigation
GeoPressureR v3.8.0
GeoPressureR v3.8.0
Main
-
Map SOI magnetic axes as forward = raw y, right = raw x for all hardware versions (
mag_axis = c("right", "forward", "down")) intag_create(). The previous mappings were 180° off for hardware ≤ 2.3 and used the wrong axis for ≥ 2.4. Magnetic and acceleration x/y of SOI tags change, and so do headings computed from them; intensity and inclination do not. A warning flags tags resting tilted backwards (possibly mounted reversed). -
Normalize each stationary period in
graph_marginal(). Map shapes are unchanged, but each stationary period is now a probability map scaled by the global maximum, and long tracks no longer fail with numerical underflow. -
Integrate wind exactly over each flight in
edge_add_wind()andgraph_add_wind(). The first and last hours were weighted about twice too much, so wind and airspeed change, most for short flights. -
Compute
pressurepath_create()one trajectory at a time for paths with several trajectories (columnj, e.g.path_simulation). -
Return the crosswind component from
windsupport(drift = TRUE)as documented. -
Simplify GeoPressureViz: remove position interpolation, the Save button writing to
data/interim/and the returned path. Use the app'sExport CSVbutton to keep an edited path. -
Abort
tag_set_map()on new parameters when likelihood maps exist instead of prompting to delete them; start again fromtag_create(). -
Use
terra::rast(map)to convert amapto a SpatRaster;rast.map()is no longer exported. -
Add a
mag_axisargument totag_create()for SOI tags mounted reversed or at 90°. -
Keep objects such as
path_geopressurevizwhengeopressuretemplate_graph()re-saves the interim file.geopressuretemplate_pressurepath()computes onlymost_likelyandsimulation; for other paths (e.g. exported from GeoPressureViz) callpressurepath_create()directly (#162). -
Store logger metadata under
param$tag_create:settings(the manufacturer settings with normalisedmodel,firmwareand, for SOI,clock_drift) andmag_axis, replacingparam$soi_settings,param$migratec_model,param$driftandparam$mag_axis. Released together with GeoLocatoR, which reads both layouts. -
Weight edges spanning several flights by flight duration in
edge_add_wind(); weights now sum to 1 per edge, as ingraph_add_wind(). -
Fix the end of stationary periods in
tag_label_stap()for irregularly sampled data.
Minor
- Guess
twl_offsetwith a circular mean of daylight hours, fixing tags at longitudes beyond about ±130°. - Use a centred smoothing window in
geopressure_map_preprocess(), removing a +30 min shift for hourly and 20 min pressure data. - Round ERA5-Land latitude ties the same way in all ARCO queries.
- Use the land cover fraction in
map_add_mask_water()so thatland_thresholdtakes effect. - Keep the basemap choice in
plot.map(). - Keep valid edges on large grids in
graph_create()and stay-in-place edges ingraph_add_wind(). - Regenerate the 18LX example outputs and fix typos in messages.
- Rename
map_add_tiles()toleaflet_add_basemaps()and thestap2duration()argumentstap_pathtostap; the old names are deprecated.geolightviz(quiet)is deprecated. tag_label_stap()andtag_stap_daily()also addstap_idto temperature sensors (sensor names defined once).- Internal refactoring without change in results: one wind interpolation code path, shared ERA5 grid, land-sea mask and validation helpers (the ERA5-Land altitude deprecation warning now also applies to
source = "api"), simpler tag readers andtag_assert(), dead code removed and Shiny server files split. - Fix smaller issues found in the review: clearer errors (fewer than two stationary periods, airspeed without wind, all-known twilights), NA pressure sent as JSON
nullto GeoPressureAPI,map[["stap"]]and a defaultstap$includeinmap_create()(tag, map and template), 3-cyclemag_axisrotations, background Shiny apps that fail to start, and TRAINSET and GeoPressureViz interactions. - Final review fixes: order path rows in
path2edge(), requirepressureingraph_add_wind(), stopgeopressuretemplate()after a failed graph step, keep small islands inmap_add_mask_water()by default, exact ERA5 grid ties, GeoLightViz labels and predicted lines, smaller tag fixes and a documentation review.
Full Changelog: v3.7.1...v3.8.0