[gradsusr] Opening of two netcdf files in GrADS as an individual file

Muhammad Rahiz muhammad.rahiz at ouce.ox.ac.uk
Mon Feb 21 06:17:44 EST 2011


sdfopen file1.nc
var1 = u
close 1

sdfopen file2.nc
var2 = v

Once you've assigned the variables to objects, you can do the intended 
analysis e.g. to plot the difference, do

d var2-var1

-- 
Muhammad Rahiz
Researcher & DPhil Candidate (Climate Systems & Policy)
School of Geography & the Environment
University of Oxford

On Sun, 20 Feb 2011, phd0802 at pieas.edu.pk wrote:

>
> Hi All,
>
> I am new user of GrADS having two NetCDF files named as uwnd.1998.nc and
> vwnd.1998.nc. Both files are same in every aspect except nature of
> variables. One file has u-component of wind and other v-component. I want
> to plot the magnitude of wind (i.e. mag(u,v)),but don't know how to open
> these files in GrADS as an individual file. Can anybody help me. Thanks in
> advance.
>
> Sardar,
> PhD Student, PIEAS,
> Pakistan.
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>



More information about the gradsusr mailing list