create.geotop.meteo.files: Creates geotop meteo files from (a list of) 'zoo' objects

Description Usage Arguments See Also Examples

Description

Creates geotop meteo files from (a list of) 'zoo' objects

Usage

1
2
3
4
create.geotop.meteo.files(x, format = "%d/%m/%Y %H:%M",
  file_prefix = "meteo", file_extension = ".txt", formatter = "%04d",
  na = "-9999", col.names = TRUE, row.names = FALSE,
  date_field = "Date", sep = ",", level = NULL, quote = FALSE, ...)

Arguments

x

'zoo' object or a list of 'zoo' object representing the meteorological station

format

string format representing the date, see as.POSIXlt. Default is "%d/%m/%Y %H:%M" (which is the same format used in geotop.inpts keyword InitDateDDMMYYYYhhmm)

file_prefix

string containing file prefix (full path). It correspos to the value of in geotop.inpts keyword MeteoFile)

file_extension

string containing the extensions of final files. Default is c(".txt")

formatter

string value. It is the decimal formatter contained in the file name and used in case the tabular data are referred at several points. Default is "%04d" . See sprintf .

na

NA value indicator. Default is "-9999". See write.table.

col.names

logical parameter. Default is TRUE. See write.table.

row.names

logical parameter. Default is FALSE. See write.table.

date_field

string value. Default is "Date", otherwise defined by the value of HeaderDateDDMMYYYYhhmmMeteo geotop keyword.

sep

string value. Default is ",". See write.table.

level

integer argument. See get.geotop.inpts.keyword.value for major details. Default is NULL and is ignored.

quote

logical parameter. Default is TRUE. See write.table.

...

further argurments for write.table

See Also

write.table,get.geotop.inpts.keyword.value

Examples

1
2
3
4
library(geotopbricks)
data(bondone)
## Not Run - Uncomment te following line to run the example
## create.geotop.meteo.files(x=meteo)


Search within the geotopbricks package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.