Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
I want to dynamically generate each image file based on each file ${file}, but that file contains path and link from a location I only have read permission, my question is: How can I extract the (only) file name (without file extension) from ${file}? Say ${file}="/myserver/mydirectory/myfile1.nc" Is there any way I can extract just myfile1 from ${file}?
There is another property that was not in the documentation (it is now) ${filetail} which is the filename, e.g.
"myfile1.nc"I will also add a filetailnosuffix and filenosuffix which would have the file suffix stripped off.
-Jeff
idvdevelopers
archives: