deriveSurfaceWindSpeed.S4: Compute wind speed from wind components in System4 datasets

View source: R/deriveSurfaceWindSpeed.S4.R

deriveSurfaceWindSpeed.S4R Documentation

Compute wind speed from wind components in System4 datasets

Description

Performs a basic calculation of wind speed from eastward and northward wind components while minimizing the amount of data simultaneously loaded in memory.

Usage

deriveSurfaceWindSpeed.S4(
  gds,
  grid,
  latLon,
  runTimePars,
  memberRangeList,
  foreTimePars
)

Arguments

gds

A java “GridDataset”. This is used to load all input java “GeoGrid”'s to derive the target variable.

grid

An input java GeoGrid. This is the grid of the ‘leading var’ (leadVar) previously loaded for subsetting parameter retrieval (see deriveInterface for details).

latLon

A list of geolocation parameters, as returned by getLatLonDomainForecast

runTimePars

A list of run time definition parameters, as returned by getRunTimeDomain.ECOMS

memberRangeList

A list of ensemble java ranges as returned by getMemberDomain.S4

foreTimePars

A list of forecast time definition parameters, as returned by getForecastTimeDomain.S4

Details

The function essentially follows the same approach as makeSubset.S4, excepting that at each time step it loads more than one “GeoGrid” in order to compute wind velocity. Within the code, grid corresponds to uas, and grid1 to vas.

Value

A n-dimensional array. Dimensions are labelled by the “dimnames” attribute

Author(s)

J Bedia

References

https://www.unidata.ucar.edu/software/thredds/current/netcdf-java/v4.0/javadocAll/ucar/nc2/dt/grid/GeoGrid.html http://meteo.unican.es/ecoms-udg/DataServer/ListOfVariables


SantanderMetGroup/loadeR.ECOMS documentation built on July 4, 2023, 4:29 a.m.