# Climate analysis and empirical-statistical downscaling (ESD) package for monthly and daily data.

## Documentation for package ‘clim.pact’ version 2.3-10

- DESCRIPTION file.
- Code demos. Use demo() to run them.

## Help Pages

A B C D E F G H I J K L M N O P R S T U W

## -- A --

ABC4ESD | ABC for Empirical-Statistical Downscaling.
addClim.station | Add climatology
addland | Add land contours to map.
addland2 | Coordinates of coast line.
adjustEOF | Adjust common EOFs
anomaly.field | Anomalies of a field object.
anomaly.station | Anomaly.station
avail.ds | Available elements
avail.elem | Available elements
avail.eofs | Available elements
avail.locs | Available elements
avail.preds | Available elements

## -- B --

bergen.dm | Daily Bergen record.
bergen.t2m | Monthly mean temperature in Bergen.

## -- C --

caldat | Converts Julian days to month, day, and year
Canonical correlation analysis | Canonical correlation analysis
catFields | catFields
CCA | Canonical correlation analysis
cdfcont | netCDF names and dimensions.
cdfextract | Extract a subfield from a netCDF file.
CDFtransfer | Downscale eponential PDF.
characters | Convert numbers to string and format
check.repeat | Canonical correlation analysis
climate analysis | Objective downscaling of monthly means
climate diagnostics | Objective downscaling of monthly means
coherence | Coherence spectrum - cross-spectrum analysis
combineEOFs | mixFields
combineFields | mixFields
composite.field | Composite maps
compositeField | Composite maps
COn0E65N | Convert long-lat to km-km
continental coast line | Coordinates of coast line.
corEOF | Field correlation
corField | Field correlation

## -- D --

daily.station.record | Make daily climate station series object.
daily2monthly.field | Anomalies of a field object.
daily2monthly.station | Anomaly.station
datestr2num | datestr2num
delta | Delta function
delta function | Delta function
dist2norm | Transform a series to a normally distributed series.
distAB | Distance between two points on Earth
DNMI.slp | Gridded monthly mean climate data
DNMI.sst | Gridded monthly mean climate data
DNMI.t2m | Gridded monthly mean climate data
downscaling | Objective downscaling of monthly means
DS | Downscaling of monthly or daily means
ds2station | Convert ds to station object
DSpdf.exp | Downscale eponential PDF.

## -- E --

ele | Make monthly climate station series object.
Empirical orthogonal Functions | Empirical Orthogonal Functions (EOFs).
empiricalRanking | Downscale eponential PDF.
EOF | Empirical Orthogonal Functions (EOFs).
eof | Empirical Orthogonal Functions (EOFs).
eof.c | Monthly common EOF.
eof.c_data | Monthly common EOF.
eof.dc | Daily common EOF.
eof.dc_data | Daily common EOF.
eof.dmc | Daily common EOF.
eof.dmc_data | Daily common EOF.
eof.mc | Monthly mixed-common EOF.
eof.mc_data | Monthly mixed-common EOF.
eof.slp | EOF of NCEP reanalysis SLP.
EOF2field | Empirical Orthogonal Functions (EOFs).
exp.par | Downscale eponential PDF.
ExtEOF | Empirical Orthogonal Functions (EOFs).

## -- F --

fastRegrid | catFields
field correlation | Field correlation
field correlation, PCA | Field correlation
field.object | Retrieve data from a netCDF file
fixField | Retrieve data from a netCDF file

## -- G --

getClimateExplorer | Retrieve station record through the KNMI ClimateExplorer.
getdnmi | Retrieve station record from DNMI database filed.
getecsn | Retrieve daily station record from ECSN set.
getgiss | Retrieve station record from the GISS or NARP data set from URL.
getHadObs | Retrieve station record from the Nordklima set or HadObs.
getnacd | Retrieve station record from the NACD set.
getnarp | Retrieve station record from the GISS or NARP data set from URL.
getnordklim | Retrieve station record from the Nordklima set or HadObs.
grd.box.ts | Grid box time series

