rad2cc | R Documentation |
Cloud cover estimation from radiation data
rad2cc(rsds = NULL, rlds = NULL, rtds = NULL)
rsds |
Shortwave downwelling radiation. Ignored if |
rlds |
Longawe downwelling radiation. Ignored if |
rtds |
Total (longwave + shortwave) radiation. If provided, |
A climate4R grid of estimated cloud cover
In principle, the derivation functions will work regardless of the input units, as all units are internally
converted as necessary according to the specific formulae definitions.
However, the units string (see getGridUnits
) must be parseable. In the same vein,
the input units need to be convertible to the required ones. Unit consistency is internally achieved
by the function udConvertGrid
.
J. Bedia, S. Herrera
Other derivation:
hurs2huss()
,
hurs2tdps()
,
hurs2w()
,
huss2hurs()
,
huss2pvp()
,
ps2psl()
,
psl2ps()
,
tas2ws()
,
tdps2hurs()
data("rsds.iberia")
data("rlds.iberia")
cc <- rad2cc(rsds.iberia, rlds.iberia)
## Not run:
require(visualizeR)
spatialPlot(climatology(cc), rev.colors = TRUE, backdrop.theme = "coastline")
## End(Not run)
# Total radiation can be alternatively used:
require(transformeR)
rtds <- gridArithmetics(rsds.iberia, rlds.iberia, operator = "+")
cc2 <- rad2cc(rtds = rtds)
identical(cc2, cc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.