Difference between revisions of "Using R to analyze GEOS-Chem data"

From Geos-chem
Jump to: navigation, search
Line 15: Line 15:
 
   get_stat.R
 
   get_stat.R
 
The files include detailed instructions for each function. They can be used by sourcing in the R environment:
 
The files include detailed instructions for each function. They can be used by sourcing in the R environment:
   >source('get_geo.R')
+
   > source('get_geo.R')
  
 
I have also included an introductory guide to R for MATLAB users:
 
I have also included an introductory guide to R for MATLAB users:

Revision as of 22:53, 5 September 2012

On this page we include a tutorial about how to use the R programming language to analyze GEOS-Chem data.

A. Tai wrote (Sep 2012):

I have prepared a tutorial for using R to analyze GEOS-Chem and atmospheric data in the file:

  R_Intro_for_Atmos_Sci.R

with test data:

  PM25_met_Ohio_201007.txt
  PM25_T_daily_US_201007.RData

I have also written many R functions suitable for analyzing 2D and 3D GEOS-Chem, EPA and meteorological data in these source files:

  get_EPA.R
  get_geo.R
  get_met.R
  get_stat.R

The files include detailed instructions for each function. They can be used by sourcing in the R environment:

  > source('get_geo.R')

I have also included an introductory guide to R for MATLAB users:

  R_for_MATLAB_Users.pdf

All the files above are included in a single zip file which can be downloaded here: https://dl.dropbox.com/u/2485687/R_Intro_for_Atmos_Sci.zip