R/cdm_pem_extract_parameters.R

Defines functions cdm_pem_extract_parameters

## File Name: cdm_pem_extract_parameters.R
## File Version: 0.01

cdm_pem_extract_parameters <- function( parm, parmgroup, pem_parameter_index )
{
    info <- pem_parameter_index[[ parmgroup ]]
    x_dim <- info$dim
    x <- parm[ info$index ]
    x <- cdm_pem_adjust_dimension(x=x, x_dim=x_dim )
    return(x)
}

Try the CDM package in your browser

Any scripts or data that you put into this service are public.

CDM documentation built on Aug. 25, 2022, 5:08 p.m.