Re: how to see variables and their dimensions in ncl

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Sep 16 2010 - 10:47:51 MDT

Hi Sudheer,

The "diagnostics.ncl" reference in the documentation is an error. It should be "diagnostics_cam.ncl". There's no need to create a soft link. Just change your script to load "diagnostics_cam.ncl" instead.

I'll correct the documentation.

--Mary

On Sep 15, 2010, at 1:29 AM, Sudheer Joseph wrote:

> Thank you Mary
> I had posted the below question to ncl-talk but I am not sure if it is successfully posted to the group as I did not see a copy of the mail. Can you please post it correctly or answer the below question??
>
>
> Dear Ncl Guru,
> I was trying to use the csm functions and trying to follow an example given at
> http://www.ncl.ucar.edu/Document/Functions/Diagnostics/band_pass_latlon_time.shtml
> As I could not locate diagnostics.ncl in $NCARG_ROOT/lib/ncarg/nclscripts/csm/
> I made a soft link of
> by ln -s diagnostics_cam.ncl diagnostics.ncl.
> Am I correct in doing so? is it a name difference only or the 2 files are really different?. if so where can I download the file?
>
>
> I was getting errors on calling function
> I tried the below change
> band_pass_latlon_time (x(:,{latS:latN},{lonL:lonR}),srate, bpf, wgty({latS:latN}), opt)
>
>
> but function gave an error saying it expects only 4 arguments. I had the impression that
>
> Is ncl interprets this differently??
>
>
> bpass = band_pass_latlon_time (x(:,{latS:latN},{lonL:lonR} \
>
>
>
> as below
>
> fatal:syntax error: line 21 in file bpas_xyt.ncl before or near \n
> ,srate,bpf,wgty({latS:latN}),opt)
> -----------------------------------^
>
> fatal:Variable (bpass) is undefined
> fatal:Execute: Error occurred at or near line 22 in file bpas_xyt.ncl
>
>
> fatal:Variable (bpass) is undefined
> fatal:Execute: Error occurred at or near line 23 in file bpas_xyt.ncl
> is "\" simply a new line character and whether a closing bracket is required for completing the definition of x??.
> ,srate, bpf, wgty({latS:latN}), opt)
>
>
>
>
> with best regards
>>
>> Sudheer
>>
>> **********************************************************************************
>> Sudheer Joseph
>> Scientist
>> Indian National Centre for Ocean Information Services (INCOIS)
>> Ocean Valley, Post Box No# 21,
>> IDA Jeedimetla P.O.
>> Hyderabad, Ranga Reddy District - 500 055
>> Andhra Pradesh, India.
>> TEl:+91-40-23044600(R),Tel:+91-9440832534(Mobile)
>> Tel:+91-40-23886047(O),Fax:+91-40-23892910(O)
>> E-mail:sjo@rediffmail.com; sudheer.joseph@yahoo.com; sjo@incois.gov.in.
>> Web- http://oppamthadathil.tripod.com
>> --------------* ---------------
>> "The ultimate measure of a man is
>> not where he stands in moments of
>> comfort and convenience, but where
>> he stands at times of challenge and
>> controversy."
>> Martin Luther King, Jr.
>> "What we have done for ourselves alone dies with us.
>> What we have done for others and the world remains and is immortal."
>> - Albert Pines
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
>
>
> --
> with best regards
>
> Sudheer
>
> **********************************************************************************
> Sudheer Joseph
> Scientist
> Indian National Centre for Ocean Information Services (INCOIS)
> Ocean Valley, Post Box No# 21,
> IDA Jeedimetla P.O.
> Hyderabad, Ranga Reddy District - 500 055
> Andhra Pradesh, India.
> TEl:+91-40-23044600(R),Tel:+91-9440832534(Mobile)
> Tel:+91-40-23886047(O),Fax:+91-40-23892910(O)
> E-mail:sjo@rediffmail.com; sudheer.joseph@yahoo.com; sjo@incois.gov.in.
> Web- http://oppamthadathil.tripod.com
> --------------* ---------------
> "The ultimate measure of a man is
> not where he stands in moments of
> comfort and convenience, but where
> he stands at times of challenge and
> controversy."
> Martin Luther King, Jr.
> "What we have done for ourselves alone dies with us.
> What we have done for others and the world remains and is immortal."
> - Albert Pines
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Sep 16 09:47:59 2010

This archive was generated by hypermail 2.1.8 : Thu Sep 16 2010 - 11:05:24 MDT