Utility function for ereefs package

get_file_stem(filename)

Arguments

filename

A netcdf filename from an EMS model run

Value

a character string