RCMIP5: Tools for Manipulating and Summarizing CMIP5 Data

Share:

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.

Author
Ben Bond-Lamberty [aut], Kathe Todd-Brown [aut, cre]
Date of publication
2016-07-30 18:53:27
Maintainer
Kathe Todd-Brown <ktoddbrown@gmail.com>
License
MIT + file LICENSE
Version
1.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

Files in this package

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