<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="margin:0;">Hi,</div><div style="margin:0;">Recently I installed NCL in Cygwin, when I run the sample script,I received the following error messages:</div><div style="margin:0;"><br></div><div style="margin:0;"><div style="margin:0;">ncl xy04n.ncl</div><div style="margin:0;">warning:Unable to load System Resource File /usr/local/lib/ncarg/sysresfile</div><div style="margin:0;">warning:WorkstationClassInitialize:Unable to access rgb color database - named colors unsupported:[errno=2]</div><div style="margin:0;">warning:["Palette.c":1533]:NhlLoadColormapFiles: Invalid colormap directory: /usr/local/lib/ncarg/colormaps</div><div style="margin:0;">      1 [main] ncl 9380 cygwin_exception::open_stackdumpfile: Dumping stack trace to ncl.exe.stackdump</div><div><br></div><div>I set NCARG_ROOT in my ~/.bashrc file with the content following:</div><div><br></div><div><div>export NCARG_ROOT=/usr/local</div><div>export PATH=/usr/local/bin:$PATH</div><div>export DISPLAY=:0.0</div></div><div><br></div><div>I read NCL FAQ, it says it is likely the NCARG_ROOT is not set correctly, but when I visit '/usr/local/lib/ncarg/sysresfile' file by 'vi /usr/local/lib/ncarg/sysresfile', it shows i can access it.</div><div>I can access /usr/local/lib/ncarg/colormaps directory too.</div><div>This means NCARG_ROOT is set correctly. </div><div>What's the problem?Any suggestions will be appreciated.</div><div><br></div><div>Thank you!</div><div><br></div></div></div><br><br><span title="neteasefooter"><p> </p></span>