Hi all,
I have a relatively simple problem, however, I am currently unable to do it in ferret.
Say I have two files:
yes? show data currently SET data sets: 1> /cs/datastore/csdar/cec006/ocean/ipcc/data/PIcntrl/O1b/run1/stfmmc_O1b_1871-2250_PIcntrl_run1.nc name title I J K L STFMMC Meridional Overturning Streamfu 1:189 1:31 1:4 1:4560
2> /cs/datastore/csdar/cec006/ocean/ipcc/data/PIcntrl/O1b/run1/stfmmc_O1ba_1871-2250_PIcntrl_run1_1961-1990_20C3M_run1.nc (default) name title I J K L STFMMC Meridional Overturning Streamfu 1:189 1:31 1:4 1:4560
Which correspond to each other exactly, however, in this case the first is a monthly time-series, and the second a monthly times-series of anomalies relative to a base climatology. I would like to find the value of the 2nd file at x,y (lat. V dep. In this case) where there is a maximu value at x,y in the 1st file.
To plot the maximum value of the first value is easy,
plot stfmmc[d=1,k=1,y=@max,x=@max]
it is the vaues of x and y where the maximum value was find in the 1st file which I want to plot a corresponding time-series of the 2nd file.
I was trying to use @loc to do this, but it can only examine one axis at a time – I need to be able to get x and y simultaneously.
Many thanks, Mark. |