Re: Error Help

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue Nov 22 2011 - 10:21:35 MST

I asked Dave about this, and he said this looks like an old Macintosh style file.

Are you using some kind of Mac editor, and then doing a save-as in the old Mac format?

If so, you might try saving the file in a simple ASCII format.

--Mary

On Nov 22, 2011, at 9:52 AM, Mary Haley wrote:

> There's something wrong with the NCL script. It looks like there are no new lines in it.
>
> If you do "wc -l" on the file, which counts the number of lines, you get this:
>
> % wc -l nc2monavgID_RH.ncl
> 0 nc2monavgID_RH.ncl
>
> Note it returns "0".
>
> --Mary
>
> On Nov 22, 2011, at 5:40 AM, Idowu, Oluseun S. (UMKC-Student) wrote:
>
>> Dear Users,
>>
>> I tried running the attached script but return the error below. Thanks for your help in advance!
>>
>> rachel:idosam> ncl nc2monavgID_RH.ncl
>> Copyright (C) 1995-2011 - All Rights Reserved
>> University Corporation for Atmospheric Research
>> NCAR Command Language Version 6.0.0
>> The use of this software is governed by a License Agreement.
>> See http://www.ncl.ucar.edu/ for more details.
>> atal:syntax error: line 1 in file nc2monavgID_RH.ncl before or near
>>
>> ^
>>
>> fatal:error in statement
>>
>> <nc2monavgID_RH.ncl>_______________________________________________
>> 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

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Nov 22 10:21:46 2011

This archive was generated by hypermail 2.1.8 : Tue Nov 22 2011 - 14:17:52 MST