as.MrStation: Convert station data to a S4 class.

View source: R/as.MrStation.R

as.MrStationR Documentation

Convert station data to a S4 class.

Description

Convert station data to the MrStation class. MrStation is a S4 class derived from the MrData. The data set must have the elements Variable, Dates, Data, xyCoords and MetaData. This function is prepared to convert the station data loaded from the ECOMS User Data Gateway (ECOMS-UDG). See the loadeR.ECOMS R package for more details (http://github.com/SantanderMetGroup/loadeR.ECOMS).

Usage

as.MrStation(obj.s3)

Arguments

obj.s3

A list the with the elements Variable, Dates, Data, xyCoords and MetaData.

Details

The visualization functions are programmed to work with S4 class. This function converts station data to S4 to use those functions.

Note

For gridded data sets with just one ensemble member use as.MrGrid function. For gridded data sets with more than one ensemble member use as.MrEnsemble function.

Author(s)

M.D. Frias mariadolores.frias@unican.es, J. Fernandez and Max Tuni


SantanderMetGroup/visualizeR documentation built on Oct. 28, 2023, 6:11 a.m.