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
0
votes
1 answer

2 series barplot ggplot2 or Openair

I am trying to create a bar plot of air quality data. I want Monitoring Site on the X-axis, and the concentration of 2 pollutants measured at each site against the y-axis, e.g. at the London site I measured 5 ng/m3 of antimony (series 1) and 10…
Sg1
  • 1
  • 2
0
votes
1 answer

WCF service raises System.IO.InvalidDataException

I try to connect to the NetSuite OpenAir API from a .NET console application using a WCF client. I generated the proxy by adding a service connection and using the following WSDL: http://sandbox.openair.com/wsdl.pl?wsdl&style=document Logging in and…
0
votes
1 answer

Use timeAverage for column

I have a problem, I want to get the daily accumulations of the precipitation variable with the command timeAverage of package openair, so I try this: CovTemp <- read.table("CovPrec", header = TRUE, sep = ";", stringsAsFactors = FALSE, dec = ",",…
0
votes
1 answer

R openair installation fails after upgrade to MRAN 3.4.1

I've been using the openair package on my mac with Rstudio and MRAN v 3.4 for some time with no problem. I recently upgraded to MRA v 3.4.1 and am now getting the following messages, that ultimately end in an error. Suggestions on how to fix…
JerryN
  • 2,356
  • 1
  • 15
  • 49
0
votes
0 answers

Showing the 10th and 90th Percentiles using boxplot()

I'm trying to use the boxplot() function in R to show the 10th and 95th percentiles, rather than the 1.5*IQR by default. People have provided solutions on this forum but none of them seem to work for me. For all my initial few box plots I used…
0
votes
1 answer

How do I plot a Wind Rose in R?

I want to plot a wind rose in R. I'm trying with the package "openair". My database is in degrees/10 (within 0 and 36), if I plot this values (but it doesn't make sense), it works. But if i real degrees (degrees*10) it says: Error in e2[[j]] : out…
0
votes
1 answer

How to calculate mean in a dataframe?

I have this data frame below for an example: key_date Particles PM timestamp date airport ws wd tempi humidity 1 2017-04-25 0.0000000 0.000000 1.493132e+12 2017-04-25 15:45:53 NA NA NA NA 2 2017-04-25…
Run
  • 54,938
  • 169
  • 450
  • 748
0
votes
1 answer

what is the difference between polarPlot and pollutionRose in openair package in R

I am working on a case from a paper talking about a decomposition method to quantitatively differentiate wind and non-wind effect on HK air pollution. One case in the paper need to draw wind rose and pollution rose to analyze the wind influencing…
0
votes
1 answer

Plot back trajectory in openair using own data

I am trying to make back trajectory plots in openair package (R), using data I have made myself (using Hysplit and R/openair). I get an error: "Error in abs(mydata$len) : non-numeric argument to mathematical function". My code (reading in…
lost in R
  • 55
  • 11
0
votes
1 answer

Openair: calendarPlot not reading dataframe

I am trying to use the calendarPlot function in the openair package in R. If I load the mydata dataframe that comes with the package and run the following code it works fine: calendarPlot(mydata, pollutant = "co", year = 2003) mydata dataframe…
craigmc_2000
  • 35
  • 1
  • 8
0
votes
1 answer

How to save the WindRose plot result as summary table?

library("openair") library("plyr") I have the following the line code and I need to summarize the result from the WindRose plot in compass values (i.e. N=1000,NE-6859,W=9585,etc). The function is based on the package openair. I do not know how to…
gmoazocar
  • 21
  • 1
  • 6
0
votes
0 answers

windRose with Package openair

I am trying to plot Windrose using package openair. I have used a simple code and i am getting the error "Subscript out of bound". I couldn't figure out what the error means. Here, Obs_WR is my data and ws and wd are the column names for wind speed…
Shreta Ghimire
  • 1,019
  • 2
  • 13
  • 27
0
votes
1 answer

Error: Index out of bounds when using windRose function in Openair package on Mac Yosemite 10.10.2

I can't use windRose (or even pollutionRose) in R (Rstudio) because of the Error: index out of bounds error even when applying on the included dataset (mydata) with the package. I reinstalled and loaded dplyr, lazyeval, maps packages just in case…
Yusri
  • 282
  • 1
  • 4
  • 16
0
votes
1 answer

"Error: 'by' is NA" using ddply and rollingMean

I'm trying to calculate 8-hour rolling means using a ddply + rollingMean command on a pollutant data frame that looks something like this: df1 date co code 2000-01-17 01:00:00 0.97000 42 2000-01-17 02:00:00 0.97000 42 2000-01-17…
ccl
  • 11
  • 2
0
votes
0 answers

timezone in openair aggregate

As a R learner, I'm using "timeAverage" function in the "openair" package to aggregate my hourly data into daily basis. My data is in EST timezone, and I would like to have my results in EST timezone as well. This is the code I use, pretty…
Vicki1227
  • 489
  • 4
  • 6
  • 19