[Thread Prev][Thread Next][Index]

Re: [ferret_users] invalid command: grave accent doesnt evaluate to scalar




From the error message "invalid command: grave accent doesnt evaluate to scalar dep ge 50" its clear that dep is not scalar, The grave accent evaluation works only on a scalar.

For example

[akshay@localhost tmp]$ ferret
     NOAA/PMEL TMAP
     FERRET v6.93 
     Linux 2.6.32-504.el6.x86_64 64-bit - 11/13/14
     10-Feb-16 18:18    

yes? let array = {1, 2, 3, 4}
yes? say `array`
 **ERROR: invalid command: grave accent doesnt evaluate to scalar
          array
yes? let variable = 134445
yes? say `variable`
 !-> MESSAGE/CONTINUE 134445
134445

Hope now you can solve your problem


Regards,
Akshay Hegde
https://about.me/akshay.k.hegde









On Wed, Feb 10, 2016 at 11:53 AM, Venu <venux4@xxxxxxxxx> wrote:
Hi,

I am trying to run jnl file by using shell script. The following block showing the error "invalid command: grave accent doesnt evaluate to scalar dep ge 50".

repeat/k=1:`zulim` (let dep_min=pres[d=1,z=@min];let dep=pres[d=1,z=@max];if `dep ge 50` then (list/file=argo.txt/append/nolab 2001,12,17,latitude[d=1],longitude[d=1],sst_a[d=2,x=longitude[d=1],y=latitude[d=1],t=17-Dec-2001@itp],sla[d=3,x=longitude[d=1],y=latitude[d=1],t=17-Dec-2001@itp],temp[z=`dep_min`,d=1],psal[z=`dep_min`,d=1],1024.5*4000.5*temp[d=1,z=0:50@din]*1E-08,temp[d=1,z=50],1024.5*4000.5*temp[d=4,x=longitude[d=1],y=latitude[d=1],t=17-Dec-2001@itp,z=0:50@din]*1E-08,temp[z=50,d=4,x=longitude[d=1],y=latitude[d=1],l=12]) endif)

Please help me in resolving the issue.


Thanks & Regards....!!

Venu
-----------

Mobile:+91-8712404538
           +91-9573547538


"Now or Never...."


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

Privacy Policy | Disclaimer | Accessibility Statement