Skip to content

Commit

Permalink
Doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
jbedia committed Dec 27, 2014
1 parent 47be42c commit e4fefe8
Show file tree
Hide file tree
Showing 62 changed files with 100 additions and 93 deletions.
4 changes: 2 additions & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by roxygen2 (4.0.1): do not edit by hand
# Generated by roxygen2 (4.0.2): do not edit by hand

export(aggr6hToDailyMean)
export(analogs)
Expand All @@ -25,7 +25,7 @@ export(isimip)
export(loadGridData)
export(loadMultiField)
export(loadStationData)
export(login_SMG)
export(login_TAP)
export(makeAggregatedDataset)
export(makeMultiField)
export(makeSubset)
Expand Down
2 changes: 1 addition & 1 deletion man/aggr6hToDailyMean.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{aggr6hToDailyMean}
\alias{aggr6hToDailyMean}
\title{Performs the aggregation of 6 hourly data to daily mean}
Expand Down
11 changes: 9 additions & 2 deletions man/analogs.Rd
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{analogs}
\alias{analogs}
\title{Analog downscaling}
\usage{
analogs(obs, pred, sim, n.neigh = 1, sel.fun = c("random", "mean"))
analogs(obs, pred, sim, n.neigh = 1, sel.fun = c("random", "mean"),
analog.dates = FALSE)
}
\arguments{
\item{obs}{A field or station data containing the observed climate data for the training period}
Expand All @@ -19,6 +20,12 @@ the same variable as \code{obs}, in the case of model calibration (bias correcti

\item{sel.fun}{Criterion for the construction of analogs when several neigbours are chosen. Ignored when \code{n.neig = 1}.
Current values are \code{"random"} (the default) and \code{"mean"}. See details.}

\item{analog.dates}{Logical flag indicating whether the dates of the analogs should be returned. If set to TRUE,
the analog dates will be returned as a global attribute named \code{"analog.dates"}. The analog
dates can be only returned for one single neighbour selections (argument \code{n.neigh = 1}),
otherwise it will give an error. Note that the analog dates are different for each member in case of
multimember downscaling, and are returned as a list, each element of the list corresponding to one member.}
}
\description{
Implementation of the downscaling analogs method
Expand Down
2 changes: 1 addition & 1 deletion man/array3Dto2Dmat.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{array3Dto2Dmat}
\alias{array3Dto2Dmat}
\title{Conversion of a 3D array to a 2D matrix}
Expand Down
8 changes: 4 additions & 4 deletions man/biasCorrection.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{biasCorrection}
\alias{biasCorrection}
\title{Bias correction methods}
Expand All @@ -19,11 +19,11 @@ the same variable as \code{obs}, in the case of model calibration (bias correcti
\item{method}{method applied. Current accepted values are \code{"qqmap"}, \code{"delta"},
\code{"scaling"}, \code{"unbiasing"} and \code{"piani"}. See details.}

\item{multi.member}{Should members be adjusted sepparately (TRUE, default), or jointly (FALSE)?.
Ignored if the dataset has no members.}

\item{pr.threshold}{The minimum value that is considered as a non-zero precipitation. Ignored for
\code{varcode} values different from \code{"pr"}. Default to 1 (assuming mm).}

\item{multi.member}{Should members be adjusted sepparately (TRUE, default), or jointly (FALSE)?.
Ignored if the dataset has no members.}
}
\value{
A calibrated object of the same spatio-temporal extent of the input field
Expand Down
2 changes: 1 addition & 1 deletion man/bubbleValidation.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{bubbleValidation}
\alias{bubbleValidation}
\title{Bubble plot for visualization of the skill of an ensemble forecast prediction}
Expand Down
2 changes: 1 addition & 1 deletion man/calibrateProj.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{calibrateProj}
\alias{calibrateProj}
\title{Bias correction methods}
Expand Down
2 changes: 1 addition & 1 deletion man/dataInventory.ASCII.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{dataInventory.ASCII}
\alias{dataInventory.ASCII}
\title{Data inventory of standard ASCII station datasets}
Expand Down
2 changes: 1 addition & 1 deletion man/dataInventory.NetCDF.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{dataInventory.NetCDF}
\alias{dataInventory.NetCDF}
\title{Inventory of a gridded dataset}
Expand Down
2 changes: 1 addition & 1 deletion man/dataInventory.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{dataInventory}
\alias{dataInventory}
\title{Dataset inventory}
Expand Down
2 changes: 1 addition & 1 deletion man/dateReplacement.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{dateReplacement}
\alias{dateReplacement}
\title{Compute dates of a downscaled observational dataset}
Expand Down
2 changes: 1 addition & 1 deletion man/deaccum.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{deaccum}
\alias{deaccum}
\title{Performs deaccumulation}
Expand Down
2 changes: 1 addition & 1 deletion man/dictionaryLookup.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{dictionaryLookup}
\alias{dictionaryLookup}
\title{Searches variable string in the dictionary}
Expand Down
2 changes: 1 addition & 1 deletion man/dictionaryTransform.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{dictionaryTransform}
\alias{dictionaryTransform}
\title{Performs variable transformation}
Expand Down
6 changes: 3 additions & 3 deletions man/dictionaryTransformGrid.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{dictionaryTransformGrid}
\alias{dictionaryTransformGrid}
\title{Performs variable transformation}
Expand All @@ -8,9 +8,9 @@ dictionaryTransformGrid(dic, timePars, mdArray)
\arguments{
\item{dic}{Dictionary line for the variable, as returned by \code{dictionaryLookup} or \code{dictionaryLookup.ECOMS}}

\item{foreTimePars}{A list of time selection parameters, as returned by \code{getTimeDomain}}

\item{mdArray}{A n-dimensional array, as returned by \code{makeSubset}}

\item{foreTimePars}{A list of time selection parameters, as returned by \code{getTimeDomain}}
}
\value{
The transformed n dimensional array of data. See details.
Expand Down
2 changes: 1 addition & 1 deletion man/fieldFromPCs.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{fieldFromPCs}
\alias{fieldFromPCs}
\title{Reconstruct a Field from EOFs and principal components}
Expand Down
2 changes: 1 addition & 1 deletion man/findPointXYindex.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{findPointXYindex}
\alias{findPointXYindex}
\title{Define user-defined geolocation parameters}
Expand Down
2 changes: 1 addition & 1 deletion man/findVerticalLevel.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{findVerticalLevel}
\alias{findVerticalLevel}
\title{Finds vertical level from variable definition}
Expand Down
2 changes: 1 addition & 1 deletion man/getCoordinates.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{getCoordinates}
\alias{getCoordinates}
\title{Get geographical coordinates of a climate data object}
Expand Down
2 changes: 1 addition & 1 deletion man/getGrid.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{getGrid}
\alias{getGrid}
\title{Get regular grid definition}
Expand Down
2 changes: 1 addition & 1 deletion man/getLatLonDomain.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{getLatLonDomain}
\alias{getLatLonDomain}
\title{Determine the geo-location parameters of an arbitrary user selection}
Expand Down
2 changes: 1 addition & 1 deletion man/getLatLonDomainStations.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{getLatLonDomainStations}
\alias{getLatLonDomainStations}
\title{Define geolocation of station datasets}
Expand Down
2 changes: 1 addition & 1 deletion man/getSeason.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{getSeason}
\alias{getSeason}
\title{Get season from a station or field object}
Expand Down
2 changes: 1 addition & 1 deletion man/getTimeDomain.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{getTimeDomain}
\alias{getTimeDomain}
\title{Selection of time slices of gridded datasets}
Expand Down
2 changes: 1 addition & 1 deletion man/getTimeDomainStations.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{getTimeDomainStations}
\alias{getTimeDomainStations}
\title{Time index positions for station dataset selections}
Expand Down
6 changes: 3 additions & 3 deletions man/getVerticalLevelPars.Rd
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{getVerticalLevelPars}
\alias{getVerticalLevelPars}
\title{Definition of vertical dimension slices}
\usage{
getVerticalLevelPars(grid, level)
}
\arguments{
\item{gcs}{An object of the java class \sQuote{GeoGrid})}

\item{level}{Vertical level. Passed by \code{loadGridDataset}, obtained via \code{findVerticalLevel}}

\item{gcs}{An object of the java class \sQuote{GeoGrid})}
}
\value{
A list with the level value and either a java Range or a java null reference
Expand Down
2 changes: 1 addition & 1 deletion man/getYearsAsINDEX.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{getYearsAsINDEX}
\alias{getYearsAsINDEX}
\title{Get years as a factor}
Expand Down
2 changes: 1 addition & 1 deletion man/glimpr.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{glimpr}
\alias{glimpr}
\title{GLM downscaling}
Expand Down
2 changes: 1 addition & 1 deletion man/hurs2huss.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{hurs2huss}
\alias{hurs2huss}
\title{Specific humidity from relative humidity}
Expand Down
2 changes: 1 addition & 1 deletion man/iberia_ncep_hus850.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{iberia_ncep_hus850}
\alias{iberia_ncep_hus850}
\title{Field containing NCEP reanalysis data of specific humidity at 850mb for the Iberian Peninsula.}
Expand Down
2 changes: 1 addition & 1 deletion man/iberia_ncep_psl.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{iberia_ncep_psl}
\alias{iberia_ncep_psl}
\title{Field containing NCEP reanalysis data of sea-level pressure for the Iberian Peninsula.}
Expand Down
2 changes: 1 addition & 1 deletion man/iberia_ncep_ta850.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{iberia_ncep_ta850}
\alias{iberia_ncep_ta850}
\title{Field containing NCEP reanalysis data of air temperature at 850mb for the Iberian Peninsula.}
Expand Down
2 changes: 1 addition & 1 deletion man/interpGridData.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{interpGridData}
\alias{interpGridData}
\title{Interpolate a dataset to a grid}
Expand Down
2 changes: 1 addition & 1 deletion man/isimip.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{isimip}
\alias{isimip}
\title{Bias correction ISI-MIP method}
Expand Down
14 changes: 7 additions & 7 deletions man/loadGridData.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{loadGridData}
\alias{loadGridData}
\title{Load a field from a dataset}
Expand All @@ -16,6 +16,12 @@ this is the path to the directory the dataset lives in.}
by the \dQuote{@} symbol (e.g. \code{var = "z@700"} for geopotential heigth at 700 mb isobaric surface pressure level).
It is also possible to enter the variable name as originally coded in the dataset to skip data homogenization.}

\item{dictionary}{Default to TRUE, indicating that a dictionary is used and the .dic file is stored in the same path than the
dataset. If the .dic file is stored elsewhere, then the argument is the full path to the .dic file (including the extension,
e.g.: \code{"/path/to/the/dictionary_file.dic"}). This is the case for instance when the dataset is stored in a remote URL,
and we have a locally stored dictionary for that particular dataset. If FALSE no variable homogenization takes place,
and the raw variable, as originally stored in the dataset, will be returned. See details for dictionary specification.}

\item{lonLim}{Vector of length = 2, with minimum and maximum longitude coordinates, in decimal degrees, of the bounding box selected.
For single-point queries, a numeric value with the longitude coordinate. If \code{NULL} (default), the whole longitudinal range
is selected (Note that this may lead to a large output object size).}
Expand All @@ -28,12 +34,6 @@ Options include one to several (contiguous) months. Default to \code{NULL}, indi
\item{years}{Optional vector of years to select. Default (\code{NULL}) to all available years. If the requested variable is static (e.g. orography)
it will be ignored.}

\item{dictionary}{Default to TRUE, indicating that a dictionary is used and the .dic file is stored in the same path than the
dataset. If the .dic file is stored elsewhere, then the argument is the full path to the .dic file (including the extension,
e.g.: \code{"/path/to/the/dictionary_file.dic"}). This is the case for instance when the dataset is stored in a remote URL,
and we have a locally stored dictionary for that particular dataset. If FALSE no variable homogenization takes place,
and the raw variable, as originally stored in the dataset, will be returned. See details for dictionary specification.}

\item{time}{A character vector indicating the temporal filtering/aggregation
of the output data. Default to \code{"none"}, which returns the original time
series as stored in the dataset. For sub-daily variables, instantantaneous data at
Expand Down
2 changes: 1 addition & 1 deletion man/loadGridDataset.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{loadGridDataset}
\alias{loadGridDataset}
\title{Loads a user-defined subset of a gridded CDM dataset}
Expand Down
2 changes: 1 addition & 1 deletion man/loadMultiField.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{loadMultiField}
\alias{loadMultiField}
\title{Load several gridded variables}
Expand Down
2 changes: 1 addition & 1 deletion man/loadStationData.ASCII.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{loadStationData.ASCII}
\alias{loadStationData.ASCII}
\title{Load station data in standard ASCII format}
Expand Down
12 changes: 6 additions & 6 deletions man/loadStationData.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{loadStationData}
\alias{loadStationData}
\title{Load station data}
Expand All @@ -11,11 +11,16 @@ loadStationData(dataset, file.format = "ascii", var, stationID = NULL,
pointing to a netCDF or NcML file in the case of netCDF and/or gridded datasets. For station data in standard ASCII format,
this is the path to the directory the dataset lives in.}

\item{file.format}{Wether the stations data are stored in a netCDF or ASCII (default) file.
Currently only the standard \dQuote{ASCII} format supported. See references for details.}

\item{var}{Variable code (character string). This is the name of the variable according to the R standard naming
(see the next argument). For variables with vertical levels, the vertical level is specified next to the variable name followed
by the \dQuote{@} symbol (e.g. \code{var = "z@700"} for geopotential heigth at 700 mb isobaric surface pressure level).
It is also possible to enter the variable name as originally coded in the dataset to skip data homogenization.}

\item{stationID}{Optional. A character vector indicating the code names of the stations to be loaded.}

\item{lonLim}{Vector of length = 2, with minimum and maximum longitude coordinates, in decimal degrees, of the bounding box selected.
For single-point queries, a numeric value with the longitude coordinate. If \code{NULL} (default), the whole longitudinal range
is selected (Note that this may lead to a large output object size).}
Expand All @@ -28,11 +33,6 @@ Options include one to several (contiguous) months. Default to \code{NULL}, indi
\item{years}{Optional vector of years to select. Default (\code{NULL}) to all available years. If the requested variable is static (e.g. orography)
it will be ignored.}

\item{file.format}{Wether the stations data are stored in a netCDF or ASCII (default) file.
Currently only the standard \dQuote{ASCII} format supported. See references for details.}

\item{stationID}{Optional. A character vector indicating the code names of the stations to be loaded.}

\item{tz}{A time zone specification to be used for the conversion of dates, if one is required
(i.e., if the time zone of the dataset does not correspond to the system-specific one; see
\code{\link[base]{timezones}} for details). Default to unspecified (i.e. \code{tz = ""}).}
Expand Down
10 changes: 5 additions & 5 deletions man/login_SMG.Rd → man/login_TAP.Rd
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
\name{login_SMG}
\alias{login_SMG}
\title{Login to the Santander Met Group Data Server}
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{login_TAP}
\alias{login_TAP}
\title{Login to the Santander Met Group Thredds Data Server}
\usage{
login_SMG(username, password, proxy.host = NULL, proxy.port = NULL)
login_TAP(username, password, proxy.host = NULL, proxy.port = NULL)
}
\arguments{
\item{username}{A character string with a valid user ID. See details.}
Expand Down
2 changes: 1 addition & 1 deletion man/makeAggregatedDataset.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{makeAggregatedDataset}
\alias{makeAggregatedDataset}
\title{Create a dataset from a collection of (netCDF) files}
Expand Down
2 changes: 1 addition & 1 deletion man/makeMultiField.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{makeMultiField}
\alias{makeMultiField}
\title{Constructor of a multifield from various fields, supporting multimember fields.}
Expand Down
Loading

0 comments on commit e4fefe8

Please sign in to comment.