Package: PEcAn.data.atmosphere 1.9.1.9000

David LeBauer

PEcAn.data.atmosphere: PEcAn Functions Used for Managing Climate Driver Data

The Predictive Ecosystem Carbon Analyzer (PEcAn) is a scientific workflow management tool that is designed to simplify the management of model parameterization, execution, and analysis. The PECAn.data.atmosphere package converts climate driver data into a standard format for models integrated into PEcAn. As a standalone package, it provides an interface to access diverse climate data sets.

Authors:Mike Dietze [aut], David LeBauer [aut, cre], Carl Davidson [aut], Rob Kooper [aut], Deepak Jaiswal [aut], Chris Black [ctb], University of Illinois, NCSA [cph]

PEcAn.data.atmosphere_1.9.1.9000.tar.gz
PEcAn.data.atmosphere_1.9.1.9000.zip(r-4.7-any)PEcAn.data.atmosphere_1.9.1.9000.zip(r-4.6-any)PEcAn.data.atmosphere_1.9.1.9000.zip(r-4.5-any)
PEcAn.data.atmosphere_1.9.1.9000.tgz(r-4.6-any)PEcAn.data.atmosphere_1.9.1.9000.tgz(r-4.5-any)
PEcAn.data.atmosphere_1.9.1.9000.tar.gz(r-4.7-any)PEcAn.data.atmosphere_1.9.1.9000.tar.gz(r-4.6-any)
PEcAn.data.atmosphere_1.9.1.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
PEcAn.data.atmosphere/json (API)

