Articles

Affichage des articles du juin, 2025

What was stored in a .Rdata file

 If you load the .Rdata in an environment with already many data, it can be difficult to know what is new after the loading. The solution is to use: print(load("yourobject.Rdata"))

Read ECMWF data ERA 5

ERA5 is the latest development in the ERA series, and  improves significantly on its predecessors by: - Offering a higher horizontal resolution of 31 km and 137 vertical levels from the surface up to 0.01 hPa (around 80 km); - Using a more recent and advanced version of the ECMWF IFS model; - Providing hourly estimates of atmospheric variables; - Providing a consistent representation of uncertainties for these variables; - Using more satellite observations in the data assimilation. Here are some information to access this database using python batch Please visit http://climate.copernicus.eu/climate-reanalysis for more information including documentation and guidelines on how to download the data. __________ June 2025 The new ECMWF methodology cannot use R directly. The solution I found to download data in MacOSX was: https://cds.climate.copernicus.eu/datasets/reanalysis-era5-single-levels?tab=overview To install the CDSAPI using pip, the solution is to create a virtual environneme...

Compile gam on R 4.6.0

 Error because library libintl.h is not found; to solve: sudo ln -s /opt/homebrew/Cellar/gettext/0.25/include/libintl.* /opt/R/arm64/include