[Thread Prev][Thread Next][Index]

Re: [ferret_users] querry_correlation


use 1.nc
use 2.nc

!!!!!! reading variable form files 1.nc and 2.nc
let my_new_var_1= old_var_1[d=1]
let my_new_var_2= old_var_2[d=2]

let p= my_new_var_1
let q= my_new_var_2[gxy=my_new_var_1]    
!!!! gxy=my_var_1 means you are making equal grid for both variable

go variance

list/x=85/y=16 correl         !!! for listing the value of correlation at that grid point
fill correl                          !!!  for spatial plot of correlation

Apart from this you can use ferret mail archive and search correlation script. i hope this helps you and please wait for others reply also for confirmation. in mean time you can try out this script.


On Wed, Apr 6, 2016 at 10:49 AM, Tania Guha <tania.guha@xxxxxxxxxxxxxx> wrote:
Dear Ferret users

I am using FERRET v6.95 on Linux.

I have two .nc files.File 1.nc has one variable- CO2 conc and file 2.nc has other variable OLR. Both the .nc file have the same grid 0.5x0.5 and both the nc file is a single day file. I want to find correlation between two variables at every grid.

Please help...

with reagrds
Dr. Tania Guha



Saurabh Rathore
M.Tech (Earth System Sciences & Technology)
Centre For Oceans, Rivers, Atmosphere & Land Science Technology
Indian Institute Of Technology, Kharagpur
contact :- 91- 8345984434

[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement