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
11
votes
2 answers

R - cannot find -llapack & cannot find -lblas

I can't install openair for some reasons: sudo su - -c "R -e \"devtools::install_github('davidcarslaw/openair')\"" Result: Installing package into ‘/usr/local/lib/R/site-library’ (as ‘lib’ is unspecified) * installing *source* package ‘openair’…
Run
  • 54,938
  • 169
  • 450
  • 748
10
votes
2 answers

OpenAI gym player mode

Does anyone know how to run one of the OpenAI gym environments as a player. As in letting a human player play a round of cart pole? I have seen that there is env.mode = 'human' but I have not been able to get it to run properly. I have tried to…
4
votes
1 answer

R Markdown Shiny renderPlot list of plots from lapply

I am developing an R Markdown Shiny document to: Subset a data frame to include the "date" column and some numeric data columns. The way the shiny user input is set up, you select radio buttons for the data columns to include, then hit the "Subset…
chaganoff
  • 53
  • 1
  • 7
3
votes
1 answer

Error in setwd(bundleDir) : cannot change working directory

Can I develop a R Shiny app that requires other packages? For instance, ui.R, shinyServer( pageWithSidebar( headerPanel("Shiny App"), sidebarPanel("side bar"), mainPanel( plotOutput("myPlot") ) …
Run
  • 54,938
  • 169
  • 450
  • 748
3
votes
1 answer

Increase font size when using 'openair' package to draw wind rose diagram?

I'm having difficulties changing font sizes in the wind rose diagram produced by the openair package. The windRose plots all right. But the documentation for the package does not seem to specify how to change the font sizes for the title, labels and…
RookieGreen
  • 31
  • 1
  • 2
2
votes
0 answers

Adding different labels to each point on a Taylor diagram

I was trying to plot Taylor diagram to compare original and bias-corrected rainfall for five rain gauge stations using 'openair' package. The plotting is okay, but I want to label each point by their name for same for each panel. How can I do that?…
Khairul
  • 21
  • 4
2
votes
1 answer

Show year in x axis labels in timePlot() function

I found one relevant question here, but my story is different. Using R OpenAir package, I am trying to create some beautiful timeseries plots (time period: December 2014 - May 2015). Here is the code: timePlot(data, pollutant=c("NO_predicted",…
khajlk
  • 791
  • 1
  • 12
  • 32
2
votes
1 answer

Error in object[[name, exact = TRUE]] : subscript out of bounds

I have these data: > dput(dataF) structure(list(key_date = c("2016-09-01", "2016-09-01", "2016-09-01", "2016-09-01", "2016-09-01", "2016-09-01", "2016-09-01", "2016-09-01", "2016-09-01", "2016-09-01", "2016-09-01", "2016-09-01", "2016-09-01",…
Run
  • 54,938
  • 169
  • 450
  • 748
2
votes
1 answer

Plot different colours based on the conditions

This is the first 10 rows of my data frame: head(test.data,10) # A tibble: 10 x 5 date o2.permeg co2.ppm apo o2.spike
Tung Linh
  • 321
  • 1
  • 2
  • 16
2
votes
1 answer

Add text in windrose plot

Does anyone know how to add addition text and expand its character in any desired position in windrose plot in R? I am using the the package openair for plotting windrose diagram. Consider the following code that I am using:…
user2968058
  • 25
  • 2
  • 11
2
votes
0 answers

Align the text of main, sub, and xlab to the left

How can I left-align the text of main, sub, and xlab on openair? timePlot( main = 'Liberty E -9', sub = 'Time Period: September 30, 2014 - June 30, 2015', allData, pollutant = c('PM2.5', 'humidity'), avg.time = '1 hour', lwd…
Run
  • 54,938
  • 169
  • 450
  • 748
2
votes
2 answers

Aggregate df based on columns and group result

I am trying to do the following, my dataset looks like this it contains a date in POSIXct format, hourly windspeed and hourly wind direction (df is called wind_DNSeason). My goal is to get frequency counts of windspeed according to the beaufort…
user1807857
  • 409
  • 1
  • 5
  • 12
2
votes
3 answers

Clean bad data automatically

I am building an App using shiny and openair to analyze wind data. Right now the data needs to be “cleaned” before uploading by the user. I am interested in doing this automatically. Some of the data is empty, some of is not numeric, so it is not…
eliavs
  • 2,306
  • 4
  • 23
  • 33
1
vote
1 answer

How the wind rose varies by month: Package openair

I have date for 8 years. Sample of my data: structure(list(Data = c("1/1/2015", "1/2/2015", "1/3/2015", "1/4/2015", "1/5/2015", "1/6/2015", "1/7/2015", "1/8/2015", "1/9/2015", "1/10/2015", "1/11/2015", "1/12/2015", "1/13/2015", "1/14/2015",…
1
vote
0 answers

R/Open air Error in seq.int(0, to0 - from, by) : 'to' must be a finite number

I am trying to use the function "Summaryplot" from the Openair Package in R. But everytime I tried to use it with the next data matrix, you only have to use the next code to extract the info: structure(list(Fecha = structure(c(1577840400,…
1
2 3 4 5 6 7