[Thread Prev][Thread Next][Index]

Re: [ferret_users] Calculations between different time axis



Hi Paulo,

You need to re-grid the data to a common time axis. The simplest way is to re-grid the data from year 2 onto the year 1 time axis. I'll illustrate with a hypothetical ferret session:

use "model_output_year_1.nc"
use "model_output_year_2.nc"

let var_yr1 = var[d=1]
let var_yr2 = var[d=2]
let var_yr2_new_t = var_yr[gt=var_yr1]

!Plot differences
fill/z=1000/l=1 var_yr1 - var_yr2_new_t

----
Take a look at the ferret documentation on re-gridding - ferret makes it quite straightforward for all kinds of re-gridding operations.

http://ferret.pmel.noaa.gov/Ferret/documentation/users-guide/Grids-Regions/GRIDS#_VPID_197

Cheers,

Paul



On Aug 11, 2009, at 1:11 PM, Paulo Santiago wrote:

Hi Ferreters,

I would like to calculate the differences between data with different time axis.

The data are results from the same model (same xyz grid) for different years.

I believe there's a simple and elegant way to do this task with Ferret, but I can't imagine how.

Thanks in advance.

--
Paulo Santiago



[Thread Prev][Thread Next][Index]

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

Privacy Policy | Disclaimer | Accessibility Statement