as.MrGrid: Convert a gridded data set with just one ensemble member to a...

View source: R/as.MrGrid.R

as.MrGridR Documentation

Convert a gridded data set with just one ensemble member to a S4 class.

Description

Convert a gridded data set with just one ensemble member to the MrGrid class. MrGrid is a S4 class derived from the MrData. The data set must have the elements Variable, Dates, Data, xyCoords, InitializationDates and Members. This function is prepared to convert the data sets 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.MrGrid(obj.s3)

Arguments

obj.s3

A list the with the elements Variable, Dates, Data, xyCoords, InitializationDates and Members

Details

The visualization functions are programmed to work with S4 class. This function converts gridded data sets (with just one member) to S4 to use those functions.

Note

For gridded data sets with more than one ensemble member use as.MrEnsemble function. For station data use as.MrStation 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.