Running NCL script from linux command line

From: Naoki Mizukami <mizukami_at_nyahnyahspammersnyahnyah>
Date: Wed Sep 18 2013 - 14:15:50 MDT


I try to run ncl script with #!/opt/ncl/bin/ncl or #!/usr/bin/env ncl at
top of script

so just I type ./<scripit_name> rather than ncl <script_name>.

I got error message
fatal:syntax error: line 1 in file ./Create_geo_grid_conus.ncl before or
near #

fatal:error in statement

but seems like the scripts runs actually.

Wondering if I am supposed to be able to do?


Naoki Mizukami
National Center for Atmospheric Research
3450 Mitchell Lane
Boulder, CO 80301
office FL2 3094H
phone  303-497-2739
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Wed Sep 18 14:15:58 2013

This archive was generated by hypermail 2.1.8 : Tue Oct 01 2013 - 14:41:43 MDT