• Artículos
  • Documentos
    • Libro de Energía Solar Fotovoltaica
  • Omnia sunt Communia!

Omnia sunt Communia!

~ Sobre software, documentación y ciencia libres

Omnia sunt Communia!

Archivos de etiqueta: meteorological data

meteoForecast 0.43: GFS, NAM, and RAP included

20 lunes Oct 2014

Posted by Oscar Perpiñán Lamigueiro in R-english, R-project, Software

≈ Comentarios desactivados en meteoForecast 0.43: GFS, NAM, and RAP included

Etiquetas

forecast, meteorological data, NWP, R, WRF

Some months ago I published the meteoForecast package, with functions to download data from the Meteogalicia and OpenMeteo NWP-WRF services. Now there is a new version available at CRAN. This update includes a bunch of bug fixes, some additional features, and three new services: GFS, NAM, and RAP.

servicesMap

You will find detailed information and examples here.

Anuncio publicitario

Comparte / Share

  • Correo electrónico
  • Imprimir
  • Twitter
  • Facebook
  • LinkedIn
  • Pinterest
  • Más
  • Tumblr
  • Reddit

Me gusta esto:

Me gusta Cargando...

Meteorological Data Sources

13 domingo Jul 2014

Posted by Oscar Perpiñán Lamigueiro in Datos, Energía

≈ 1 comentario

Etiquetas

data, forecast, meteorological data, wiki

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.

Comparte / Share

  • Correo electrónico
  • Imprimir
  • Twitter
  • Facebook
  • LinkedIn
  • Pinterest
  • Más
  • Tumblr
  • Reddit

Me gusta esto:

Me gusta Cargando...

Matrices de diagramas de dispersión con R y lattice

18 viernes Mar 2011

Posted by Oscar Perpiñán Lamigueiro in R-castellano

≈ Comentarios desactivados en Matrices de diagramas de dispersión con R y lattice

Etiquetas

lattice, meteorological data, R, scatterplot matrices, solar, splom

Dentro de lattice, existe una función llamada splom, útil para visualizar matrices de diagramas de dispersión (scatter plot matrices). Para conjuntos de datos de gran tamaño la función panel.hexbinplot del paquete hexbin es una mejor opción para el panel que usa splom por defecto. Veamos un ejemplo utilizando datos meteorológicos de MAPA-SIAR: Sigue leyendo →

Comparte / Share

  • Correo electrónico
  • Imprimir
  • Twitter
  • Facebook
  • LinkedIn
  • Pinterest
  • Más
  • Tumblr
  • Reddit

Me gusta esto:

Me gusta Cargando...

How to display scatter plot matrices with R and lattice

18 viernes Mar 2011

Posted by Oscar Perpiñán Lamigueiro in R-english, visualization

≈ 5 comentarios

Etiquetas

lattice, meteorological data, R, scatterplot, solar

In lattice, there is a function called splom for the display of scatter plot matrices. For large datasets, the panel.hexbinplot from the hexbin package is a better option than the default panel.

As an example, let’s use some meteorological data from MAPA-SIAR:

library(solaR)
library(hexbin)

aranjuez <- readSIAR(prov=28, est=3, start='01/01/2004', end='31/12/2010')

aranjuezDF <- subset(as.data.frame(getData(aranjuez)),
 select=c('TempMedia', 'TempMax', 'TempMin',
 'HumedadMedia', 'DirViento', 'EtPMon',
 'Precipitacion', 'G0'))

Now we can use splom with panel.hexbinplot and panel.loess. Besides, I have included some changes to diag.panel in order to show the univariate density of each variable (adapted from here). UPDATED: I include the use of colramp and BTC to change the color of the hexagon bins.

splom(aranjuezDF,
 panel=panel.hexbinplot,
 colramp=BTC,
 diag.panel = function(x, ...){
 yrng <- current.panel.limits()$ylim
 d <- density(x, na.rm=TRUE)
 d$y <- with(d, yrng[1] + 0.95 * diff(yrng) * y / max(y) )
 panel.lines(d)
 diag.panel.splom(x, ...)
 },
 lower.panel = function(x, y, ...){
 panel.hexbinplot(x, y, ...)
 panel.loess(x, y, ..., col = 'red')
 },
 pscale=0, varname.cex=0.7
 )

Finally, it is interesting to identify some points. This task is easy with panel.link.splom. The points are selected via mouse clicks. Clicks other than left-clicks terminate the procedure.

trellis.focus('panel', 1, 1)
idx <- panel.link.splom(pch=13, cex=0.6, col='green')
aranjuezDF[idx,]

Comparte / Share

  • Correo electrónico
  • Imprimir
  • Twitter
  • Facebook
  • LinkedIn
  • Pinterest
  • Más
  • Tumblr
  • Reddit

Me gusta esto:

Me gusta Cargando...

Omnia sunt communia!

“As we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously”

RSS Feed RSS - Entradas

Introduce tu correo electrónico para suscribirte a este blog y recibir avisos de nuevas entradas.

Únete a otros 91 suscriptores

Posts Más Vistos

  • Libro de Energía Solar Fotovoltaica
  • Vector fields with streamlines
View Oscar Perpiñán Lamigueiro's profile on LinkedIn
profile for Oscar Perpiñán on Stack Exchange, a network of free, community-driven Q&A sites
Citations for Oscar Perpinan

@oscarperpinan

Mis tuits

Enlaces

  • Displaying time series, spatial and space-time data with R
  • Introducción a R

Top Clicks

  • oscarperpinan.github.com/…
  • r-bloggers.com/2023/05/3d…

Etiquetas

actuar anarquía autocontención ayuda mutua bloch ciencia circuitos eléctricos común cooperación CRAN creative commons data data.table data analysis ecología emacs Energía energía solar fotovoltaica entropía EOI esperanza exergía forecast fotovoltaica galeano github GNU General Public License información investigación jorge riechmann kropotkin latex lattice lewis mumford libro lyx map maps memoir meteorological data movimientos sociales nestoria nicolas georgescu roegen NWP open data openstreetmap orgmode pensar photovoltaics pobreza R R-project radiación solar raster rasterVis reproducible research siar small multiples software libre solar solar radiation sp spatial spatial data spplot tecnología time series trellis tufte uned utopía Vector field visualización visualization WRF

RSS R-bloggers

  • Simulating confounders, colliders and mediators by @ellis2013nz
  • Introduction to Mixed-effects Models in R workshop
  • Learn to ‘Make an outstanding Shiny App’ with us
  • Sorting, Ordering, and Ranking: Unraveling R’s Powerful Functions
  • Galton and Watson voluntarily skipping some generations
  • {attachment} v0.4.0: Breaking changes and configuration file for a better experience
  • Sharing the Big Book of R upgrade proposal
  • The do.call() function in R: Unlocking Efficiency and Flexibility
  • Version 1.0.0 of NIMBLE released, providing automatic differentiation, Laplace approximation, and HMC sampling
  • Checking normality in R

RSS dataanalytics

  • Se ha producido un error; es probable que la fuente esté fuera de servicio. Vuelve a intentarlo más tarde.

RSS Solar Energy (Elsevier)

  • Se ha producido un error; es probable que la fuente esté fuera de servicio. Vuelve a intentarlo más tarde.

RSS Progress in Photovoltaics

  • Se ha producido un error; es probable que la fuente esté fuera de servicio. Vuelve a intentarlo más tarde.

RSS Madridmasd

  • Cambio Climático, Gobiernos y Empresas; Casi todas sus promesas son mentira
  • Proyectos estratégicos para la recuperación y transformación económica (PERTE)
  • ¿En quién confiar? Debate sobre IA, ética y comunicación en el congreso de medios de comunicación
  • La Civilización perdida bajo los suelos y vegetación de Latinoamérica.
  • IMDEA Software e IMDEA Networks trabajan para desplegar en la Comunidad de Madrid “MadQCI”: la mayor red cuántica de Europa
  • Etnografía y Paleoecología de los Paisajes Precolombinos: El Papel del Fuego en las Culturas Aborígenes del SO de América del Norte (tribus Karuk y Yurok)
  • Homenaje a Manuel Espadas Burgos
  • Super Mario World
  • Taller doctoral en Historia de las Relaciones Internacionales 2023 en la Universidad de Padua
  • Directiva Europea de Protección de Suelos: Dos décadas de “vistas” y “consideraciones” y otras desconsideraciones
Licencia Creative Commons
Salvo indicación en contra todos los contenidos están publicados por Oscar Perpiñán Lamigueiro bajo una Licencia Creative Commons Reconocimiento-No Comercial-Compartir Igual 3.0 Unported.

Crea un blog o un sitio web gratuitos con WordPress.com.

Privacidad y cookies: este sitio utiliza cookies. Al continuar utilizando esta web, aceptas su uso.
Para obtener más información, incluido cómo controlar las cookies, consulta aquí: Política de cookies
  • Seguir Siguiendo
    • Omnia sunt Communia!
    • Únete a 91 seguidores más
    • ¿Ya tienes una cuenta de WordPress.com? Inicia sesión.
    • Omnia sunt Communia!
    • Personalizar
    • Seguir Siguiendo
    • Regístrate
    • Iniciar sesión
    • Denunciar este contenido
    • Ver sitio web en el Lector
    • Gestionar las suscripciones
    • Contraer esta barra
 

Cargando comentarios...
 

    A %d blogueros les gusta esto: