Meteorological Data Sources


, , ,

I have started a wiki with a collection of meteorological data sources I have collated in the framework of the research project PVCROPS. It includes services that publish observations, forecasts and reanalysis. Most of them offer products free of charge.

If you find typos or errors, or if you want some source to be referenced, please contribute.


meteoForecast, a package to obtain NWP-WRF forecasts in R


, , , , ,

wrfDaysThe Weather Research and Forecasting (WRF) Model is a numerical weather prediction (NWP) system. NWP refers to the simulation and prediction of the atmosphere with a computer model, and WRF is a set of software for this.

meteoForecast is a new R package that implements functions to download data from the Meteogalicia and OpenMeteo NWP-WRF services using the NetCDF Subset Service.

Read this introduction for additional information and examples.

Libro y presentaciones de Energía Solar Fotovoltaica en GitHub


, , , ,

He publicado los ficheros fuente de mi libro “Energía Solar Fotovoltaica” y de sus presentaciones asociadas. Todo el material está en este repositorio GitHub.

Si estás registrado en GitHub puedes usar algunas funcionalidades interesantes:

Sin necesidad de usuario de GitHub puedes simplemente descargar el repositorio completo como un fichero ZIP. Si sólo te interesa el PDF final lo tienes aquí.

Los ficheros LaTeX del libro funcionan correctamente y se pueden compilar sin problemas. Con las presentaciones aún tengo que hacer algunas correcciones. Además, tengo el objetivo de reescribirlas usando orgmode con beamer para poder exportar a a otros formatos.

rasterVis tutorials


, , , , ,

Agustin Lobo has recently published some good tutorials about rasterVis:


Regarding the second tutorial, there has been an interesting discussion in the R-sig-Geo mailing list about the projection of the ggmap output.

Displaying time series, spatial, and space-time data with R is available for pre-order


, , , , , , , ,

Two years ago, motivated by a proposal from John Kimmel, Executive Editor at Chapman & Hall/CRC Press, I started working in a book, “Displaying time series, spatial, and space-time data with R”. This book presents methods and R code for producing high-quality graphics of time series, spatial, and space-time data.


The book is already available for pre-order at CRC Press and Amazon. It will be published on April 4th, 2014. Along with the main graphics from the text, the book website offers access to the datasets used in the examples as well as the full R code.

I have spent a large amount of time and effort in this project but, now that it is finished, I can say it has been worthwhile. One of the challenges was to produce a fully reproducible book including hundreds of code chunks and graphics, and survive after several rounds of peer-reviewing. Among the tools that can create reproducible documents with R, I decided to use these gems of open-source software:

If you are interested in the technical details read about writing a book with Emacs and friends.