[Thread Prev][Thread Next][Index]
[las_users] Extracting file path for various data sets
Hi all,
Is there a way to get the file path as a string for each of my data sets? Specifically, I am looking for what comes after "FILEPATH" when LIST'ing a variable, and I would like it placed into a variable.
VARIABLE : thickness t grid (m)
FILEPATH : r8_riv/xSOw/1.0/
SUBSET : 27 points (Z (m))
This, coupled with LET path = {SPAWN:"pwd"}
will give me the full file path.
If it would be possible to have this variable exist for all my data sets, that would be even better! I can think of some very roundabout ways involving LIST'ing a variable that we know will exist and GREP'ing the output, but hope there's a better way.
Thanks!
Geoff Stanley
Climate Modelling Group
School of Earth and Ocean Sciences
University of Victoria
Victoria, BC
Canada
http://climate.uvic.ca/
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Privacy Policy | Disclaimer | Accessibility Statement