Skip to contents

List the available models in a designated workspace.

Usage

e2ep_ls(models.path = NULL)

Arguments

models.path

Relative path from the current working directory to a folder containing a library of model configurations (typically "Folder/Models"). Setting models.path="" is valid. Default models.path=NULL, meaning read a North Sea model setup from the package folder extdata/Models.

Value

An on-screen list of available models in the designated folder.

See also

Examples

# List the models/variants supplied with the package:
    e2ep_ls()
#> Current working directory is 'C:/Users/jackl/OneDrive - University of Strathclyde/Documents/StrathE2E/strath-e-2-e-polar-webdev/docs/reference'
#> List of package models in system folder "extdata/Models", with examples of how to read them:
#>  Model: "Barents_Sea"
#>   Variant: "2011-2019"	model <- e2e_read("Barents_Sea", "2011-2019")
#>   Variant: "2040-2049"	model <- e2e_read("Barents_Sea", "2040-2049")
#> 

# Dummy example to illustrate listing the models/variants in a user defined
# workspace. REPLACE "Folder1/Models" with your own models.path 
# remembering that this are relative to the current working directory.
#    e2ep_ls("Folder/Models")