substitute_filename: Check whether the given filename is a shortcut and if so, set...

View source: R/data_extraction_functions.R

substitute_filenameR Documentation

Check whether the given filename is a shortcut and if so, set the full filename

Description

Utility function for the eReefs package

Usage

substitute_filename(input_file = "catalog")

Arguments

input_file

is the URL or file location of any of the EMS output files or a THREDDS catalog URI. Defaults to a menu selection based on current NCI catalogs. Can also be set to "nci", "menu" or "catalog" for the same behaviour. Set to "old_menu" to provide old menu options instead of menu options from the NCI catalog. Numeric values are interpreted as references to selections available from the old menu. Short codes can be used for some options (codenames as used in https://research.csiro.au/ereefs/models/model-outputs/access-to-raw-model-output/ )

Value

input_file


BarbaraRobson/ereefs documentation built on April 23, 2023, 5:47 a.m.