Questions tagged [openair]

The openair project aims to provide a collection of open-source tools for the analysis of air pollution data.

The openair project is a Natural Environment Research Council (NERC) knowledge exchange project that aims to provide a collection of open-source tools for the analysis of air pollution data.

From the openair website, the project is described thus:

An enormous amount of air pollution data is collected worldwide and the amount of data collected continues to increase.

...

Improved information concerning the sources and nature of air pollution will help lead to the development of better policies for controlling air pollution.

The analysis of air pollution data can however be difficult. Often there is a lack of knowledge concerning what types of technique are available (there are many), the tools required to carry out analyses can be spread across many different types of software, or are expensive. In general, a consistent set of tools for air quality data analysis does not exist.

The openair project aims to address these issues by:

  • Providing a free, open-source set of tools available to everyone
  • Making available a range of existing techniques and developing new ones for the analysis of air pollution data
  • Using the statistical/data analysis software R as a platform – a powerful, open-source programming language ideal for insightful data analysis
  • Making it easy to carry out sophisticated analyses quickly, in an interactive and reproducible way
  • Encourage the air quality community to use and help further develop these tools

Links

96 questions
1
vote
1 answer

Arrange openair plots in a grid

I'd like to arrange a series of plot generated through the openair package in a grid. Here's an example from the openair book library(openair) polarPlot(mydata, poll = "so2", stati = "cpf", percentile = c(0, 10)) polarPlot(mydata, poll = "so2",…
Thomas Speidel
  • 1,369
  • 1
  • 14
  • 26
1
vote
1 answer

Add Space Between Panels of Openair windRose Plots

I created some windrose plots using the openair package and I'm pretty happy with how they turned out but aesthetically it would be nice to have some space between panels. Here's an example: # windrose…
dandrews
  • 967
  • 5
  • 18
1
vote
1 answer

Customized WindRose

I am new in Rstudio. I am using library(openair) to plot a seasonal WindRose. I would like to know how I can change from English to spanish when I plot it and also how to set the season. I mean, summer should be DJF and in the image it is JJA.…
1
vote
1 answer

How to extract multiple 5-minute averages from a data frame based on specified start time?

I have second-by-second data for channels A, B, and C as shown below (this just shows the first 6 rows): date A B C 1 2020-03-06 09:55:42 224.3763 222.3763 226.3763 2 2020-03-06 09:55:43 224.2221 222.2221…
1
vote
1 answer

Overlay plot on map background in R

I want to make a windrose plot on a specific location. Windrose can be plot with openair package library(openair) windRose(mydata, "ws", "wd") or with ggplot using this function. What I am looking for, a nice way to overlay this plot on a map. I…
ajilesh
  • 299
  • 3
  • 13
1
vote
1 answer

Taylor diagram with negative correlation (left quadrant)

I am trying to plot a Taylor diagram in R. The data I am working with give negative correlations. These should be plotted on the left quadrant of a Taylor diagram, but this is not happening with the package I am using called openair. It seems that…
Michel Mesquita
  • 743
  • 7
  • 17
1
vote
1 answer

Include windspeed and pollution in pollutionrose

I would like to include the wind speed and the pollution variable together in one pollutionrose or windrose. The function windrose() or pollutionrose() only enables to include data series instead of wind speed. The graph should show the pollution…
Theresa M.
  • 77
  • 1
  • 7
1
vote
2 answers

Changing the font size of multipanel Taylor plot using openair package in R

I have created a multipanel Taylor plot using openair package. I want to change the font size of 'correlation' and 'observed' and make it sentence case. I have used the following code: TaylorDiagram(data, obs = "Observed", mod = "Predicted", group =…
UseR10085
  • 7,120
  • 3
  • 24
  • 54
1
vote
0 answers

"argument "x" is missing, with no default" in openair package

I want to calculate Cluster with the 'Openair' package. I read the trajectory data with: traj_2010 <- read.csv("C:/Users/stieger/Trajektorien/traj_10.csv", header=TRUE) traj_2010$date <- as.POSIXct(strptime(traj_2010$date, format="%Y-%m-%d %H:%M",…
1
vote
1 answer

Plot wind rose in R?

I have a simple Frequency and mean wind speed in 12 sector. How do I plot this data as wind rose (I do not want to use plot_ly) ! DF = structure(list(Sector = c("0-N", "1-NNE", "2-ENE", "3-E", "4-ESE", "5-SSE", "6-S",…
Haribo
  • 2,071
  • 17
  • 37
1
vote
1 answer

Error - unable to compute hourly averages using timeAverage() function

I am trying to calculate the hourly averages (January 2014) of a dataset using timeAverage() function. The command looks like follows: AQHr <- timeAverage(my_data, avg.time = "hour", data.thresh = 0, statistic = "mean",…
khajlk
  • 791
  • 1
  • 12
  • 32
1
vote
0 answers

Wind roses overlayed on map

I have wind data from multiple weather stations and I have the coordinates of the each weather station. I want to overlay wind roses from each station over a map using the stations' lat and long. Is there a straight forward way of doing this in R?…
Nasrin
  • 11
  • 3
1
vote
0 answers

Specify the value where colours change in the key

I am plotting pollution data, and have multiple plots with the same axis on a colour scheme. Because there are a few high peaks in the data, it's throwing the rest of the colour chart off where most of the key is one colour, and the rest of the…
Imogen
  • 41
  • 1
  • 1
  • 3
1
vote
0 answers

timeAverage remove certain column off a data frame

Why does openair timeAverage remove certain column off a data frame? For instance I have this data frame: > dput(Df) structure(list(key_date = c("2017-04-30", "2017-05-01", "2017-05-01", "2017-05-01", "2017-05-01", "2017-05-01", "2017-05-01",…
Run
  • 54,938
  • 169
  • 450
  • 748
1
vote
1 answer

How change the scale and labels in scatterPlot of the openair package of R

How to change the labels of the values on the x-axis of a scatterPlot of the openair package? And how to change the scale on this x-axis?
Dani Depi
  • 313
  • 3
  • 16