## -- H --

helsinki.t2m | Monthly mean temperature in Helsinki.

## -- I --

instring | instring

## -- J --

julday | Converts from month, day, and year to Julian days

## -- K --

km2lat | Convert long-lat to km-km
km2lon | Convert long-lat to km-km
koebenhavn.t2m | Monthly mean temperature in Copenhagen.

## -- L --

lagField | Empirical Orthogonal Functions (EOFs).
lagStation | Introduce a lag in station values
lat | Convert long-lat to km-km
lat.cont | Coordinates of coast line.
lon | Convert long-lat to km-km
lon.cont | Coordinates of coast line.
lower.case | convert to lower case

## -- M --

map | Produce a map
map2sphere | Satellite view / polar stereographic
mapEOF | Map EOF
mapField | MapField
meanField | Mean field
mergeEOF | Merge EOFs
mergeStation | Merge climate station series.
meta | Retrieve station record from the Nordklima set or HadObs.
meta.nacd | Retrieve station record from the NACD set.
mixFields | mixFields
mod | Modulus of a division.
monthly | Retrieve data from a netCDF file
monthly.station.record | Make monthly climate station series object.
Multivariate regression analysis | Multivariate regression analysis
MVR | Multivariate regression analysis

## -- N --

nacd.meta | Station data from Nordic Arctic Research Program
narp | Station data from Nordic Arctic Research Program
narp.meta | Station data from Nordic Arctic Research Program
newFig | Create a new Window
nordklim.meta | Station data from Nordic Arctic Research Program
norm2dist | Transform a series to a normally distributed series.
num2str | Convert numbers to string and format

## -- O --

objDS | Objective downscaling of monthly means
oslo.dm | Daily Oslo record.
oslo.t2m | Monthly mean temperature in Oslo.

## -- P --

patternIndex | Create a Index for a spatial pattern
PCA | Empirical Orthogonal Functions (EOFs).
plotCCA | Canonical correlation analysis
plotDS | Plot downscaled results
plotDSobj | Objective downscaling of monthly means
plotEOF | Plot EOFs
plotField | plotField
plotPOP | Principal Oscillating Patterns
plotSSA | Singular Spectrum Analysis
plotStation | Plots monthly station records.
plumePlot | Plot downscaled time series as plumes
polar stereographic | Satellite view / polar stereographic
POP | Principal Oscillating Patterns
preClim.station | Add climatology
predictCCA | Canonical correlation analysis
principal component analysis | Empirical Orthogonal Functions (EOFs).
Principal Oscillating Patterns | Principal Oscillating Patterns
Psi | Canonical correlation analysis

## -- R --

r2cdf | Save as netCDF file.
retrieve.nc | Retrieve data from a netCDF file
reverse | Reverse
reverse.sort | Reverse
RMSE | Objective downscaling of monthly means
rotate | Rotate spherical coordinates

## -- S --

satellite | Satellite view / polar stereographic
satelliteOld | Satellite view / polar stereographic
Singular Spectrum Analysis | Singular Spectrum Analysis
SSA | Singular Spectrum Analysis
station.obj | Make monthly climate station series object.
station.obj.dm | Make daily climate station series object.
stationmap | Plot climate station map.
stations2field | Canonical correlation analysis
stereogr | Satellite view / polar stereographic
stockholm.t2m | Monthly mean temperature in Stockholm.
strings | Convert numbers to string and format
strip | String operation functions

## -- T --

test.retrieve.nc | Retrieve data from a netCDF file
testCCA | Canonical correlation analysis
testcoherence | Coherence spectrum - cross-spectrum analysis
testfastRegrid | catFields
tromsoe.t2m | Monthly mean temperature in Tromsoe.

## -- U --

upper.case | convert to UPPER CASE

## -- W --

what.data | Data information