Skip to contents

GeoPressureR v3.9.1

Main

  • Add tag_label_check(): short stationary periods, short flights and large hourly pressure changes as data.frames. The TRAINSET Check panel and plot_tag_pressure() now use it.
  • Add pressurepath_check() (renamed): the error of each stationary period and elevation level (empirical sd vs the sd used, offset, outliers), as in plot_pressurepath(type = "histogram"), which now uses it. It also works on a geopressure_timeseries() output.
  • Add tag_label_stapelev(): TRAINSET’s automatic stapelev for one stationary period at a position, from a script. It returns the tag with the labels of that stationary period replaced, as TRAINSET’s Apply does. The algorithm moved from inst/trainset/ into the package, and TRAINSET uses the same functions.
  • Add a per-stapelev table to the pressure maps (tag$map_pressure$stapelev) and a warning in geopressure_map_mismatch(): one row per map requested with its number of samples, land pixels, pixels passing the mask and smallest MSE, before the elevation levels of a stationary period are combined. When no pixel of a stationary period passes the mask, a warning names it and the levels responsible.
  • Add keep_mask_split to geopressure_map(): GeoPressureAPI also returns the share of samples above and below the ground, summarised as frac_above and frac_below in the stapelev table, and the warning says whether a masked level is mostly above or below the ground. It needs a GeoPressureAPI version with includeMaskSplit; older versions warn and continue without it.
  • Record provenance of every step: param$provenance$geopressure_map, $pressurepath_create (in the Template) and $graph_add_wind, and the attribute provenance of geopressure_timeseries() and pressurepath_create() outputs, with the same fields: GeoPressureR version, date, source ("GeoPressureAPI", "arco", "api", or the wind source "cds", "gcs", "unknown"), ERA5 dataset, altitude formula and the GeoPressureAPI provenance objects (NULL with older API versions). print.param() lists it, and GeoPressureAPI errors show the API version. The pressurepath attributes source and era5_dataset are kept for this release.
  • Add twilight_check(): the solar zenith angle of each twilight at the position of its stationary period and whether it falls outside the calibrated range, as plot_twl_calib(tag, path) flags per stationary period. The plot now uses it.

Minor

