Sublime Forum

Exit code 1 and no output

#1

I use the sublime text 3 and install the python, NCL package for study.

Python works well but ncl have a problem.

The code is very short, but any result does not be shown.

================================================

load “$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl”
load “$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl”
load “$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl”

begin

a = 3
print(a)

end

================================================
[Finished in 0.0s with exit code 1]
[shell_cmd: cd C:\Users\SJLEE\Desktop\Python_sjlee; ncl C:\Users\SJLEE\Desktop\Python_sjlee\a.ncl]
[dir: C:\Users\SJLEE\Desktop\Python_sjlee]
[path: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Users\SJLEE\Anaconda3;C:\Users\SJLEE\Anaconda3\Library\mingw-w64\bin;C:\Users\SJLEE\Anaconda3\Library\usr\bin;C:\Users\SJLEE\Anaconda3\Library\bin;C:\Users\SJLEE\Anaconda3\Scripts]

===========================

this is my ncl code and error.

i have no idea why this problem happen.

i need your help

1 Like