# Changes between Version 16 and Version 17 of EcomsUdg/RPackage/Functions

Ignore:
Timestamp:
May 17, 2013 8:40:42 PM (8 years ago)
Comment:

--

### Legend:

Unmodified
 v16 == makeNcmlDataset == = makeNcmlDataset = ''__Description__'' == dataInventory == = dataInventory = ''__Description__'' == loadObservations == = loadObservations = ''__Description'' == loadData == = loadData = ''__Description'' Loads selected dimensional slices of a NcML dataset. The function is intended to deal with gridded data (interpolated surfaces, reanalysis ...) ''__Usage'' {{{ loadData(dataset, var, standard.vars=FALSE, lonLim=NULL, latLim=NULL, level=NULL, startDate=NULL, endDate=NULL) }}} ''__Arguments'' * var: Character string indicating the variable to load. * standard.vars: Logical. Default to FALSE. If TRUE a dictionary must be available (see Details) * lonLim: Vector of length = 2, with minimum and maximum longitude coordinates, in decimal degrees, of the bounding box selected. * latLim: Vector of length = 2, with minimum and maximum latitude coordinates, in decimal degrees, of the bounding box selected. * level: Vertical level, if defined for the variable. * startDate: Optional character string in the form "Year-month-day" (e.g. "1950-01-01") indicating the starting day of the time series to retrieve. Default to first record available. * endDate: Optional character string in the form "Year-month-day" (e.g. "2000-12-31") indicating the last day of the time series to retrieve. Default to last record available. ''__Details'' ''__Value'' == loadSystem4 == A list with the following components: * VarName: name of the variable returned. * Level: Vertical level requested. NULL if the variable has no vertical levels defined. * Dates: A POSIXlt class vector of length ''i'' with dates * LatLonCoords: A 2-D matrix of ''j'' rows (where ''j'' = number of grid points selected) and two columns corresponding to the latitude and longitude coordinates respectively. * Data: a 2-D matrix of ''i'' rows x ''j'' columns, of ''i'' forecast times and ''j'' grid-points = loadSystem4 = ''__Description__''