Description Usage Arguments Value Author(s) See Also Examples
Constructor for the class Meteo
with values of
daily or intradaily values of global horizontal irradiation and ambient temperature
from a local file or a data.frame.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | readBD(file, lat,
format='%d/%m/%Y',
header=TRUE, fill=TRUE, dec='.', sep=';',
dates.col='date',source=file)
readBDi(file, lat,
format='%d/%m/%Y %H:%M:%S',
header=TRUE, fill=TRUE, dec='.', sep=';',
time.col='time',
source=file)
df2Meteo(file, lat,
format='%d/%m/%Y',
dates.col='date',
source='')
dfI2Meteo(file, lat,
format='%d/%m/%Y %H:%M:%S',
time.col='time',
source='')
zoo2Meteo(file, lat, source='')
|
file |
The name of the file ( If the Only for daily data: if the ambient temperature is not available,
the file should include two columns named |
header, fill, dec, sep |
See |
format |
character string with the format of the dates or time
index.
(Default for daily time bases: |
lat |
numeric, latitude (degrees) of the location. |
dates.col |
character string with the name of the column wich contains the dates of the time series. |
time.col |
character string with the name of the column wich contains the time index of the series. |
source |
character string with information about the source of the values. (Default: the name of the file). |
A Meteo
object.
Oscar Perpiñán Lamigueiro.
read.table
,
readSIAR
,
readG0dm
.
1 2 3 4 5 6 7 8 |
Loading required package: zoo
Attaching package: 'zoo'
The following objects are masked from 'package:base':
as.Date, as.Date.numeric
Loading required package: lattice
Loading required package: latticeExtra
Loading required package: RColorBrewer
Time Zone set to UTC.
Index G0 TempMax
Min. :2009-01-01 00:00:00 Min. : 325.6 Min. : 1.41
1st Qu.:2009-04-08 12:00:00 1st Qu.: 2523.2 1st Qu.:14.41
Median :2009-07-07 00:00:00 Median : 4745.7 Median :23.16
Mean :2009-07-04 21:29:54 Mean : 4812.0 Mean :22.59
3rd Qu.:2009-10-03 12:00:00 3rd Qu.: 7139.5 3rd Qu.:31.06
Max. :2009-12-31 00:00:00 Max. :11253.9 Max. :38.04
TempMin
Min. :-37.500
1st Qu.: 1.950
Median : 7.910
Mean : 5.323
3rd Qu.: 15.105
Max. : 24.800
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.