<div dir="ltr">Sure thing, thanks!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 20, 2020 at 11:33 AM Dave Allured - NOAA Affiliate <<a href="mailto:dave.allured@noaa.gov">dave.allured@noaa.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Glad it worked.  Please reply to the mailing list so that others searching for this solution will know what worked.  Thanks.</div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 20, 2020 at 11:26 AM Vanessa Vincente <<a href="mailto:vincente@ucar.edu" target="_blank">vincente@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I have commented out the export DISPLAY, PATH, and NCARG_ROOT commands. </div><div>I ran 'xterm' and an X11 terminal window popped up, thank you!</div><div><br></div><div>Cheers,</div><div>Vanessa</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 20, 2020 at 8:34 AM Ted Mansell <<a href="mailto:ted.mansell@noaa.gov" target="_blank">ted.mansell@noaa.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
Current Macs should not set DISPLAY at all -- it is automatically set up by the system. Try unsetting DISPLAY or comment the export command and start a new terminal. Then just try to run 'xterm' to test if X11 opens a terminal window.<br>
Hope that helps.<br>
-- Ted<br>
<br>
___________________________________________________<br>
| Edward Mansell <<a href="mailto:ted.mansell@noaa.gov" target="_blank">ted.mansell@noaa.gov</a>><br>
| National Severe Storms Laboratory<br>
| 120 David L. Boren Blvd.<br>
| Norman, OK 73072<br>
| Phone: (405) 325-6177  <br>
| FAX: (405) 325-2316<br>
|<br>
|------------------------------------------------------------------------------------<br>
|<br>
| "The contents of this message are mine personally and <br>
| do not reflect any position of the U.S. Government or NOAA."<br>
|<br>
|------------------------------------------------------------------------------------<br>
<br>
> On Apr 20, 2020, at 9:16 AM, Vanessa Vincente via ncl-install <<a href="mailto:ncl-install@ucar.edu" target="_blank">ncl-install@ucar.edu</a>> wrote:<br>
> <br>
> Hello,<br>
> <br>
> I checked to see if XQuartz was installed on my laptop.  I have XQuartz 2.7.11 installed. <br>
> <br>
> I tried the NCL command and still get the same errors:<br>
>  Copyright (C) 1995-2019 - All Rights Reserved<br>
>  University Corporation for Atmospheric Research<br>
>  NCAR Command Language Version 6.6.2<br>
>  The use of this software is governed by a License Agreement.<br>
>  See <a href="http://www.ncl.ucar.edu/" rel="noreferrer" target="_blank">http://www.ncl.ucar.edu/</a> for more details.<br>
>  GKS ERROR NUMBER -208 ISSUED FROM SUBROUTINE GOPWK :<br>
>  --X driver error: DISPLAY environment variable not set<br>
>  GKS ERROR NUMBER   25 ISSUED FROM SUBROUTINE GESC  :<br>
>  --SPECIFIED WORKSTATION IS NOT OPEN<br>
> fatal:Workstation with PID#8 is not open<br>
> fatal:Unable to open Workstation-Can't Create<br>
> fatal:Unable to access object with id:-4<br>
> fatal:_NhlCreate:Invalid Parent id #-4<br>
> fatal:PID #-4 can't be found in NhlSetValues<br>
> fatal:NhlDraw: Invalid Layer Id: -4<br>
> fatal:Unable to update Workstation with PID#-4<br>
> fatal:Unable to clear Workstation with PID#-4<br>
> fatal:["Execute.c":8637]:Execute: Error occurred at or near line 2742 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl<br>
> <br>
> fatal:["Execute.c":8637]:Execute: Error occurred at or near line 10231 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl<br>
> <br>
> fatal:["Execute.c":8637]:Execute: Error occurred at or near line 20 in file /Users/Vanessa/miniconda3/envs/ncl_stable/lib/ncarg/nclex/gsun/gsun02n.ncl<br>
> <br>
> <br>
> I tried the help page for setting the Display environment.<br>
> Below is a copy of my .bash_profile I edited:<br>
> <br>
> <br>
> # >>> conda initialize >>><br>
> # !! Contents within this block are managed by 'conda init' !!<br>
> __conda_setup="$('/Users/Vanessa/miniconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"<br>
> if [ $? -eq 0 ]; then<br>
>     eval "$__conda_setup"<br>
> else<br>
>     if [ -f "/Users/Vanessa/miniconda3/etc/profile.d/conda.sh" ]; then<br>
>         . "/Users/Vanessa/miniconda3/etc/profile.d/conda.sh"<br>
>     else<br>
>         export PATH="/Users/Vanessa/miniconda3/bin:$PATH"<br>
>     fi<br>
> fi<br>
> unset __conda_setup<br>
> # <<< conda initialize <<<<br>
> <br>
> # Settings for NCL<br>
> export NCARG_ROOT=/Users/Vanessa/miniconda3/envs/ncl_stable/bin/ncl<br>
> export PATH=$NCARG_ROOT/bin:$PATH<br>
> export DISPLAY=Vanessas-MacBook-Pro.local<br>
> ~<br>
> <br>
> Is there another step I can try to resolve the issue?<br>
> <br>
> Thanks!<br>
> Vanessa<br>
> <br>
> <br>
> On Sun, Apr 19, 2020 at 10:45 PM Dave Allured - NOAA Affiliate <<a href="mailto:dave.allured@noaa.gov" target="_blank">dave.allured@noaa.gov</a>> wrote:<br>
> I think that you may not have installed XQuartz properly.  Please follow the instructions under "Install XQuartz" on this page:<br>
> <br>
>     <a href="http://www.ncl.ucar.edu/Download/macosx.shtml" rel="noreferrer" target="_blank">http://www.ncl.ucar.edu/Download/macosx.shtml</a><br>
> <br>
> Make sure that after downloading the Xquartz.dmg file, you double click on this file and complete the installation procedure.  You may also need to restart your Mac after the install procedure.  Then retry the ncl test command.<br>
> <br>
> <br>
> On Sun, Apr 19, 2020 at 9:02 PM Vanessa Vincente via ncl-install <<a href="mailto:ncl-install@ucar.edu" target="_blank">ncl-install@ucar.edu</a>> wrote:<br>
> Hello,<br>
> <br>
> I am trying to install NCL on my macOS High Sierra laptop and I am having issues with testing NCL.<br>
>  <br>
> I have installed miniconda: <br>
> conda -V returns "conda 4.8.3"<br>
> <br>
> I have created the conda environment and called it "ncl_stable"<br>
> <br>
> I am testing NCL, step 1: <br>
> ncl -V returns "6.6.2"<br>
> <br>
> The issue I have is in step 2: <br>
> ncl $NCARG_ROOT/lib/ncarg/nclex/gsun/gsun02n.ncl<br>
> <br>
> this returns...<br>
>  Copyright (C) 1995-2019 - All Rights Reserved<br>
>  University Corporation for Atmospheric Research<br>
>  NCAR Command Language Version 6.6.2<br>
>  The use of this software is governed by a License Agreement.<br>
>  See <a href="http://www.ncl.ucar.edu/" rel="noreferrer" target="_blank">http://www.ncl.ucar.edu/</a> for more details.<br>
>  GKS ERROR NUMBER -208 ISSUED FROM SUBROUTINE GOPWK :<br>
>  --X driver error: DISPLAY environment variable not set<br>
>  GKS ERROR NUMBER   25 ISSUED FROM SUBROUTINE GESC  :<br>
>  --SPECIFIED WORKSTATION IS NOT OPEN<br>
> fatal:Workstation with PID#8 is not open<br>
> fatal:Unable to open Workstation-Can't Create<br>
> fatal:Unable to access object with id:-4<br>
> fatal:_NhlCreate:Invalid Parent id #-4<br>
> fatal:PID #-4 can't be found in NhlSetValues<br>
> fatal:NhlDraw: Invalid Layer Id: -4<br>
> fatal:Unable to update Workstation with PID#-4<br>
> fatal:Unable to clear Workstation with PID#-4<br>
> fatal:["Execute.c":8637]:Execute: Error occurred at or near line 2742 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl<br>
> <br>
> fatal:["Execute.c":8637]:Execute: Error occurred at or near line 10231 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl<br>
> <br>
> fatal:["Execute.c":8637]:Execute: Error occurred at or near line 20 in file /Users/Vanessa/miniconda3/envs/ncl_stable/lib/ncarg/nclex/gsun/gsun02n.ncl<br>
> <br>
> Below is the output requested from help page:<br>
> (ncl_stable) Vanessas-MacBook-Pro:~ Vanessa$ conda list -n ncl_stable<br>
> # packages in environment at /Users/Vanessa/miniconda3/envs/ncl_stable:<br>
> #<br>
> # Name                    Version                   Build  Channel<br>
> boost-cpp                 1.72.0               hdf9ef73_0    conda-forge<br>
> bzip2                     1.0.8                h0b31af3_2    conda-forge<br>
> ca-certificates           2020.4.5.1           hecc5488_0    conda-forge<br>
> cairo                     1.16.0            hec6a9b0_1003    conda-forge<br>
> certifi                   2020.4.5.1       py38h32f6830_0    conda-forge<br>
> cfitsio                   3.470                h84d2f63_2    conda-forge<br>
> curl                      7.69.1               h2d98d24_0    conda-forge<br>
> esmf                      8.0.0           nompi_hee103b1_6    conda-forge<br>
> expat                     2.2.9                h4a8c4bd_2    conda-forge<br>
> fontconfig                2.13.1            h6b1039f_1001    conda-forge<br>
> freetype                  2.10.1               h8da9a1a_0    conda-forge<br>
> freexl                    1.0.5             h1de35cc_1002    conda-forge<br>
> geos                      3.8.1                h4a8c4bd_0    conda-forge<br>
> geotiff                   1.5.1               hd8796ba_10    conda-forge<br>
> gettext                   0.19.8.1          h46ab8bc_1002    conda-forge<br>
> giflib                    5.2.1                h0b31af3_2    conda-forge<br>
> glib                      2.64.2               h577aef8_0    conda-forge<br>
> gsl                       2.6                  ha2d443c_0    conda-forge<br>
> hdf4                      4.2.13            h84186c3_1003    conda-forge<br>
> hdf5                      1.10.5          nompi_h3e39495_1104    conda-forge<br>
> hdfeos2                   2.20              h207910d_1000    conda-forge<br>
> hdfeos5                   5.1.16               h60f75e3_5    conda-forge<br>
> icu                       64.2                 h6de7cb9_1    conda-forge<br>
> jasper                    1.900.1           h636a363_1006    conda-forge<br>
> jpeg                      9c                h1de35cc_1001    conda-forge<br>
> json-c                    0.13.1            h1de35cc_1001    conda-forge<br>
> kealib                    1.4.13               h2324030_0    conda-forge<br>
> krb5                      1.17.1               h1752a42_0    conda-forge<br>
> libblas                   3.8.0               14_openblas    conda-forge<br>
> libcblas                  3.8.0               14_openblas    conda-forge<br>
> libcurl                   7.69.1               hc0b9707_0    conda-forge<br>
> libcxx                    10.0.0                        0    conda-forge<br>
> libdap4                   3.20.4               habf5908_0    conda-forge<br>
> libedit                   3.1.20170329      hcfe32e1_1001    conda-forge<br>
> libffi                    3.2.1             h4a8c4bd_1007    conda-forge<br>
> libgdal                   3.0.4                ha92c1e4_6    conda-forge<br>
> libgfortran               4.0.0                         2    conda-forge<br>
> libiconv                  1.15              h0b31af3_1006    conda-forge<br>
> libkml                    1.3.0             h169b8f9_1011    conda-forge<br>
> libnetcdf                 4.7.4           nompi_he461dc0_101    conda-forge<br>
> libopenblas               0.3.7                h3d69b6c_4    conda-forge<br>
> libpng                    1.6.37               hbbe82c9_1    conda-forge<br>
> libpq                     12.2                 h489d428_1    conda-forge<br>
> libspatialite             4.3.0a            h658e6c1_1038    conda-forge<br>
> libssh2                   1.8.2                hcdc9a53_2    conda-forge<br>
> libtiff                   4.1.0                h2ae36a8_6    conda-forge<br>
> libwebp-base              1.1.0                h0b31af3_3    conda-forge<br>
> libxml2                   2.9.10               h53d96d6_0    conda-forge<br>
> llvm-openmp               8.0.1                h770b8ee_0    conda-forge<br>
> lz4-c                     1.9.2                h4a8c4bd_0    conda-forge<br>
> ncl                       6.6.2               h0197cca_20    conda-forge<br>
> ncurses                   6.1               h0a44026_1002    conda-forge<br>
> netcdf-fortran            4.5.2           nompi_h0361502_104    conda-forge<br>
> openjpeg                  2.3.1                h254dc36_3    conda-forge<br>
> openmp                    8.0.1                         0    conda-forge<br>
> openssl                   1.1.1f               h0b31af3_0    conda-forge<br>
> pcre                      8.44                 h4a8c4bd_0    conda-forge<br>
> pip                       20.0.2                     py_2    conda-forge<br>
> pixman                    0.38.0            h01d97ff_1003    conda-forge<br>
> poppler                   0.67.0               h16886b5_8    conda-forge<br>
> poppler-data              0.4.9                         1    conda-forge<br>
> postgresql                12.2                 h62ab893_1    conda-forge<br>
> proj                      7.0.0                hbce2d5c_3    conda-forge<br>
> python                    3.8.2           hd5f0129_6_cpython    conda-forge<br>
> python_abi                3.8                      1_cp38    conda-forge<br>
> readline                  8.0                  hcfe32e1_0    conda-forge<br>
> setuptools                46.1.3           py38h32f6830_0    conda-forge<br>
> sqlite                    3.30.1               h93121df_0    conda-forge<br>
> tbb                       2018.0.5             h2d50403_0    conda-forge<br>
> tiledb                    1.7.7                h84aa2a7_1    conda-forge<br>
> tk                        8.6.10               hbbe82c9_0    conda-forge<br>
> tzcode                    2019a             h01d97ff_1002    conda-forge<br>
> udunits2                  2.2.27.6          h776b7f1_1001    conda-forge<br>
> wheel                     0.34.2                     py_1    conda-forge<br>
> xerces-c                  3.2.2             h8f8adb3_1004    conda-forge<br>
> xz                        5.2.5                h0b31af3_0    conda-forge<br>
> zlib                      1.2.11            h0b31af3_1006    conda-forge<br>
> zstd                      1.4.4                h4b3e974_3    conda-forge<br>
> (ncl_stable) Vanessas-MacBook-Pro:~ Vanessa$ conda --version<br>
> conda 4.8.3<br>
> (ncl_stable) Vanessas-MacBook-Pro:~ Vanessa$ which ncl<br>
> /Users/Vanessa/miniconda3/envs/ncl_stable/bin/ncl<br>
> (ncl_stable) Vanessas-MacBook-Pro:~ Vanessa$ ncl -V<br>
> 6.6.2<br>
> (ncl_stable) Vanessas-MacBook-Pro:~ Vanessa$ env | grep NCARG<br>
> OLD_NCARG_ROOT=/Users/Vanessa/miniconda3/envs/ncl_stable/bin/ncl<br>
> NCARG_ROOT=/Users/Vanessa/miniconda3/envs/ncl_stable<br>
> <br>
> Can you please help me with running the tests for NCL and getting it to work properly?<br>
> <br>
> Many thanks in advance for your help,<br>
> Vanessa<br>
> <br>
> <br>
> -- <br>
> Vanessa Vincente<br>
> Associate Scientist<br>
> The COMET® Program<br>
> University Corporation for Atmospheric Research<br>
> <br>
> *My working hours may differ from your own.  Please do not feel obligated to reply outside of standard business hours.*<br>
> _______________________________________________<br>
> ncl-install mailing list<br>
> List instructions, subscriber options, unsubscribe:<br>
> <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br>
> <br>
> <br>
> -- <br>
> Vanessa Vincente<br>
> Associate Scientist<br>
> The COMET® Program<br>
> University Corporation for Atmospheric Research<br>
> <br>
> *My working hours may differ from your own.  Please do not feel obligated to reply outside of standard business hours.*<br>
> _______________________________________________<br>
> ncl-install mailing list<br>
> List instructions, subscriber options, unsubscribe:<br>
> <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br>
<br>
<br>
<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font color="#000000">Vanessa Vincente<br>Associate Scientist<br>The COMET® Program<br>University Corporation for Atmospheric Research<br></font><br>*My working hours may differ from your own.  Please do not feel obligated to reply outside of standard business hours.*<div dir="ltr"></div></div></div></div></div></div></div></div></div></div>
</blockquote></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font color="#000000">Vanessa Vincente<br>Associate Scientist<br>The COMET® Program<br>University Corporation for Atmospheric Research<br></font><br>*My working hours may differ from your own.  Please do not feel obligated to reply outside of standard business hours.*<div dir="ltr"></div></div></div></div></div></div></div></div></div></div>