The primary purpose of this release is to ditch the dependencies on removed or deprecated functionality from other packages. In particular dropping maps, maptools and mapdata packages and replacing them with rnaturalearth and rnaturalearthdata. There are other bugfixes and changes, see below.
maps, maptools and mapdata packages have been replaced with rnaturalearth and rnaturalearthdata (also removing the dependency on rgeos) for building country and continental outlines. The options available for the map.overlay argument are now "world", "countries" or "ne_countries" for full country outlines (all equivalent) or "coastlines" or "ne_coastlines" for coastlines only (both equivalent). Note these packages also have lots of other nice things what you can you on your plots (using sf and ggplot2)selectGridcells() (and therefore getField()) can now read take sf objects (but no longer maps) objects. SpatRast objects from terra are now handled without conversion to raster.raster and sp are still used in the package but only for exporting objects of those packages. Overall, the functionality of DGVMTools doesn't depend on sp or raster so they can be easily deprecated and removed in future releases.ggplot2, with linewidth replacing size for geom_line aes_string() function has been removed (behind the scenes only)map.overlay argument now takes strings based on rnaturalearth rather than maps (see above).selectGridcels() now takes sf objects instead of maps objects. The rnaturalearth package is a good place to get country outlines to use here, it is a great replacement for maps.plotSubannual() function now has arguments size and linewidth instead of point.size and line.width respectively. text.multiplier now handled properly in plotSubannual(). Thanks Drew! plotSubannual() to use the specified summary function and not always the mean."Version 1.0 release" - no major features, but many refinements and improvements. Some potentially breaking changes, see below.
For various reasons the old behaviour for saving and rereading processed Fields (with the 'write' and 'read.full' arguments) was becoming restrictive and not safe against unexpected behaviour. However, it is still extremely advantageous to be able to conveniently save Fields after they have been read and processed for quicker rereading later. To facilitate this, new functionality has been implemented and behaves as follows:
Feature release, and a good one! A new flexible netCDF file reader is now included! This completely supersedes the previous "DGVMData"" Format (which has been removed), please now use the "NetCDF"" Format instead (it should also read any old DGVMData files without problems). For further details of this and other features and bugfixes, see below.
Thank you to everyone for your bug reports and feature requests! Keep 'em coming :-)
This is a feature release! Main features are aDGVM1 support, the inclusion of plotTemporalComparison() and the change from PFT objects to the more flexible Layer objects. However there have been many other bug-fixes and tweaks.
This is a bug-fix and "feature tweaking" release - i.e. there is no new major functionality but enhanced useability and other tweaks.
A few new features in this release.
This release has a couple of new features, few minor bug fixes and some tidying and cleaning. See also new repository for example scripts at https://github.com/MagicForrest/DGVMTools_Scripts
Bug fix due to a small regression in listPFTs(). Also took the opportunity to include examples for listPFTs, unit tests for listPFTs, and changed the 'print' functions to 'show' functions as is appropriate for S4 methods (but this does not effect users).
Changes are mostly bug fixes and behind the scenes improvements. However there have been a couple of user-facing changes which could break stuff (hence the minor version number increment from 0.6 to 0.7):
Also, from now on the master branch will be consider stable and usable. Bug fixes and small feature improvements will be pulled directly into master. For developers, there will be a dev-v0.8 branch to collect larger features and potentially breaking changes.
Removed dependency on external gzip on windows machines for better portability.
Featuring aggregation and time series plotting of daily data, use of gzip for compressed DGVMData (also on windows systems), extended vignette and bug fixes.
For FireMIP workshop.
For visiting collaborators. Release v0.6 still planned in the next two weeks.
DGVMTools is now publicly available! Whilst package is pretty much fully featured, there may be bugs, so it should be considered in the late-beta phase. New v0.6 release to come this month.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.