RCMIP5: Tools for Manipulating and Summarizing CMIP5 Data

Working with CMIP5 data can be tricky, forcing scientists to write custom scripts and programs. The `RCMIP5` package aims to ease this process, providing a standard, robust, and high-performance set of scripts to (i) explore what data have been downloaded, (ii) identify missing data, (iii) average (or apply other mathematical operations) across experimental ensembles, (iv) produce both temporal and spatial statistical summaries, and (v) produce easy-to-work-with graphical and data summaries.

Install the latest version of this package by entering the following in R:
install.packages("RCMIP5")
AuthorBen Bond-Lamberty [aut], Kathe Todd-Brown [aut, cre]
Date of publication2016-07-30 18:53:27
MaintainerKathe Todd-Brown <ktoddbrown@gmail.com>
LicenseMIT + file LICENSE
Version1.2.0

View on CRAN

Man pages

addProvenance: Add provenance information to a cmip5data object

as.array.cmip5data: Convert a cmip5data object to an array

as.data.frame.cmip5data: Convert a cmip5data object to a data frame

calcGridArea: Calculate the grid cella area for a centered lat/lon grid

checkTimePeriod: Check for continuous time periods in CMIP5 files

cmip5data: The 'cmip5data' class

cmip5.weighted.mean: Alternative weighted mean

convert_array_to_df: Convert array format cmip5data to data frame format

filterDimensionLat: Filter latitude dimension.

filterDimensionLon: Filter longitude dimension.

filterDimensions: Filter dimensions, limiting to arbitrary lon/lat/Z/time...

filterDimensionTimeMonths: Filter time (months) dimension.

filterDimensionTimeYears: Filter time (years) dimension.

filterDimensionZ: Filter Z dimension.

getFileInfo: List all CMIP5 files in a directory tree

getProjectionMatrix: Calculate projection matrix to translate one grid to another

loadCMIP5: Load CMIP5 data

loadEnsemble: Load a unique CMIP5 ensemble

makeAnnualStat: Compute annual statistic of a variable

makeGlobalStat: Compute global statistic of a variable

makeMonthlyStat: Compute monthly statistic of a variable

makePackageData: Make package datasets and write them to disk.

makeZStat: Compute Z-dimension statistic of a variable

mergeExperiments: Merge data for two separate experiments

nvals: Return number of data values

print.cmip5data: Print a 'cmip5data' class object.

print.summary.cmip5data: Print the summary for a 'cmip5data' class object.

RCMIP5: Tools for Manipulating and Summarizing CMIP5 Data

regrid: Project the values of a 'cmip5data' object onto a new grid

restoreMissingDims: Restore missing and/or degenerate dimensions in the data

saveNetCDF: Save a cmip5data object to NetCDF format

summary.cmip5data: Summarize a 'cmip5data' class object.

vals: Return data values

worldPlot: Plot global data

Functions

addProvenance Man page
as.array.cmip5data Man page
as.data.frame.cmip5data Man page
calcGridArea Man page
checkTimePeriod Man page
cmip5data Man page
cmip5.weighted.mean Man page
convert_array_to_df Man page
filterDimensionLat Man page
filterDimensionLon Man page
filterDimensions Man page
filterDimensionTimeMonths Man page
filterDimensionTimeYears Man page
filterDimensionZ Man page
getFileInfo Man page
getProjectionMatrix Man page
loadCMIP5 Man page
loadEnsemble Man page
makeAnnualStat Man page
makeGlobalStat Man page
makeMonthlyStat Man page
makePackageData Man page
makeZStat Man page
mergeExperiments Man page
nvals Man page
print.cmip5data Man page
print.summary.cmip5data Man page
RCMIP5 Man page
RCMIP5-package Man page
regrid Man page
restoreMissingDims Man page
saveNetCDF Man page
summary.cmip5data Man page
vals Man page
worldPlot Man page

Files

inst
inst/CITATION
inst/doc
inst/doc/atmospheric_co2.html
inst/doc/atmospheric_co2.Rmd
inst/doc/atmospheric_co2.R
tests
tests/testthat.R
tests/testthat
tests/testthat/test_loadCMIP5.R tests/testthat/test_RCMIP5.R tests/testthat/test_calcGridArea.R tests/testthat/test_getFileInfo.R tests/testthat/test_makeZStat.R tests/testthat/test_chainedOperations.R
tests/testthat/testdata_twoensembles
tests/testthat/testdata_twoensembles/var_d_m_ex_e1_200101-200112_RCMIP5.nc
tests/testthat/testdata_twoensembles/var_d_m_ex_e2_200101-200112_RCMIP5.nc
tests/testthat/test_makeGlobalStat.R tests/testthat/test_filterDimensions.R
tests/testthat/testdata_mismatch
tests/testthat/testdata_mismatch/dummyvar_d_b_c_e1_185001-185012_RCMIP5.nc
tests/testthat/testdata_mismatch/dummyvar_d_b_c_e2_185101-185112_RCMIP5.nc
tests/testthat/test_addProvenance.R
tests/testthat/testdata_twodomains
tests/testthat/testdata_twodomains/co3_Amon_fakemodel1-ES_rcp85_r1i1p1_2171-2172.nc
tests/testthat/testdata_twodomains/co3_Oyr_fakemodel1-ES_rcp85_r1i1p1_2171-2172.nc
tests/testthat/test_checkTimePeriod.R tests/testthat/test_makeAnnualStat.R
tests/testthat/testdata_badfilename
tests/testthat/testdata_badfilename/invalid_file.nc
tests/testthat/test_mergeExperiments.R tests/testthat/test_worldPlot.R tests/testthat/test_makeMonthlyStat.R tests/testthat/test_regrid.R
tests/testthat/testdata_shortFreq
tests/testthat/testdata_shortFreq/co3_A3hr_fakemodel1-ES_rcp85_r1i1p1_2171-2172.nc
tests/testthat/testdata_shortFreq/co3_A3hr_fakemodel1-ES_rcp85_r1i1p1_2173-2174.nc
tests/testthat/testdata_none
tests/testthat/testdata_none/foo
tests/testthat/test_saveNetCDF.R
tests/testthat/testdata_missingfile
tests/testthat/testdata_missingfile/prc_Amon_fakemodel2-CM3_rcp85_r1i1p1_207101-207512.nc
tests/testthat/testdata_missingfile/prc_Amon_fakemodel2-CM3_rcp85_r1i1p1_208101-208512.nc
tests/testthat/testdata_missingfile/co3_Oyr_fakemodel1-ES_rcp85_r1i1p1_2174-2175.nc
tests/testthat/testdata_missingfile/co3_Oyr_fakemodel1-ES_rcp85_r1i1p1_2171-2172.nc
tests/testthat/test_loadEnsemble.R
tests/testthat/testdata_overlap
tests/testthat/testdata_overlap/var_d_m_ex_en_200201-200412.nc
tests/testthat/testdata_overlap/var_d_m_ex_en_200001-200212.nc
tests/testthat/test_cmip5data.R
NAMESPACE
demo
demo/00Index
demo/RCMIP5.R
NEWS
R
R/filterDimensions.R R/makeGlobalStat.R R/loadCMIP5.R R/addProvenance.R R/makeMonthlyStat.R R/makeZStat.R R/calcGridArea.R R/checkTimePeriod.R R/getFileInfo.R R/worldPlot.R R/saveNetCDF.R R/loadEnsemble.R R/makeAnnualStat.R R/RCMIP5.R R/regrid.R R/mergeExperiments.R
vignettes
vignettes/atmospheric_co2.Rmd
README.md
MD5
build
build/vignette.rds
DESCRIPTION
man
man/calcGridArea.Rd man/cmip5data.Rd man/addProvenance.Rd man/as.array.cmip5data.Rd man/print.cmip5data.Rd man/convert_array_to_df.Rd man/filterDimensionZ.Rd man/vals.Rd man/filterDimensionTimeYears.Rd man/regrid.Rd man/print.summary.cmip5data.Rd man/summary.cmip5data.Rd man/filterDimensionLon.Rd man/loadEnsemble.Rd man/restoreMissingDims.Rd man/filterDimensionTimeMonths.Rd man/worldPlot.Rd man/saveNetCDF.Rd man/filterDimensionLat.Rd man/nvals.Rd man/as.data.frame.cmip5data.Rd man/makeZStat.Rd man/getProjectionMatrix.Rd man/RCMIP5.Rd man/mergeExperiments.Rd man/cmip5.weighted.mean.Rd man/makeGlobalStat.Rd man/getFileInfo.Rd man/loadCMIP5.Rd man/makeAnnualStat.Rd man/makeMonthlyStat.Rd man/filterDimensions.Rd man/makePackageData.Rd man/checkTimePeriod.Rd
LICENSE

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.