[ncl-talk] SYSTEMFUNC ; running AWK script within NCL script

Geeta Geeta geetag54 at yahoo.com
Wed Feb 14 23:09:49 MST 2018


HiI have to run an awk script giving two different files as input to the awk statement. Ie the input to awk script has to be fed dynamically. 
For this I am reading the files using ncl and using sytemfunc command. 
I have tried two ways (as shown in the lines 17 and 29 of my NCL code). But none seems to work. 

I have sent the input files (untitled1 and 2), awkfile and my NCL script. Can someone provide me the clue of what is going wroug??? Geeta.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180215/b02e7e5d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Untitled1
Type: application/octet-stream
Size: 5833 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180215/b02e7e5d/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Untitled2
Type: application/octet-stream
Size: 4240 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180215/b02e7e5d/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NCL1.ncl
Type: application/octet-stream
Size: 843 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180215/b02e7e5d/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: awkfile1.sh
Type: application/x-shellscript
Size: 319 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180215/b02e7e5d/attachment.bin>


More information about the ncl-talk mailing list