Re: ncl-talk Digest, Vol 88, Issue 33

From: zilore mumba <zmumba_at_nyahnyahspammersnyahnyah>
Date: Fri Mar 18 2011 - 07:46:14 MDT

Assistance sought,
Being new to ncl, I am still learning to use the documentation. I have a data
file in NetCdf format. I tried to make a contour plot using native_2.ncl. I have
defined as in the code snippet below my variable p and lon ,lat. I get the error
"either file (f1) isn't defined or the variable (lat) is not a variable in the
What is the correct way to do it?
Assistance will be appreciated.

load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
 f1 = addfile("","r")
 lat  = p->lat
 lon  = p->lon
 nlat = dimsizes(lat)
 nlon = dimsizes(lon)

ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Fri Mar 18 07:53:00 2011

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2011 - 16:15:59 MDT