[Thread Prev][Thread Next][Index]

Re: [ferret_users] pseudo dataset name



Hi David,
You can specify the whole path in your expressions, if you do it in the same way that you did in your SET DATA command

yes? set data "./sub_dir_1/datfile.nc"
yes? set data "./sub_dir_2/datfile.nc"

yes? shade  a[d=./sub_dir_1/datfile.nc] - a[d=./sub_dir_2/datfile.nc]

  or

yes? use "/home/porter/ansley/sub1/along.nc"
yes? use "/home/porter/ansley/sub2/along.nc"
yes? plot a[d=/home/porter/ansley/sub1/along.nc] - a[d=/home/porter/ansley/sub2/along.nc]

The text you specify for the path must match what's given by

yes? say `a,return=dsetpath`


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


--

~> ~> ~> ~> ~> ~> ~> ~> ~> ~> ~>
Ansley Manke, NOAA/PMEL   ansley.b.manke@xxxxxxxx
7600 Sand Point Way NE, Seattle WA
Phone 206-526-6246,  FAX 206-526-6744




[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement