Package camsrad. November 30, 2016

Similar documents
Package rdefra. March 20, 2017

Package polypoly. R topics documented: May 27, 2017

Package weathercan. July 5, 2018

Package solrad. November 5, 2018

Package Tcomp. June 6, 2018

Package bomrang. August 15, 2018

Package kgc. December 21, Version Date Title Koeppen-Geiger Climatic Zones

Package RSwissMaps. October 3, 2017

Package hddtools. August 9, 2018

Package countyweather

Package owmr. January 14, 2017

Package SK. May 16, 2018

Package RTransferEntropy

Purdue University Meteorological Tool (PUMET)

Package cvequality. March 31, 2018

Package spthin. February 20, 2015

Package GSODR. March 30, 2018

Package invgamma. May 7, 2017

Package rwbclimate. February 20, 2015

Package varband. November 7, 2016

Package aspi. R topics documented: September 20, 2016

Package gtheory. October 30, 2016

The Copernicus Atmosphere Monitoring Service (CAMS) Radiation Service in a nutshell

Package robis. July 2, 2018

Package testassay. November 29, 2016

Package HIMA. November 8, 2017

Package funrar. March 5, 2018

Package rwunderground

Global Solar Dataset for PV Prospecting. Gwendalyn Bender Vaisala, Solar Offering Manager for 3TIER Assessment Services

Package netdep. July 10, 2018

Package nowcasting. April 25, Type Package

Package MultisiteMediation

Package depth.plot. December 20, 2015

Package MTA. R topics documented: May 14, Title Multiscalar Territorial Analysis Version 0.1.2

Package TimeSeries.OBeu

Package IMMAN. May 3, 2018

Package platetools. R topics documented: June 25, Title Tools and Plots for Multi-Well Plates Version 0.1.1

Package scpdsi. November 18, 2018

Package SMFilter. December 12, 2018

AN INTERNATIONAL SOLAR IRRADIANCE DATA INGEST SYSTEM FOR FORECASTING SOLAR POWER AND AGRICULTURAL CROP YIELDS

Package msu. September 30, 2017

Package Select. May 11, 2018

Package noncompliance

Package covsep. May 6, 2018

Package supernova. February 23, 2018

Package dominanceanalysis

Package cosinor2. October 15, 2018

Package photobiologylamps

Package photobiologyleds

Package EMVS. April 24, 2018

Package cartogram. June 21, 2018

Package OGI. December 20, 2017

Package nardl. R topics documented: May 7, Type Package

Package FinCovRegularization

Package bhrcr. November 12, 2018

Package beam. May 3, 2018

Open Notify API. Release 0.2. Nathan Bergey

Package moderndive. July 6, 2018

Package gwqs. R topics documented: May 7, Type Package. Title Generalized Weighted Quantile Sum Regression. Version 1.1.0

Package coop. November 14, 2017

For Baltic Sea Physical Analysis and Forecasting Product BALTICSEA_ANALYSIS_FORECAST_PHY_003_006

Package timelines. August 29, 2016

PRODUCT USER MANUAL For GLOBAL Ocean Waves Analysis and Forecasting Product GLOBAL_ANALYSIS_FORECAST_WAV_001_027

A Guide to Satellite Data Appropriate for Solar Energy Applications in Ireland

Package reinforcedpred

PRODUCT USER MANUAL For the GLOBAL Ocean Sea Physical Analysis and Forecasting Products GLOBAL_ANALYSIS_FORECAST_PHY_001_024

Package matrixnormal

Package asus. October 25, 2017

Conference Presentation

Package MPkn. May 7, 2018

Package DNMF. June 9, 2015

Package MAVE. May 20, 2018

Package Path2PPI. November 7, 2018

Package NlinTS. September 10, 2018

Package thief. R topics documented: January 24, Version 0.3 Title Temporal Hierarchical Forecasting

Package Metrics. November 3, 2017

Package chemcal. July 17, 2018

Package RI2by2. October 21, 2016

Package MicroMacroMultilevel

