extract_fn_from_path: Get the filename from a path

Description Usage Arguments Value Examples

Description

The filename is split on slashes, and the last item is taken; this should be just the filename.

Usage

1
extract_fn_from_path(fn_with_path)

Arguments

fn_with_path

The filename, with partial or full path

Value

fn The extracted filename

Examples

1
2
3
fn_with_path = "/Library/Frameworks/R.framework/Versions/2.15/Resources/library/
MOD021KM.A2016209.0515.005.NRT.hdf"
extract_fn_from_path(fn_with_path)

proccalibrad documentation built on May 2, 2019, 3:18 p.m.