Changelog
Source:NEWS.md
rgplates 0.5.0 - 2024-09-04
CRAN release: 2024-09-06
Added
- Support for the reconstruction of
SpatRaster
class objects (packageterra
). Theterra
extension is now added as a suggested package. - The
velocities()
function to calculate plate tectonic velocities from the GWS. Currently only the online method is supported. The interface is similar toreconstruct()
, the character-method e.g.velocities("static_polygons")
returns velocities on a given feature set.
rgplates 0.4.1 - 2024-08-19
CRAN release: 2024-08-20
Added
- The
checkgws()
,getgws()
andsetgws()
functions that allow the customization of the remote location of the GPlates Web Service.
rgplates 0.4.0 - 2024-02-02
CRAN release: 2024-02-03
Added
- New suggested package ‘httr2’ to be used with the online method (see changed), which allows the customized usage of HTTP requests.
- The
from
argument forreconstruct()
, providing explicit support for forward reconstruction. The argumentationfrom!=0, age=0 (default)
, calculates present-day coordinates of past coordinates. The argumentationfrom!=0, age!=0
calculates shifted positions of coordinates at different times (age
) than their original (from
). - Support for missing values (
NA
) for the point reconstructions, which no longer trigger an error, but are rather propagated through the pipeline as missing values. - The
warn
argument ofreconstruct()
, allowing users to switch off warnings that indicate that paleocoordinates are off the partitioning polygons. - The
anchor
argument ofreconstruct()
, allowing users to change the anchor plate for the online submodule. This is necessary for toggling the paleomagnetic reference frame of the"TorsvikCocks2017"
model in the GWS. - The former
plateperiod
(now:validtime
) argument is usable with the GPlates Web Service and the online reconstruction method.
Changed
- Online reconstruction method (with GWS) now uses the HTTP POST method for points and sends coordinates as form data. Internals were changed accordingly. This allows the processing of theoretically unlimited number of coordinates.
- Online reconstruction method (with GWS) is no longer bound to integer ages.
- Point reconstruction results (
matrix
anddata.frame
objects) now consistently have the column namespaleolong
andpaleolat
for past coordinates, andlong
andlat
for present-day coordinates. - The
plateperiod
argument was renamed tovalidtime
for better semantic compatibility with the GPlates Web Service.
rgplates 0.3.1 - 2023-08-09
CRAN release: 2023-08-09
Added
- The
gws
data object that includes details about the reconstructable features in the GPlates Web services - Routines to check user entry to the GPlates Web Service with the
gws
Object. - The
platemodel
class now accepts feature descriptions as adata.frame
. This allows the inclusion of valid age ranges for the reconstruction of feature collections. - Simon Williams as contributor, as his code was the basis for accessing the GWS
- import of
utils::data()
Fixed
- Minor bug that did not allow topological features to be reconstructed.
- Minor bug that occurred when
enumerate=FALSE
and cases when the targetage
includedNA
s - An error that occurred when
plateperiod=TRUE
, the target age went beyond the duration of the plates and no coordinates were returned by the GPlates Desktop Application.
rgplates 0.3.0 - 2023-06-29
CRAN release: 2023-06-29
Added
- The
platemodel
class now accepts multiple feature collections. These can be recontructed by setting thex
argument ofrecontruct()
.
Changed
- The interface of the
reconstruct()
function now matches that of the GPlates web service. Use"static_polygons"
instead of"plates"
. - The
plateperiod
argument ofreconstruct()
now defaults toTRUE
- Documentation to reflect models avialble through the GPlates web service
- Changed default method of online reconstruction to
"MERDITH2021"
rgplates 0.2.1 - 2023-03-08
CRAN release: 2023-03-07
Added
- the
mapedge()
function - function website assets
rgplates 0.2.0 - 2022-09-19
CRAN release: 2022-09-19
Added
- Package now depends on the sustainable ‘sf’-based interface to GPLates
- Defense against non-integer reconstruction dates for the online method.
- Support for ‘sf’ type objects for the online reconstruction method
- defense against decimal ages for online reconstruction method.
- Support for all ’Spatial*’ objects (sp) in the offline reconstruction method
- The ‘gmeta’ argument of the local reconstruction submodule and sf output.
Changed
- All spatial outputs now default to sf instead of Spatial* types
- online reconstruction method now suggests the ‘geojsonsf’ extension package for reading in features