[Thread Prev][Thread Next][Index]
Re: [ferret_users] pseudo dataset name
Hi David -
Use symbolic links:
sp ln -s /path/name/directory_one/dataset.cdf dataset1.cdf
sp ln -s /path/name/directory_two/dataset.cdf dataset2.cdf
use dataset1.cdf
use dataset2.cdf
plot variable[dataset1],variable[dataset2]
As was discussed here only a few months ago, you can also use this
method to deal with long path names:
sp ln -s /very/long/path/including/many/subdirectories/filename.cdf
temp_name.cdf
use temp_name.cdf
..... work with the file .....
sp rm temp_name.cdf ! clean-up after use
Billy K
On Apr 6, 2007, at 8:27 PM, David Wang wrote:
Hello Ferreters,
I'm not sure this is available or can be made available in FERRET.
I found that if I have two datasets having the same filename but in
two different directories, both opened within a FERRET session. Now
if I want to refer both in square brackets in a single expression,
I cannot use dataset names simply because the two have the same
filename (and FERRET doesn't accept filenames with a full path in
square brackets). Of course one can always refer them by their
dataset numbers. But occasionally that could be confusing (such as
you don't know how many datasets have already been opened). So my
question is, is it possible to give a dataset a user-defined pseudo
name when opening it, which can be used uniquely to identify the
dataset later on?
Thanks,
David
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Privacy Policy | Disclaimer | Accessibility Statement