Archivo:WSPR 2014.svg
Contenido de la página no disponible en otros idiomas.
Apariencia
De Wikipedia, la enciclopedia libre
Tamaño de esta previsualización PNG del archivo SVG: 540 × 450 píxeles. Otras resoluciones: 288 × 240 píxeles · 576 × 480 píxeles · 922 × 768 píxeles · 1229 × 1024 píxeles · 2458 × 2048 píxeles.
Ver la imagen en su resolución original ((Imagen SVG, nominalmente 540 × 450 pixels, tamaño de archivo: 136 kB))
Este es un archivo de Wikimedia Commons, un depósito de contenido libre hospedado por la Fundación Wikimedia. Más abajo se reproduce su página de descripción con la información sobre su origen y licencia. |
Resumen
DescripciónWSPR 2014.svg |
English: Density distribution of WSPR spots, January 2014 vs July 2014, using only most distant reception per spot. |
Fecha | |
Fuente | Trabajo propio |
Autor | Kaizen Dave |
R code to produce chart
rm(list=ls()) gc(verbose=TRUE, reset=TRUE) library(stringi) library(plyr) library(dplyr) library(ggplot2) # Function to get spots for a given month. Downloads zip file from WSPR web site and saves it as local # RData if necessary, otherwise reads local RData file. Performs minor cleanup on downloaded file. GetSpots <- function(year, month) { if ( ! dir.exists("./spots") ) { dir.create("./spots") } month <- sprintf("%02d", month) rdata <- stri_join("./spots/wsprspots-", year, "-", month, ".RData") if ( file.exists(rdata) ) { message(stri_join("Loading: ", rdata)) load(rdata) } else { url <- stri_join("http://wsprnet.org/archive/wsprspots-", year, "-", month, ".csv.zip") zip <- stri_join("./spots/wsprspots-", year, "-", month, ".csv.zip") csv <- stri_join("./spots/wsprspots-", year, "-", month, ".csv") if ( ! file.exists(csv) ) { message(message(stri_join("Downloading: ", zip))) download.file(url, zip, method = "curl") unzip(zip, exdir = "./spots") file.remove(zip) } message(stri_join("Reading: ", csv)) spots <- read.csv(csv, header = FALSE, stringsAsFactors = FALSE, col.names = c("id", "ts", "dst.call", "dst.grid", "snr", "freq", "src.call", "src.grid", "pwr", "drift", "km", "az", "band", "ver", "code"), colClasses = c("integer", "integer", "character", "character", "integer", "numeric", "character", "character", "integer", "integer", "integer", "integer", "integer", "character", "integer")) # Generate POSIXlt from decimal. spots$ts <- as.POSIXlt(spots$ts, origin = "1970-01-01", tz = "GMT") # UCASE call signs and grids. spots$src.call <- toupper(spots$src.call) spots$src.grid <- toupper(spots$src.grid) spots$dst.call <- toupper(spots$dst.call) spots$dst.grid <- toupper(spots$dst.grid) # Dump zero-distance spots. spots <- spots[spots$km > 0,] # Save as RData for future quick load. save(spots, file = rdata) file.remove(csv) } spots } bandname <- list() bandname[[28]] <- "10M" bandname[[14]] <- "20M" bandname[[7]] <- "40M" rdata <- "./spotinfo.RData" if ( file.exists(rdata) ) { message(stri_join("Loading: ", rdata)) load(rdata) } else { spotinfo <- NULL year <- 2014 for ( month in c(7, 1) ) { spots <- GetSpots(year, month) for ( band in c(28, 14, 7) ) { # Trim to band of interest and remove ground wave (~100 miles/160km) spots. tmp <- spots[spots$band == band & spots$km > 160, c("ts", "src.call", "km")] # We will soon rely on the fact that all spots are transmitted on the top of the # minute - i.e. at YYYY-MM-MM HH:MM:00. (Note 00 seconds.) Verify. stopifnot(0 == sum(spots$ts$sec != 0)) # Convert timestamp to character as dplyr can't sort on POSIXlt. tmp$tsc <- as.character(tmp$ts) tmp$ts <- NULL # Group by src.call and timestamp. I.e. group all receptions of a single transmission. g <- group_by(tmp, src.call, tsc) # Keep only the most distant reception for each transmission. s <- summarise(g, km.max = max(km, na.rm = TRUE)) # Build data frame such that we can use ggplot2 facets. spotinfo <- rbind(spotinfo, data.frame(Month = month.name[month], Band = bandname[[band]], vals = s$km.max)) } } save(spotinfo, file = rdata) } g <- ggplot(spotinfo, aes(x = vals)) + geom_density(data = spotinfo, alpha = 0.3, aes(x = vals, group = Month, colour = Month)) + facet_grid(Band ~ .) + scale_color_brewer(palette="Set1") + # Title not required, use caption in Wikipedia to describe. # ggtitle("Density Distribution of WSPR Spots\nJanuary 2014 vs July 2014\n(using only most distant reception per spot)") + xlab("Kilometers") + ylab("Density") + theme(axis.title.x = element_text(size = rel(1.25))) + theme(axis.title.y = element_text(size = rel(1.25))) + theme(strip.text.y = element_text(angle = 0, face = "bold", size = rel(1.5))) g svg("./WSPR 2014.svg", width = 6, height = 5) g dev.off()
Licencia
Yo, el titular de los derechos de autor de esta obra, la publico en los términos de la siguiente licencia:
Este archivo está disponible bajo la licencia Creative Commons Attribution-Share Alike 4.0 International.
- Eres libre:
- de compartir – de copiar, distribuir y transmitir el trabajo
- de remezclar – de adaptar el trabajo
- Bajo las siguientes condiciones:
- atribución – Debes otorgar el crédito correspondiente, proporcionar un enlace a la licencia e indicar si realizaste algún cambio. Puedes hacerlo de cualquier manera razonable pero no de manera que sugiera que el licenciante te respalda a ti o al uso que hagas del trabajo.
- compartir igual – En caso de mezclar, transformar o modificar este trabajo, deberás distribuir el trabajo resultante bajo la misma licencia o una compatible como el original.
Elementos representados en este archivo
representa a
Algún valor sin elemento de Wikidata
6 nov 2015
Historial del archivo
Haz clic sobre una fecha y hora para ver el archivo tal como apareció en ese momento.
Fecha y hora | Miniatura | Dimensiones | Usuario | Comentario | |
---|---|---|---|---|---|
actual | 23:21 6 nov 2015 | 540 × 450 (136 kB) | Kaizen Dave | Removed cryptic title from graphic as there is ample room to describe graphic in Wikipedia caption. | |
19:17 6 nov 2015 | 540 × 450 (163 kB) | Kaizen Dave | User created page with UploadWizard |
Usos del archivo
La siguiente página usa este archivo:
Uso global del archivo
Las wikis siguientes utilizan este archivo:
- Uso en en.wikipedia.org
- Uso en it.wikipedia.org
Metadatos
Este archivo contiene información adicional, probablemente añadida por la cámara digital o el escáner usado para crearlo o digitalizarlo.
Si el archivo ha sido modificado desde su estado original, pueden haberse perdido algunos detalles.
Anchura | 432pt |
---|---|
Altura | 360pt |
Obtenido de «https://es.wikipedia.org/wiki/Archivo:WSPR_2014.svg»