# Install 'PEcAn.data.atmosphere' in R:
install.packages('PEcAn.data.atmosphere', repos = c('https://pecanproject.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/pecanproject/pecan/issues

On CRAN:

Conda:

climate-datadata-standardizationbayesiancyberinfrastructuredata-assimilationdata-scienceecosystem-modelecosystem-scienceforecastingmeta-analysisnational-science-foundationpecanplants

11.95 score 254 stars 14 packages 82 scripts 112 exports 155 dependencies

Last updated from:32cb323732. Checks:7 ERROR, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develERROR272
source / vignettesOK314
linux-releaseERROR276
macos-releaseERROR300
macos-oldrelERROR278
windows-develERROR235
windows-releaseERROR231
windows-oldrelERROR278
wasm-releaseOK429

Exports:.download.raw.met.module.extract.nc.module.met2model.moduleAirDensalign.metAmeriFlux_met_ensembleAverage_ERA5_2_GeoTIFFbuild_cf_variables_table_urlcfmet.downscale.dailycfmet.downscale.subdailycfmet.downscale.timecheck_met_input_fileclosest_xycos_solar_zenith_angledebias.metdebias.met.regressiondownload.Amerifluxdownload.AmerifluxLBLdownload.CRUNCEPdownload.ERA5_cdsdownload.FACEdownload.Fluxnet2015download.FluxnetLaThuiledownload.Geostreamsdownload.GFDLdownload.GLDASdownload.ICOSdownload.MACAdownload.MERRAdownload.MsTMIP_NARRdownload.NARRdownload.NARR_sitedownload.NEONmetdownload.NLDASdownload.NOAA_GEFSdownload.PalEONdownload.PalEON_ENSdownload.US_WCrdownload.US_Wlefdownscale_repeat_6hr_to_half_hrlydownscale_repeat_6hr_to_hrlydownscale_ShortWave_to_half_hrlydownscale_ShortWave_to_hrlydownscale_solar_geomdownscale_solar_geom_halfhourdownscale_spline_to_half_hrlydownscale_spline_to_hrlyequation_of_timeERA5_met_processexnerextract.local.CMIP5extract.local.NLDASextract.ncextract.nc.ERA5gen.subdaily.modelsget_cf_variables_tableget_NARR_threddsget.esget.lvget.ncvectorget.rhget.vpdlatlon2lcclightMElm_ensemble_simsload.cfmetmerge_met_variablemet_temporal_downscale.Gaussian_ensemblemet.processmet.process.stagemet2CF.ALMAmet2CF.Amerifluxmet2CF.AmerifluxLBLmet2CF.csvmet2CF.ERA5met2CF.FACEmet2CF.Geostreamsmet2CF.ICOSmet2CF.NARRmet2CF.PalEONmet2CF.PalEONregionalmetgapfillmetgapfill.NOAA_GEFSmodel.trainnc.mergenoaa_grid_downloadnoaa_stage2par2ppfdpecan_standard_met_tablepermute.ncpredict_subdaily_metprocess_gridded_noaa_downloadqair2rhread.registerrh2qairsat_vapor_pressuresave.betassave.modelsite_from_tagsite.lstsolarMJ2ppfdspin.metsplit_windsubdaily_predsw2parsw2ppfdt2estemporal_downscale_half_hourtemporal.downscale.functionsupscale_metwide2longwrite_noaa_gefs_netcdf

Dependencies:abindamerifluxrarrowaskpassassertthatbase64encbigleafbitbit64bitopsblobbslibcacachemcallrcellrangerclassclassIntclicliprclustercodetoolscolorspacecpp11crayoncrosstalkcurldata.tableDBIdbplyrdendextendDEoptimRdigestdplyre1071eggevaluatefarverfastmapfontawesomeforeachfsfurrrfuturegclusgenericsgeonamesggplot2globalsgluegridExtragtableheatmaplyhighrhmshtmltoolshtmlwidgetshttrisobanditeratorsjquerylibjsonliteKernSmoothknitrlabelinglaterlatticelazyevallifecyclelistenvlubridatemagrittrMASSMatrixmemoisemgcvmimemlegpncdf4nlmeopensslotelparallellyPEcAn.DBPEcAn.loggerPEcAn.remotePEcAn.utilspillarpkgconfigplotlyplyrprettyunitsprocessxprogresspromisesproxypspurrrqapR.methodsS3R.ooR.utilsR6rappdirsrasterRColorBrewerRcppRCurlreadrreadxlREddyProcregistryrematchreshape2rjsonrlangrmarkdownrobustbases2S7sassscalesseriationsfsolartimespstringistringrsuntoolssysterratibbletidyrtidyselecttimechangetinytextriebeardtruncnormTSPtzdbunitsurltoolsutf8vctrsviridisviridisLitevroomwebshotwithrwkxfunXMLxtsyamlzoo

Comparing met data from various sources
Sources: | Variables | Extracting data | Solar Radiation (PAR) vs Temp | RH vs Temp | Solar Radiation and Precipitation: NARR daily vs 3 hourly | Precipitation v Temperature | Compare Solar Radiation | Max Solar Radiation for June 1-Aug31 2010 | Max Solar Radiation (PAR) Model v OBS | PAR residuals (model - obs) | Correlations of daily max solar radiation | Compare daily and 3hourly downscaled NARR | Multiple variables | Some sanity checks on variables | More diagnostic plots

Last update: 2026-11-21
Started: 2014-05-28

PEcAn: Importing Met data from Bondville, IL Ameriflux station
Overview | Download Ameriflux data for Bondville | Convert to PEcAn-CF format | Concatenate years | Load | Plot entire time series | Plot 8-26-1996 to 10-14-1996 | Convert to BioCro Model format

Last update: 2026-11-21
Started: 2015-04-30

Met Downscaling
Subdaily Data | Extract | Downscale | Convert to model-specific format | Daily: what to do with ISIMIP - only daily average RH

Last update: 2025-05-25
Started: 2014-07-30

Temporally Downscale Meteorology
Subdaily Training Data | Extract Training Data and Merge All Years Into 1 File | Generate Linear Regression Models From Training Data | Coarse Data to Downscale | Extract Data We Want To Downscale | Predict Subdaily Data Using Statistics From Training Data

Last update: 2025-05-25
Started: 2017-07-13

Readme and manuals

Help Manual

Help pageTopics
download.raw.met.module.download.raw.met.module
Air DensityAirDens
Align meteorology datasets for debiasingalign.met
Generate AmeriFlux meteorological ensemblesAmeriFlux_met_ensemble
Average_ERA5_2_GeoTIFFAverage_ERA5_2_GeoTIFF
Construct a URL to a specific version of the CF variables table XMLbuild_cf_variables_table_url
Simple, Fast Daily to Hourly Climate Downscalingcfmet.downscale.daily
Subdaily to hourly (or less) downscalingcfmet.downscale.subdaily
Temporal downscaling of daily or subdaily CF met datacfmet.downscale.time
Check a meteorology data file for compliance with the PEcAn standardcheck_met_input_file
Check that the unit of a variable in a NetCDF file is equivalent to the expected unit.check_unit
Given latitude and longitude coordinates, find NARR x and y indicesclosest_xy
Create `ncvar` object from variable namecol2ncvar
Cosine of Solar Zenith Anglecos_solar_zenith_angle
Takes input_met and debiases it based on statistics from a train_met datasetdebias.met
Debias Meteorology using Multiple Linear Regressiondebias.met.regression
Download all requested timepoints of one GEFS ensemble memberdownload_grid
download_NOAA_GEFS_EFIdownload_NOAA_GEFS_EFI
Download Ameriflux L2 netCDF filesdownload.Ameriflux
Download Ameriflux LBL CSV filesdownload.AmerifluxLBL
Download CRUNCEP datadownload.CRUNCEP
Download ERA5 Climate Data from the Copernicus CDS APIdownload.ERA5_cds
Download Raw FACE data from the internetdownload.FACE
Download Fluxnet 2015 CSV filesdownload.Fluxnet2015
Download Flxunet LaThuile CSV filesdownload.FluxnetLaThuile
Download Geostreams data from Clowder APIdownload.Geostreams
Download GFDL CMIP5 outputs for a single grid point using OPeNDAP and convert to CFdownload.GFDL
Download GLDAS datadownload.GLDAS
Download ICOS Ecosystem data productsdownload.ICOS
Download MACA CMIP5 outputs for a single grid point using OPeNDAP and convert to CFdownload.MACA
Download MERRA datadownload.MERRA
Download and conver to CF NARR single grid point from MSTIMIP server using OPENDAP interfacedownload.MsTMIP_NARR
Download NARR filesdownload.NARR
Download NARR time series for a single sitedownload.NARR_site
Download NEON Site Met CSV filesdownload.NEONmet
Download NLDAS met datadownload.NLDAS
Download NOAA GEFS Weather Datadownload.NOAA_GEFS
Download PalEON filesdownload.PalEON
Download PalEON met ensemble filesdownload.PalEON_ENS
download.US-WCrdownload.US_WCr
download.US_Wlefdownload.US_Wlef
Internal helper to downscale a single row from a daily filedownscale_one_cfmet_day
Downscale repeat to half hourlydownscale_repeat_6hr_to_half_hrly
Downscale repeat to hourlydownscale_repeat_6hr_to_hrly
Downscale shortwave to half hourlydownscale_ShortWave_to_half_hrly
Downscale shortwave to hourlydownscale_ShortWave_to_hrly
Calculate potential shortwave radiationdownscale_solar_geom
Calculate potential shortwave radiationdownscale_solar_geom_halfhour
Downscale spline to half hourlydownscale_spline_to_half_hrly
Downscale spline to hourlydownscale_spline_to_hrly
Equation of time: Eccentricity and obliquityequation_of_time
Met Processes for ERA5 dataERA5_met_process
Exner functionexner
Extract CMIP5 from local downloadextract.local.CMIP5
Extract NLDAS from local downloadextract.local.NLDAS
Given latitude and longitude coordinates, extract site data from NARR fileextract.nc
ERA5_extractextract.nc.ERA5
Generate Subdaily Modelsgen.subdaily.models
Generate NARR url from a vector of datesgenerate_narr_url
Retrieve the current CF variables table from 'cfconventions.org' and convert it into a 'data.frame'get_cf_variables_table
Authentication lookup helperget_clowderauth
Retrieve NARR data using threddsget_NARR_thredds
Retrieve NARR data from a given URLget_narr_url
Calculate latent heat of vaporization for waterget.lv
Get time series vector from netCDF fileget.ncvector
Calculate RH from temperature and dewpointget.rh
Calculate VPDget.vpd
Convert latitude and longitude to x-y coordinates (in km) in Lambert conformal conic projection (used by NARR)latlon2lcc
Convert latitude and longitude coordinates to NARR indiceslatlon2narr
Simulates the light macro environmentlightME
Linear Regression Ensemble Simulationlm_ensemble_sims
Load met data from PEcAn formatted met driverload.cfmet
Merge a new met variable from an external file (e.g. CO2) into existing met filesmerge_met_variable
met_temporal_downscale.Gaussian_ensemblemet_temporal_downscale.Gaussian_ensemble
met.processmet.process
met.process.stagemet.process.stage
Get meteorology variables from ALMA netCDF files and convert to netCDF CF formatmet2CF.ALMA
Get meteorology variables from Ameriflux L2 netCDF files and convert to netCDF CF formatmet2CF.Ameriflux
Get meteorology variables from Ameriflux LBL and convert to netCDF CF formatmet2CF.AmerifluxLBL
Convert met data from CSV to CFmet2CF.csv
met2cf.ERA5met2CF.ERA5
convert FACE files to CF filesmet2CF.FACE
Convert geostreams JSON to CF met filemet2CF.Geostreams
Convert variables ICOS variables to CF formatmet2CF.ICOS
Convert NARR files to CF filesmet2CF.NARR
Get meteorology variables from PalEON netCDF files and convert to netCDF CF formatmet2CF.PalEON
Get meteorology variables from PalEON netCDF files and convert to netCDF CF formatmet2CF.PalEONregional
Take an Ameriflux NetCDF file, Fill missing met values using MDS approach using MPI-BGC REddyProc librarymetgapfill
Gapfill NOAA_GEFS weather datametgapfill.NOAA_GEFS
TDM Model Trainmodel.train
NARR flux and sfc variablesnarr_all_vars narr_flx_vars narr_sfc_vars
Parses multiple netCDF files into one central document for temporal downscaling procedurenc.merge
Download gridded forecast in the box bounded by the latitude and longitude listnoaa_grid_download
noaa_stage2noaa_stage2
convert PAR to PPFDpar2ppfd
Conversion table for PEcAn standard meteorologypecan_standard_met_table
Permute netCDF filespermute.nc
Post process raw NARR downloaded data framepost_process
Predict Subdaily Meteorology based off of statistics created in gen.subdaily.models()predict_subdaily_met
Write NetCDF file for a single year of dataprepare_narr_year
Extract and temporally downscale points from downloaded grid filesprocess_gridded_noaa_download
Convert specific humidity to relative humidityqair2rh
Read a specific variable from a NARR NetCDF fileread_narr_var
read.registerread.register
RH to SHrh2qair rh2rv
Saturation vapor pressure (t2es)get.es sat_vapor_pressure t2es
TDM Save Betassave.betas
TDM Save Modelssave.model
Function to find the site code for a specific tagsite_from_tag
Find time zone for a sitesite.lst
Solar Radiation to PPFDsolarMJ2ppfd
Spin-up meteorologyspin.met
Split wind_speed into eastward_wind and northward_windsplit_wind
Take mean at fixed intervals along a vectorstep_means
Pulls information from linear regression models to predict subdaily meteorologysubdaily_pred
Shortwave radiation to PARsw2par
CF Shortwave to PPFDsw2ppfd
Downscale NOAA GEFS from 6hr to 1hrtemporal_downscale
half_hour_downscaletemporal_downscale_half_hour
Temporal Downscale Functionstemporal.downscale.functions
Upscales the temporal resolution of a datasetupscale_met
Convert raster to lat, lon, varwide2long
Write NOAA GEFS netCDFwrite_noaa_gefs_netcdf