Dear Christof
The correct way of running a script is to type (from the command line):
ncl test.ncl
You can read more about it from the NCL web page:
http://ncl.ucar.edu/get_started.shtml#RunningNCL
Regards,
Andrea
-- Andrea N. Hahmann Wind Energy Division Risų DTU Technical University of Denmark DTU Risų National Laboratory for Sustainable Energy Frederikborgvej 399, P.O. Box 49 Building 125 DK-4000 Roskilde, Denmark Direct +45 4677 5471 Fax +45 4677 5083 ahah@risoe.dk www.risoe.dtu.dk > From: Christof Wilhelm <christof.wilhelm@zmaw.de> > Date: Tue, 19 Jan 2010 09:31:33 +0100 > To: <ncl-talk@ucar.edu> > Subject: problems with running scripts > > Dear ncl-talk readers, > > I have encountered a strange problem when working with ncl. > > When I want to run ANY .ncl script I get this errormessage: > > ncl 0> test.ncl > fatal:syntax error: line 0 before or near . > test. > ----^ > > fatal:error in statement > > > This happens with ANY script also with the scripts from the NCL homepage > which all run at my colleagues computers. > > The really strange thing about this is further, that the single commands of > the script work nicely, when typed in seperately one after another and I get > the > desired output at the end!! > > Has somebody a solution for this?? > > Thanks for your help, > Christof > > > _______________________________________________ > 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-talkReceived on Tue Jan 19 01:46:23 2010
This archive was generated by hypermail 2.1.8 : Thu Jan 21 2010 - 13:54:45 MST