OPTIMISING THE TEMPORAL AVERAGING PERIOD OF POINT SURFACE SOLAR RESOURCE MEASUREMENTS FOR CORRELATION WITH AREAL SATELLITE ESTIMATES

Package jmcm. November 25, 2017

Using the EartH2Observe data portal to analyse drought indicators. Lesson 4: Using Python Notebook to access and process data

Package clonotyper. October 11, 2018

Guidelines: Numerical Data CAMS

Package flora. R topics documented: August 29, Type Package. Title flora: taxonomical information on flowering species that occur in Brazil

ME 430 Fundamentals of Solar Energy Conversion for heating and Cooling Applications

Package ShrinkCovMat

Guide to Frontier Weather Graphics and Data Files

Table 1-2. TMY3 data header (line 2) 1-68 Data field name and units (abbreviation or mnemonic)

Package SPADAR. April 30, 2017

Package tspi. August 7, 2017

Sunlight and its Properties II. EE 446/646 Y. Baghzouz

Package robustrao. August 14, 2017

Mapping Global Carbon Dioxide Concentrations Using AIRS

Account Setup. STEP 1: Create Enhanced View Account

Package MAPA. R topics documented: January 5, Type Package Title Multiple Aggregation Prediction Algorithm Version 2.0.4

Package causalweight

Package Delaporte. August 13, 2017

Package ADPF. September 13, 2017

Package r2glmm. August 5, 2017

Transcription:

Type Package Title Client for CAMS Radiation Service Version 0.3.0 Package camsrad November 30, 2016 Maintainer Lukas Lundstrom <lukas.rokka@gmail.com> Copernicus Atmosphere Monitoring Service (CAMS) radiations service provides time series of global, direct, and diffuse irradiations on horizontal surface, and direct irradiation on normal plane for the actual weather conditions as well as for clear-sky conditions. The geographical coverage is the field-of-view of the Meteosat satellite, roughly speaking Europe, Africa, Atlantic Ocean, Middle East. The time coverage of data is from 2004-02-01 up to 2 days ago. Data are available with a time step ranging from 15 min to 1 month. For license terms and to create an account, please see <http://www.soda-pro.com/web-services/radiation/cams-radiation-service>. License MIT + file LICENSE Depends R (>= 3.1.0) Imports httr (>= 1.2.1), xml2 (>= 1.0.0) Suggests ncdf4, roxygen2, knitr, testthat, rmarkdown URL https://github.com/ropenscilabs/camsrad BugReports https://github.com/ropenscilabs/camsrad/issues LazyData TRUE RoxygenNote 5.0.1 VignetteBuilder knitr NeedsCompilation no Author Lukas Lundstrom [aut, cre] Repository CRAN Date/Publication 2016-11-30 16:28:49 1

2 cams_api R topics documented: camsrad........................................... 2 cams_api.......................................... 2 cams_get_mcclear...................................... 4 cams_get_radiation..................................... 5 cams_set_user........................................ 6 Index 7 camsrad R client for CAMS radiation service CAMS radiation service provides time series of global, direct, and diffuse irradiations on horizontal surface, and direct irradiation on normal plane for the actual weather conditions as well as for clearsky conditions. The geographical coverage is the field-of-view of the Meteosat satellite, roughly speaking Europe, Africa, Atlantic Ocean, Middle East (-66 to 66 degrees in both latitudes and longitudes). The time coverage of data is from 2004-02-01 up to 2 days ago. Data are available with a time step ranging from 15 min to 1 month. cams_api API client for Rhrefhttp://www.soda-pro.com/webservices/radiation/cams-radiation-serviceCAMS radiation service API client for CAMS radiation service cams_api(lat, lng, date_begin, date_end, alt = -999, time_step = "PT01H", time_ref = "UT", verbose = FALSE, service = "get_cams_radiation", format = "application/csv", filename = "") lat lng date_begin date_end Latitude, in decimal degrees. Required Longitude, in decimal degrees. Required Start date as yyyy-mm-dd string. Required End date as yyyy-mm-dd string. Required alt Altitude in meters, use -999 to let CAMS decide. Default -99 time_step Aggregation: PT01M for minutes, PT15M for 15 minutes, PT01H for hourly, P01D for daily, P01M for monthly. Deafult PT01H

cams_api 3 time_ref verbose service Time reference: UT for universal time, TST for true solar time. Default UT TRUE for verbose output. Default "FALSE" get_mcclear for CAMS McClear data, get_cams_radiation for CAMS radiation data. Default get_cams_radiation format application/csv, application/json, application/x-netcdf or text/csv. Default application/csv filename path to file on disk to write to. If empty, data is kept in memory. Default empty Value list(ok=true/false, response=response). If ok=true, response is the response from httr::get. If ok=false, response holds exception text library(ncdf4) filename <- paste0(tempfile(), ".nc") # API call to CAMS r <- cams_api( 60, 15, # latitude=60, longitude=15 "2016-06-01", "2016-06-10", # for 2016-06-01 to 2016-06-10 time_step="pt01h", # hourly data service="get_cams_radiation", # CAMS radiation format="application/x-netcdf",# netcdf format filename=filename) # file to save to # Access the on disk stored ncdf4 file nc <- nc_open(r$response$content) # list names of available variables names(nc$var) # create data.frame with timestamp and global horizontal irradiation df <- data.frame(datetime=as.posixct(nc$dim$time$vals, "UTC", origin="1970-01-01"), GHI = ncvar_get(nc, "GHI")) plot(df, type="l") nc_close(nc)

4 cams_get_mcclear cams_get_mcclear Retrieve McClear clear sky solar radiation data Retrieve McClear clear sky solar radiation data cams_get_mcclear(lat, lng, date_begin, date_end, time_step = "PT01H", alt = -999, verbose = FALSE) lat lng date_begin date_end time_step Latitude, in decimal degrees. Required Longitude, in decimal degrees. Required Start date as yyyy-mm-dd string. Required End date as yyyy-mm-dd string. Required Aggregation: PT01M for minutes, PT15M for 15 minutes, PT01H for hourly, P01D for daily, P01M for monthly. Deafult PT01H alt Altitude in meters, use -999 to let CAMS decide. Default -99 verbose TRUE for verbose output. Default "FALSE" Value A data frame with requested solar data df <- cams_get_mcclear( lat=60, lng=15, date_begin="2016-01-01", date_end="2016-01-15") print(head(df))

cams_get_radiation 5 cams_get_radiation Retrieve CAMS solar radiation data Retrieve CAMS solar radiation data cams_get_radiation(lat, lng, date_begin, date_end, time_step = "PT01H", alt = -999, verbose = FALSE) Value lat lng date_begin date_end time_step Latitude, in decimal degrees. Required Longitude, in decimal degrees. Required Start date as yyyy-mm-dd string. Required End date as yyyy-mm-dd string. Required Aggregation: PT01M for minutes, PT15M for 15 minutes, PT01H for hourly, P01D for daily, P01M for monthly. Deafult PT01H alt Altitude in meters, use -999 to let CAMS decide. Default -99 verbose A data frame with requested solar data TRUE for verbose output. Default "FALSE" # Get hourly solar radiation data df <- cams_get_radiation( lat=60, lng=15, date_begin="2016-06-01", date_end="2016-06-15") head(df) # Get daily solar radiation data df <- cams_get_radiation( lat=60, lng=15, date_begin="2016-06-01", date_end="2016-06-15", time_step="p01d") head(df)

6 cams_set_user cams_set_user Set username used for authentication by CAMS radiation service Set username used for authentication by CAMS radiation service cams_set_user(username) username Email registered at soda-pro.com. Required # cams_set_user("your@email.com") # An email registered at soda-pro.com

Index cams_api, 2 cams_get_mcclear, 4 cams_get_radiation, 5 cams_set_user, 6 camsrad, 2 camsrad-package (camsrad), 2 7