zhifzhang / foqat

Field observation quick analysis toolkit (kw: field observation, air polltion, time series summary, time series resampling, average variation, ozone formation potential (OFP), MIR, tuv).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FOQAT

Language GPLv3 license Version

Overview

The FOQAT is an R package designed for quick processing and analysis of atmospheric data measured from field observation and air pollution. And the functions for time series analysis could also applied to time serires of any other fileds.

The FOQAT stands for "Filed observation quick analysis toolkit".

The FOQAT package is developed and maintained by Chen Tianshu from Professor Xue Likun's research group of Environmental Research Institute of Shandong University.

For getting start or detail usage, please visit: user manual or 说明手册 .

If FOQAT is used to support a scientific publication, please cite the following reference:

Tianshu Chen: Filed Observation Quick Analysis Toolkit (FOQAT), available at: https://github.com/tianshu129/foqat (last access: 12 July 2020), 2020.

In addition, please send an email to me so that the paper may be added to my 'List of Publications Using FOQAT'.

As far as I know, FOQAT has users from:

  • Chinese Research Academy of Environmental Sciences (CRAES)
  • Chinese Academy of Meteorological Sciences (CAMS)
  • Research Center for Eco-Environmental Sciences (RCEES) for Chinese Academy of Sciences (CAS)
  • Anhui Institute of Optics and Fine Mechanics (AIOFM) for Chinese Academy of Sciences (CAS)
  • Peking University (PKU)
  • City University of Hong Kong (CityU)
  • The Hong Kong Polytechnic University (PolyU)
  • Shandong University (SDU)

Installation

# Install from GitHub:
install.packages("remotes")
remotes::install_github("tianshu129/foqat")

Functions

Functions in foqat are listed below:
statdf: summary each variable of dataframe into: mean, sd, min, max, percentiles (25%, 50%, 75%).
trs: resample time series and return complete time series with new time resolution.
avri: calculate average of variation of time series.
anylm: analyse linear regression for time series in batch.
dm8n: calculate daily maximum-8-hour ozone.
vocct: convert and analyse VOC concentrations
ofp: calculate ozone formation potential (OFP) of VOC time series.
MIR values are refered from "Carter, W. P. (2009). Updated maximum incremental reactivity scale and hydrocarbon bin reactivities for regulatory applications. California Air Resources Board Contract, 2009, 339" (Revised January 28, 2010).
koh: search kOH value from 'chemspider.com'. Predicted data is generated using the US Environmental Protection Agency’s EPISuite.
loh: calculate OH reactivity (LOH) of VOC time series. kOH value is generated using the US Environmental Protection Agency’s EPISuite "AOPWIN".
openaq: process the historical data from openaq.org retrieved by AWS Athena.
tuv: run offline batch calculation of TROPOSPHERIC ULTRAVIOLET AND VISIBLE (TUV) RADIATION MODEL.
Currently, this function only support output of photolysis rate coefficients (J-values). If you want to know detail about each function, please type ?functionname in R. Below is an example:

library(foqat)
?dm8n

QUESTION OR FEEDBACK

Click the link to ask questions and give feedback: ☛ https://github.com/tianshu129/foqat/issues/new
Please send email to: tianshu129@163.com

Link

Personal Academic Site
ResearchGate
Google Scholar
Twitter
zhihu-shield

Donation

The project took a lot of time and effort. If this project is helpful to you, you are welcome to donate. Thank you very much:
Wechat Pay
支付

About

Field observation quick analysis toolkit (kw: field observation, air polltion, time series summary, time series resampling, average variation, ozone formation potential (OFP), MIR, tuv).

License:GNU General Public License v3.0


Languages

Language:R 100.0%