Plotting functions tfc_plot()
and
tfc_gha_plot()
for plotting tercile forecasts.
All map-plotting functions have now the option to turn off
dimension-checking, by setting dimension_check = FALSE
.
This makes them quite a bit faster, but is less secure. Default is to
check (as before).
Units for precipitation datasets have been switched from mm/day
to mm (or mm/month) which is much more common. This affects the two
internal datasets chirps_monthly
and
ecmwf_monthly
, and the data returned from
load_chirps()
.
The new function convert_monthly_to_seasonal()
converts monthly observations/predictions to seasonal ones.
dt_to_netcdf()
can now handle character-valued
columns in dt
. These are recognized correctly by
netcdf_to_dt()
.
Fixed a bug in ver_map()
and
ver_map_chirps()
.
The maintainers email address and the location of the online tutorial changed. The online tutorial has been updated and extended.
Fixed an issue where add_country()
,
restrict_to_country()
and restrict_to_GHA()
did not recognize Somaliland as part of Somalia.
Fixed an issue where requiring minimal coverage in
upscale_regular_lon_lat()
did not work correctly, if the
data table contained grid cells with missing values
Changed the default behavior of CHIRPS upscaling to only include
gridcells with at least 50% coverage. Fixed a warning that was always
printed at the end of download_chirps_monthly()
Renamed ggplot_dt_gha_map()
and
ggplot_dt_shf()
into gha_plot()
.
Fixed a bug where ggplot_dt()
and
gha_plot()
crashed when the provided data table has a
column named "country"
as its first non-dimvar
column.
Added package-level documentation.
Deprecated the old functions ggplot_dt_gha_map()
,
ggplot_dt_shf()
, and
restrict_to_confer_region()
.
Added a NEWS.md
file to track changes to the
package.
A high resolution map of the Greater Horn of Africa is now
included as part of the package. This is the standard map used during
GHACOFs at ICPAC. This map is used by the new plotting functions
ggplot_dt_gha_map
(which else pretty much works as
ggplot_dt
) and tercile_plot
.
A new function set_spatial_grid
has been added. The
function allows to store a grid-attribute with a data table. This
attribute contains information about the spatial grid of a data table,
e.g. whether the grid is regular or complete. The new function
grid_info
prints this information out for a data
table.
upscale_regular_lon_lat
now allows to specify a
required fraction of coverage and excludes all coarse grid cells that
have less than this required coverage.
Several small bugs have been fixed.