Behaviour that users relied on has changed:

  • Pressure maps at scale = 4 computed through GeoPressureAPI move by one ERA5 row in latitude, because /map/ now takes the same ERA5 cell as /timeseries/, /pressurePath/ and ARCO (GeoPressureAPI#38). Results computed before and after differ slightly. This is a server-side change: it applies to every GeoPressureR version calling the API.
  • geopressure_timeseries() and pressurepath_create() with the API now abort (HTTP 416) for dates after the end of ERA5, instead of silently dropping those points (GeoPressureAPI#38).
  • Wind computed in 3.6.0–3.7.x from wind files with ascending pressure levels (old CDS files) used the wrong pressure level and should be recomputed. These files now give the same wind as descending files.
  • future, future.apply and progressr are no longer imported, so they are no longer installed with GeoPressureR. httr2 (>= 1.1.1) is required.

Full Changelog: https://github.com/GeoPressure/GeoPressureR/compare/v3.9.0...v3.9.1

GeoPressureR v3.9.0

Main

Minor

Full Changelog: https://github.com/GeoPressure/GeoPressureR/compare/v3.8.0...v3.9.0

GeoPressureR v3.8.0

Main

Minor

Full Changelog: https://github.com/GeoPressure/GeoPressureR/compare/v3.7.1...v3.8.0

GeoPressureR v3.7.1

Main

GeoPressureR v3.7.0

Main

Minor

Full Changelog: https://github.com/GeoPressure/GeoPressureR/compare/v3.6.8...v3.7.0

GeoPressureR v3.6.8

Main

  • Redesign automatic elevation labeling in TRAINSET with a compact table, user-defined levels and time ranges, per-level pressure tolerances, day/night selection and optional continuity filtering. Initialize offsets from shared settings or adjust checked levels, then preview before replacing the selected stationary period’s non-flight labels.

Minor

Full Changelog: https://github.com/GeoPressure/GeoPressureR/compare/v3.6.7...v3.6.8

GeoPressureR v3.6.6

Main

  • Read the air and body temperature of SOI tags with firmware 2.4 and later in tag_create(). The SOI decoder names these files *.AirTemperature and *.BodyTemperature, which the case-sensitive file detection missed, so they were silently skipped. Sensor file arguments are now matched as case-insensitive wildcard patterns (* matches any characters), and "*.temperature" no longer matches *.BodyTemperature.
  • Set SOI decoder gaps to NA. The decoder writes -2 in every column of rows it could not reconstruct. These rows are now NA in acceleration (including mean_acceleration_z), temperature_internal and magnetic, where they previously appeared as measurements (magnetic gap rows became near-zero vectors). In temperature_external, -2 cannot be told apart from a −2 °C measurement and is kept.

Minor

Full Changelog: https://github.com/GeoPressure/GeoPressureR/compare/v3.6.5...v3.6.6

GeoPressureR v3.6.5

Main

Minor

Full Changelog: https://github.com/GeoPressure/GeoPressureR/compare/v3.6.4...v3.6.5

GeoPressureR v3.6.4

Main

Full Changelog: https://github.com/GeoPressure/GeoPressureR/compare/v3.6.3...v3.6.4

GeoPressureR v3.6.3

Main

Minor

Full Changelog: https://github.com/GeoPressure/GeoPressureR/compare/v3.6.2...v3.6.3

GeoPressureR v3.6.2

Main

GeoPressureR v3.6.0

Main

Prepare for the release of GeoPathSampleR package and GeoTwilight paper:

Minor

GeoPressureR v3.5.4

Main

Full Changelog: https://github.com/GeoPressure/GeoPressureR/compare/v3.5.3...v3.5.4

GeoPressureR v3.5.0

GeoPressureR v3.4.4

What’s Changed

  • Refactored wind file path argument to accept both stap_id and tag_id.[1] [2] [3] [4] [5] [6] [7] [8]

  • Enhanced the print.graph and print.tag [1] [2] [3] Improved CLI section headers to include the relevant id in several workflow functions, providing better context for the user. [1] [2] [3]

  • Added an assert_tag parameter to geopressuretemplate_config [1] [2] [3] [4] Added an assertion for scientific_name type early in bird_create to ensure input validity, and removed a redundant assertion later in the function. [1] [2]

  • Updated progress messages and clarified output in several places. [1] [2] Improved handling of return values in error cases for geopressuretemplate_graph. [1] [2] Cleaned up and clarified documentation and comments, including removal of outdated references and minor formatting fixes. [1] [2]

  • Fixed a logical error in plot_path_leaflet when checking the interp field.

  • Ensured likelihood maps are retrieved and displayed more clearly in graph_create.

  • Added a Year: 2022 field to the DESCRIPTION file.

Full Changelog: https://github.com/GeoPressure/GeoPressureR/compare/v3.4.3...v3.4.4

GeoPressureR v3.4.3

Moderate

Memory Optimization on Graph Creation

  • Replaced the use of geosphere functions with custom memory-efficient implementations for distance and bearing calculations.
  • Improved graph creation by introducing distance filtering before distance calculation and adding progress messages for better user feedback.
  • Added cleanup steps (rm and gc) in the edge_add_wind function to free memory by removing unused variables and closing netCDF files.

Minor

Full Changelog: https://github.com/GeoPressure/GeoPressureR/compare/v3.4.2...v3.4.3

GeoPressureR v3.3.3

Minor

  • Minor fixes of plot_path
  • Minor fix on plot_twilight
  • Minor edits on docs and website

Full Changelog: https://github.com/GeoPressure/GeoPressureR/compare/v3.3.2...v3.3.3

GeoPressureR v3.3.2

Major update

  • Change the computation of distance of edges in the graph by removing the fix that added 1 resolution to the distance to account for large grid square and short flight distance. Instead, add warning message in case there might be such an issue (flight distance < grid resolution) ddbd07d.
  • Add zero_speed_threshold parameter that allow to encourage bird to stay at the same location. This is typically the case for short flight that don’t seems to affect the position. Quite similar to a stap_elev 2060790
  • Add other type of pressurepath in interim 8d7f1d1

Minor

Full Changelog: https://github.com/GeoPressure/GeoPressureR/compare/v3.3.1...v3.3.2

GeoPressureR v3.3.1

Major update

New Contributors

  • @PabloCapilla made their first contribution in #125

Full Changelog: https://github.com/GeoPressure/GeoPressureR/compare/v3.3.0...v3.3.1

GeoPressureR v3.3

Major

GeoPressureR v3.2

Major

Minor

GeoPressureR v3.1

Major

  • Update to GeoPressureAPI v2, using thr_mask in geopressure_map_mismatch() and splitting keep_mse_mask.
  • Adjust computation of ground speed to account for grid resolution.

Minor

  • Use negative indexing for known
  • remove trailing / to default directories.
  • documentations and minor fixes.

GeoPressureR v3.0

Guiding principles of v3

This new version consists of a significant revamp of the entire code centred around these themes:

  • Name more general than SOI sensors (e.g., use tag instead of pam)
  • Focus the workflow on pressure sensor (but still allows for acceleration or light data)
  • Update the notion of graph into State-Space Model notations (e.g. probability -> likelihood)
  • More memory efficient (store minimum graph info) while minimizing computational expense of the “slow” functions
  • Shorter workflow #69
  • Ease of labelling #67
  • Reproducibility and long-term storage with param.
  • Use of S3 class object with print and plot generic function.
  • Compatible with pipe |> or %>%
  • Use of cli for message and progress bar.
  • Be able to update tag and pressurepath without re-computing everything.
  • See #55 for details on the functions named change
  • See the migration wiki for a small guide to transition from v2.

Major

  • Use of GeoPressureR object: tag, graph, param, bird
  • Many new plot functions including update of geopressureviz()
  • Transition from raster to terra #59
  • New label scheme with test and messaging for troubleshooting #67 #73 #83
  • Create tag_update() and pressurepath_update()
  • Review the structure of a path and edges.

Minor

  • Formulate graph as a HMM #68
  • Simplified workflow #69
  • Use of cli for message.
  • Create graph_shortestpath b69c2a21
  • Review all tests and example
  • Review all functions names and parameters

GeoPressureR v2.7-beta

Major

  • Major fix in the computation of the marginal map bd1103fd

Minor

  • Improve graph_download_wind() #54
  • GeoPressureViz function in #52
  • Replace isoutliar with isoutlier in #43
  • Use assertthat in #46 and #47
  • Typo of equipment and retrieval in #48
  • Various minor fixes

GeoPressureR v2.6-beta

Major

  • add windspeed download function graph_download_wind()

Minor

  • fixes for reading pam data
  • various fixes (see #42)

GeoPressureR v2.5-beta

Major

  • Migration of all the vignette and data used for the vignette in GeoPressureManual bda0f789
  • Read Migrate Technology data (should not be breaking change, but some significant changes) #23
  • Add logis function in flight_prob() 6e1a8f0e

Minor

  • Read Avonet data as package data c5c8d807
  • Update of r-lib/actions to v2 3382fb9b
  • 8720b6e6
  • Improvement of GeoPressureViz 97be49de 964b5589
  • Add checks and warning in functions
  • Preparation of the code for CRAN

GeoPressureR v2.4-beta

Major

  • Accept request over water and display warning message. See #15
  • Add logging of error and return JSON file of the request in case of error for troubleshooting
  • Change downloading and reading of geotiff file to work on windows. See #16
  • Remove the artificial increase of flight duration at the creation of graph 696566e8
  • Compute groundspeed in parallel in graph creation b1466c73

Minor

  • minor fixes for sta_id=0 or NA
  • minor fixes in geopressureviz()
  • add dummy graph test to improve coverage.
  • compute windspeed for short flight happening during the same hour
  • typos, code readability and stlyer

GeoPressureR v2.3-beta

Major

Minor

GeoPressureR v2.2-beta

Major

  • New function geopressure_map2path with return of index of lat-lon option
  • New function geopressure_ts_path to compute multiple geopressure_ts function on a full path
  • Update GeoPressureViz (demo app) to accept geopressure_ts_path output

Minor

  • fix flight and avonet database #10
  • fix #9

GeoPressureR v2.1-beta

Major

Minor

  • Minor correction of existing code
  • cleaning of name, variable and file saved for more consistency
  • Update to GeoPressureAPI v2.1

GeoPressureR v2.0-beta

What’s Changed

  • Add vignette and code for light geopositioning in #4
  • minor language changes by @jsocolar in #7

New Contributors

  • @jsocolar made their first contribution in #7