deriveSurfaceSpecificHumidity.S4: Compute surface specific humidity in System4 datasets

View source: R/deriveSurfaceSpecificHumidity.S4.R

deriveSurfaceSpecificHumidity.S4R Documentation

Compute surface specific humidity in System4 datasets

Description

Performs a basic calculation of specific humidity from sea-level pressure and surface temperature (for surface pressure calculation) while minimizing the amount of data simultaneously loaded in memory.

Usage

deriveSurfaceSpecificHumidity.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 apply the equations.

Value

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

Author(s)

J Bedia, borrowing MatLab code from S. Herrera.

References

http://meteo.unican.es/ecoms-udg/DataServer/ListOfVariables


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