<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Dear Mary,<br><br>I am trying to run NCL from Cygwin using the shell bashrc, but I can´t. I edited the .bashrc file with vim editor writing, as stated in http://www.ncl.ucar.edu/Download/cygwin.shtml#InstallCygwinX:¡, the following lines at the end:<br><pre>export NCARG_ROOT=/usr/local
export PATH=/usr/local/bin:$PATH<br>export DISPLAY=:0.0<br><br>If I call for the verion of the program it responds:<br><br><font style="" color="#666666">Lucia@Lucia-PC ~</font><font style="" color="#666666"><br></font><font style="" color="#666666">$ ncl -V</font><font style="" color="#666666"><br></font><font style="" color="#666666">6.1.2</font><font style="" color="#666666"><br></font><br></pre>I am trying to run the code in the file <a href="http://www.ncl.ucar.edu/Applications/Scripts/gpcp_1DD.bin2nc.ncl." target="_blank">http://www.ncl.ucar.edu/Applications/Scripts/gpcp_1DD.bin2nc.ncl.</a> To transform some binary files to .nc. The file with the code is located in /usr/local. The folders with the binary files are in /usr/loca/GPCPbinary. And I want the output in GPCPnetcdf.<br><br>Could you please help me solving the problem?<br><br>Here is the code that I typed:<br><font style="" color="#666666"><br></font><font style="" color="#666666">Lucia@Lucia-PC ~</font><font style="" color="#666666"><br></font><font style="" color="#666666">$ cd /usr/local</font><font style="" color="#666666"><br></font><font style="" color="#666666"><br></font><font style="" color="#666666">Lucia@Lucia-PC /usr/local</font><font style="" color="#666666"><br></font><font style="" color="#666666">$ ls</font><font style="" color="#666666"><br></font><font style="" color="#666666">bin gpcp_1DD.bin2nc.ncl GPCPbinary GPCPnetcdf include lib ncl.stackdump</font><font style="" color="#666666"><br></font><font style="" color="#666666"><br></font><font style="" color="#666666">Lucia@Lucia-PC /usr/local</font><font style="" color="#666666"><br></font><font style="" color="#666666">$ ncl gpcp_1DD.bin2nc.ncl</font><font style="" color="#666666"><br></font><font style="" color="#666666"> Copyright (C) 1995-2013 - All Rights Reserved</font><font style="" color="#666666"><br></font><font style="" color="#666666"> University Corporation for Atmospheric Research</font><font style="" color="#666666"><br></font><font style="" color="#666666"> NCAR Command Language Version 6.1.2</font><font style="" color="#666666"><br></font><font style="" color="#666666"> The use of this software is governed by a License Agreement.</font><font style="" color="#666666"><br></font><font style="" color="#666666"> See http://www.ncl.ucar.edu/ for more details.</font><font style="" color="#666666"><br></font><font style="" color="#666666">warning:Unable to Get System Resource File Name?</font><font style="" color="#666666"><br></font><font style="" color="#666666">warning:Unable to load System Resource File (null)</font><font style="" color="#666666"><br></font><font style="" color="#666666">fatal:GetSysAppDir:Unable to get a default value for the system App Resource directory</font><font style="" color="#666666"><br></font><font style="" color="#666666">warning:["Resources.c":734]:Unable to set appSysDir to default value - Using NULL</font><font style="" color="#666666"><br></font><font style="" color="#666666">fatal:GetSysAppDir:Unable to get a default value for the system App Resource directory</font><font style="" color="#666666"><br></font><font style="" color="#666666">warning:["Resources.c":734]:Unable to set appSysDir to default value - Using NULL</font><font style="" color="#666666"><br></font><font style="" color="#666666">warning:Unable to Get System Resource File Name?</font><font style="" color="#666666"><br></font><font style="" color="#666666">warning:WorkstationClassInitialize:Unable to access rgb color database - named colors unsupp orted:[errno=2]</font><font style="" color="#666666"><br></font><font style="" color="#666666">NDV_COLORMAP_PATH environment variable not set:</font><font style="" color="#666666"><br></font><font style="" color="#666666"> defaulting to .:$NCARG_ROOT/lib/ncarg/colormaps</font><font style="" color="#666666"><br></font><font style="" color="#666666">warning:["Palette.c":1844]:NhlLoadColormapFiles: Invalid directory encountered in colormap p ath specification</font><font style="" color="#666666"><br></font><font style="" color="#666666">Segmentation fault (core dumped)</font><font style="" color="#666666"><br></font><br>Thank you very much!<br>Lucía<br>                                            </div></body>
</html>