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
0 answers

What does a .gbl file contain?

I have to work in R with .gbl files. So far I'm using NOAA .gbl files, but I'm looking to generate my own. I have been working with R openair and purr libraries. I know that I can use purr::walk() function to work with the files, but that still…
0
votes
0 answers

Plot with ‘openair’ package using grouped data

I am trying to do a trending analysis of air pollution data. My data is in the form (with more dates, some values of PM10 are NA): structure(list(NetC = c("Cosenza Provincia", "Cosenza Provincia", "Cosenza Provincia", "Cosenza Provincia", "Cosenza…
0
votes
0 answers

How to shade part(s) of the timePlot in Openair package

I am new to r and openair package. I am trying to use timePlot for time series figure. I need to shade part(s) of the plot for specific events at these periods. Openair method based on latticeExtra package but doesn't work at all. Always the results…
0
votes
0 answers

Is there a proper code to plot Cluster Analysis of combined height TrajStat data (.csv file including height, pressure, date, lat, lon, hour.inc)?

I am writing the same code for the files with 100, 500, and 1500 m height and the code works. However, when I write this code for the combined height data file, the code is not working and it gives error as "lower.to.upper.tri.inds(n) : 'n' must be…
0
votes
0 answers

How to fix 'Error during wrapup: cannot allocate vector of size 44.2 Mb?'

I got the error during binding some output files coming from hysplit trajectory model: Error during wrapup: cannot allocate vector of size 44.2 Mb Error: no more error handlers available (recursive errors?); invoking 'abort' restart I tried to…
AgungGK
  • 85
  • 7
0
votes
1 answer

multiple taylor diagram error _Error in unit(0.5 * showr, "strwidth", list(right)) : no string supplied for 'strwidth/height' unit

I am using TaylorDiagram to have 4 plots of 4 sites in one panel. However when I run my code it only shows the first plot. This is my code: TaylorDiagram(mod.dat_all, obs = "obs", mod = "sim", type = "site") I have three columns in "mod.dat_all: obs…
0
votes
1 answer

Filtering data based on the conditional timestamp range in R

I have a dataset of 10min averages. I trying to filter out the data based on a set of conditions such as when 24-hour-Rolling Average is greater than a certain number and another column (wind direction) is between a certain range for any 12 or more…
0
votes
0 answers

openair function windRose() and I keep getting an error (seems to be related to column names maybe

I am trying to create a windrose using the windRose() function in the openair package in R. My data is in a dataframe called "data" which I uploaded from a .csv as as follows: ws wd 48.73114346 283.0710393 61.49549084 …
0
votes
0 answers

Removing data points outside of working hours (based on time stamps)

So every second I have a sensor that makes a data point unless it is charging, so I can have up to 86400 data points a day, is it possible to remove the data points outside of a certain time range (7am-5pm) and weekends as well? Here is what I've…
0
votes
0 answers

Error in seq.int(0, to0 - from, by) : 'to' must be a finite number. What should I do now?

I am trying to plot a summary plot for air pollution data but I'm facing this issue Error in seq.int(0, to0 - from, by) : 'to' must be a finite number In addition: Warning messages: 1: Unknown or uninitialised column: `date`. 2: Unknown or…
0
votes
1 answer

R: Splitting a Time Series into custom seasons

I have a time Series DataFrame: [https://www.dropbox.com/s/elaxfuvqyip1eq8/SampleDF.csv?dl=0][1] My intention is to divide this DataFrame into different seasons according to: winter: Dec Jan Feb Pre-monsoon: Mar Apr May Jun15 (i.e. till 15th of…
Peshal1067
  • 183
  • 1
  • 10
0
votes
1 answer

R: Customizing seasons for windRose plot in Openair

I am trying to plot a wind rose plot of a site using openair package in R. The code snippet is: windRose(df, type = "season", paddle = F, key.position = "right") and the plot is: We know, this package openair considers seasons DJF as winter, MAM…
Peshal1067
  • 183
  • 1
  • 10
0
votes
1 answer

cannot calculte wind direction means with "timeAverage" function in openair

i'm working on a project where I use the openair project. Specifically, I want to use the "timeAverage" function to average a dataset at daily time step, but when performing such a task, the variable wind direction won't be extracted. Here is the R…
0
votes
1 answer

How change the scale and labels of key in openair::scatterPlot

I want to know how to control the key scale in scatterplot with 3 axis in the openair package. When I make scatter plot, the key scale is randomly applied according to data. I want to fix the key scale to 0~100 %…
0
votes
0 answers

How to renumber and colour of each Clusters in Back trajectory cluster analysis in Openair package in R so that they are consistently?

I meet a problem and I don't know how to do it. I would like to output 2014-2018 back trajectories cluster results. But the clusters are not consistently from the same region in each year. I would like to renumber and color the cluster so that the…