Have a personal or library account? Click to login
CDSim: A Synthetic Climate Data Simulation Framework for Temperature and Rainfall Modelling in R Cover

CDSim: A Synthetic Climate Data Simulation Framework for Temperature and Rainfall Modelling in R

Open Access
|Mar 2026

Figures & Tables

Table 1

Summary of key CDSim functions (Source: Authors’ own compilation).

FUNCTIONPURPOSEEXAMPLE SYNTAX
create_stations()Create real or synthetic weather stationscreate_stations(source=“file.csv”)
simulate_climate_series()Generate synthetic data for temperature and rainfall time seriessimulate_climate_series(stations, 2000, 2025)
write_station_csv()Export simulated data to CSV formatwrite_station_csv(data, file=“file1.csv”)
write_station_netcdf()Export simulated data into NetCDF formatwrite_station_netcdf(data, file=“file1.nc”)
plot_station_timeseries()Produce time series visualisationsplot_station_timeseries(data, ‘Station_1’, var=’Avg. Tx’)
Figure 1

Overview of the CDSim workflow (Source: Authors’ own illustration).

Figure 2

Demonstration of CDSim workflow (Source: Screenshot from RStudio).

Figure 3

Time series of simulated maximum temperature for the Accra station (Source: Plotted in RStudio using the CDSim framework).

Figure 4

Time series of simulated minimum temperature for the Accra station (Source: Plotted in RStudio using the CDSim framework).

Figure 5

Time series of simulated total rainfall for the Accra station (Source: Plotted in RStudio using the CDSim framework).

DOI: https://doi.org/10.5334/jors.666 | Journal eISSN: 2049-9647
Language: English
Submitted on: Jan 2, 2026
|
Accepted on: Feb 17, 2026
|
Published on: Mar 17, 2026
Published by: Ubiquity Press
In partnership with: Paradigm Publishing Services
Publication frequency: 1 issue per year

© 2026 Isaac Osei, Acheampong Baafi-Adomako, Sivaparvathi Dusari, Anil Carie, published by Ubiquity Press
This work is licensed under the Creative Commons Attribution 4.0 License.