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

Compute average over 20 second intervals and group by another column

I'm working with a large dataset of different variables collected during the dives of elephant seals. I would like to analyze my data on a fine-scale (20 second intervals). I want to bin my data into 20 second intervals, basically I just want to get…
Shawn68
  • 19
  • 4
0
votes
1 answer

Fix color scale in openair::polarPlot()

Is there a way to fix the colour scale so it remains the same, for instance when producing multiple plots? I know once can use polarPlot(..., type = "year") but I don't want a grid of graphs as I'm trying to create an animation (I have cross-listed…
Thomas Speidel
  • 1,369
  • 1
  • 14
  • 26
0
votes
1 answer

not dealing properly with dates in R

I am trying to use selectByDate from openair package but got stuck in my second try I have A > A date x 23 1982-08-23 0.0 24 1982-08-24 0.0 25 1982-08-25 0.0 26 1982-08-26 9.3 27 1982-08-27 0.0 28 1982-08-28 0.2 29 1982-08-29 …
jpessoa
  • 1
  • 1
0
votes
1 answer

Changing language of season titles of pollutionRose from R Openair

I made a plot for season (summer, spring, autumn and winter) using pollutionRose from the openair package. Here is the code: library(openair) Sys.setlocale("LC_TIME", "Portuguese") pollutionRose(ASS_SO2, pollutant = "SO2", type ="season",…
0
votes
0 answers

Bivariate polar plots in python

I've recently found this great R library (openair) that allows plot bivariate (pollutants-wind, for example) polar plots such as this one in which are represented pollutants concentrations in function of wind speed and direction: This is the link…
0
votes
1 answer

Derive daily mean from high frequency measures

I have 15-min observations of air temperature Temp data that I would like to derive a daily mean for. I have been trying to use the openair package with the timeAverage function to get to this answer because it allows the user to set a minimum…
tassones
  • 891
  • 5
  • 18
0
votes
0 answers

How to select a subplot of the timeVariation function in OpenAir

I want to produce a plot showing diurnal variation per weekday and month. The timeVariation function produces the desired plot, along with three other subplots. This makes the subplot at the top hard to read: library(openair) mary <- importAURN(site…
ringgord
  • 65
  • 6
0
votes
1 answer

How to get rollingMean function in R package Openair to work?

I'm trying to get the 8 hour rolling mean for o3 using the rollingMean function using this code: mydata <- rollingMean(mydata, pollutant = "o3", hours = 8) breaks <- c(0, 34, 66, 100, 121, 141, 160, 188, 214, 240, 500) labels <- c("Low.1", "Low.2",…
0
votes
1 answer

Understanding the error message: spdlog::spdlog_ex

I am aware this question is very specific. Nontheless, maybe s.o. can help: I was trying to compile an open-source code today. (anyone, who's interested, that's the one.) The error message described below occurs after oai_hss -j…
Luk
  • 1,009
  • 2
  • 15
  • 33
0
votes
0 answers

How to sort data by two attribute types in timeAverage function

I have a dataset of bird locations and I would like to take a weekly average of these lat/long values, sorted by bird and by season. Here is an example of the data: datexample <- data.frame( "site" = c("A","B"), "bird" = c("1A","2A"), …
cgxytf
  • 421
  • 4
  • 11
0
votes
1 answer

Display alert message using Form Script in Netsuite OpenAir in Project record

I have written a "Form script" for Project record in Netsuite-OpenAir. I would like to display an alert message on clicking on the "Save" button in Project record. The code that I have currently written in the form script is: NSOA.meta.alert('Form…
0
votes
0 answers

Solved::Open air package error on summary plots, Error in as.POSIXct.default(x) :

upon giving the following command it gives and error related to time. I tried reading .CSV . column as date and time, still the problem was same. I am not sure what is the issue with dates or format. the date and time format for the data is…
jayesh
  • 3
  • 2
0
votes
1 answer

create scatter plot matrix with openair and hexbin

I've worked with the openair and hexbin packages to create two scatter plots with the help of the scatter plot function commands: scatterPlot(mydata, x ="Observed" , y = "Model1",xlab=10, ylab=10,method = "hexbin",mod.line=T,auto.text=F, col =…
0
votes
1 answer

Adding fire data as points with latitude and longitude values to air mass back trajectory plots produced using OpenAir package in R

I currently have a series of air mass back trajectory plots where are grid by the frequency of back trajectory crossings, produced using the OpenAir package for R. I would like to add to these plots points which indicate the location of fires. The…
R Ramsay
  • 130
  • 7
0
votes
1 answer

how to add my own shape file trajLevel() in openair package R

I am using this following code for plotting the trajectories........... library(openair) load("GDASNDL1000m.Rdata") trajLevel(traj,method="hexbin",col="jet",xbin=40,parameters=NULL, orientation=c(90,0,0),projection="mercator") result…