Articles

Affichage des articles du mai, 2019

Batch access to ERA5 database

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.

Reinstall packages after updating R

When you change R version, you must reinstall manually all your installed packages. # before to update pkgins <- rownames(installed.packages()) save(pkgins, file = "pkgins.Rdata") # after updating load(file = "pkgins.Rdata") for (pkg in pkgins[is.na(match(pkgins, rownames(installed.packages())))]) {   if (pkg %in% pkgins[is.na(match(pkgins, rownames(installed.packages())))]) {     install.packages(pkg)   } } The packages shown with: pkgins[is.na(match(pkgins, rownames(installed.packages())))] Are not available in CRAN or produced an error when installed with new version.

Error when updating packages in Ubuntu 18.04

When I update the packages, I get this error: mise à jour de la liste HTML des packages dans '.Library' Warning messages: 1: In file.create(f.tg) :   impossible de créer le fichier '/usr/share/R/doc/html/packages.html', à cause de 'Permission denied' 2: In make.packages.html(.Library) :   impossible de mettre à jour l'index HTML des packages I tried to solve the problem using  sudo chmod -R 777 /usr/share/R/