<div dir="ltr"><div>The 'fix' suggested by Rick Brownrigg:</div><div>===<br></div><div>I might add that we have been getting recent reports of 
ncl_filedump SEGV-ing on Ubuntu systems. We don't have access at the 
moment to such a system to verify and track down the problem. However, 
as I recall, the issue is related to the C-shell (csh) on those systems 
(ncl_filedump is actually a C-shell script that ultimately calls into 
NCL to do the work).  If your system is indeed Ubuntu, a work-around 
seems to be to use the tahoe-shell instead (<span class="gmail-il">tcsh</span>).  <b>That can be done by editing ncl_filedump, replacing the first line:</b></div><div><b><br></b></div><div><b>    #!/bin/csh -f</b></div><div><b><br></b></div><div><b>with <br></b></div><div><b><br></b></div><div><b>   #!/bin/<span class="gmail-il">tcsh</span> -f</b></div><div><br></div><div>---</div><div><b>Also, for ncl_convert2nc and WRAPIT</b><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 12, 2019 at 6:44 AM Jing Tang via ncl-install <<a href="mailto:ncl-install@ucar.edu">ncl-install@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"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif"">Hi, <span></span></p>

<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif"">I am trying to use <span class="gmail-m_-7037055661557567934gmail-il">ncl</span> to convert some of downloaded MODIS
hdf file to nc.  Please see the error message below. <span></span></p>

<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif"">The same error when I type ncl_filedump or ncl_convert2nc<span></span></p>

<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif"">


















<span style="font-size:11pt;font-family:"Calibri","sans-serif""><img style="margin-right: 0px;" width="0" height="0"><i>>ncl_convert2nc MCD12Q1.A2012001.h18v01.006.2018055002712.hdf <br>Processing file: MCD12Q1.A2012001.h18v01.006.2018055002712.hdf...<br>Segmentation fault (core dumped)</i><br></span>



<br><span></span></p>

<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif"">I used conda installed <span class="gmail-m_-7037055661557567934gmail-il">ncl</span>, and had no problem when running
these test command after installation. <span></span></p>

<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif""><span style="font-size:10pt;font-family:"Courier New"">><span class="gmail-m_-7037055661557567934gmail-il">ncl</span>
$NCARG_ROOT/lib/ncarg/nclex/gsun/gsun02n.<span class="gmail-m_-7037055661557567934gmail-il">ncl</span><span></span></span></p>

<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif""><span style="font-size:10pt;font-family:"Courier New"">><span class="gmail-m_-7037055661557567934gmail-il">ncl</span>
$NCARG_ROOT/lib/ncarg/nclex/nug/NUG_multi_timeseries.<span class="gmail-m_-7037055661557567934gmail-il">ncl</span><span></span></span></p>

<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif""><span style="font-size:10pt;font-family:"Courier New""><span> </span></span></p>

<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif""><span style="font-size:10pt;font-family:"Courier New""><span> </span></span></p>

<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif""><span style="font-size:10pt;font-family:"Courier New"">Here
are the required information: <span></span></span></p>

<pre style="margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:"Courier New""><br></pre><pre style="margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:"Courier New"">>conda list -n <i>ncl_stable</i><span></span></pre>

<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif""><span style="font-size:10pt;font-family:"Courier New""><span> # packages in environment at /home/jing/miniconda2/envs/ncl_stable:<br>#<br># Name                    Version                   Build  Channel<br>boost-cpp                 1.68.0            h11c811c_1000    conda-forge<br>bzip2                     1.0.6             h14c3975_1002    conda-forge<br>ca-certificates           2019.3.9             hecc5488_0    conda-forge<br>cairo                     1.16.0            ha4e643d_1000    conda-forge<br>certifi                   2019.3.9                 py37_0    conda-forge<br>cfitsio                   3.430             h0bd2449_1002    conda-forge<br>cftime                    1.0.3.4         py37hd352d35_1001    conda-forge<br>curl                      7.64.1               hf8cf82a_0    conda-forge<br>esmf                      7.1.0             hdfb41a0_1004    conda-forge<br>expat                     2.2.5             hf484d3e_1002    conda-forge<br>fontconfig                2.13.1            he4413a7_1000    conda-forge<br>freetype                  2.10.0               he983fc9_0    conda-forge<br>freexl                    1.0.5             h14c3975_1002    conda-forge<br>geos                      3.7.1             hf484d3e_1000    conda-forge<br>geotiff                   1.5.1                h560c3f3_2    conda-forge<br>gettext                   0.19.8.1          hc5be6a0_1002    conda-forge<br>giflib                    5.1.7                h516909a_1    conda-forge<br>glib                      2.58.3            hf63aee3_1001    conda-forge<br>gsl                       2.4               h294904e_1006    conda-forge<br>hdf4                      4.2.13            h9a582f1_1002    conda-forge<br>hdf5                      1.10.4          nompi_h3c11f04_1106    conda-forge<br>hdfeos2                   2.20              h64bfcee_1000    conda-forge<br>hdfeos5                   5.1.16               hccfc538_4    conda-forge<br>icu                       58.2              hf484d3e_1000    conda-forge<br>jasper                    1.900.1           h07fcdf6_1006    conda-forge<br>jpeg                      9c                h14c3975_1001    conda-forge<br>json-c                    0.13.1            h14c3975_1001    conda-forge<br>kealib                    1.4.10            h1978553_1003    conda-forge<br>krb5                      1.16.3            h05b26f9_1001    conda-forge<br>libblas                   3.8.0               10_openblas    conda-forge<br>libcblas                  3.8.0               10_openblas    conda-forge<br>libcurl                   7.64.1               hda55be3_0    conda-forge<br>libdap4                   3.19.1            hd48c02d_1000    conda-forge<br>libedit                   3.1.20170329      hf8c457e_1001    conda-forge<br>libffi                    3.2.1             he1b5a44_1006    conda-forge<br>libgcc-ng                 8.2.0                hdf63c60_1  <br>libgdal                   2.4.1                h02bbc0b_3    conda-forge<br>libgfortran-ng            7.3.0                hdf63c60_0  <br>libiconv                  1.15              h516909a_1005    conda-forge<br>libkml                    1.3.0             h328b03d_1009    conda-forge<br>liblapack                 3.8.0               10_openblas    conda-forge<br>libnetcdf                 4.6.2             hbdf4f91_1001    conda-forge<br>libpng                    1.6.37               hed695b0_0    conda-forge<br>libpq                     11.3                 h4e4e079_0    conda-forge<br>libspatialite             4.3.0a            h4c5cd43_1028    conda-forge<br>libssh2                   1.8.2                h22169c7_2    conda-forge<br>libstdcxx-ng              8.2.0                hdf63c60_1  <br>libtiff                   4.0.10            h648cc4a_1001    conda-forge<br>libuuid                   2.32.1            h14c3975_1000    conda-forge<br>libxcb                    1.13              h14c3975_1002    conda-forge<br>libxml2                   2.9.9                h13577e0_0    conda-forge<br>lz4-c                     1.8.3             he1b5a44_1001    conda-forge<br>mpi                       1.0                       mpich    conda-forge<br>mpich                     3.2.1             hc99cbb1_1009    conda-forge<br><span class="gmail-m_-7037055661557567934gmail-il">ncl</span>                       6.6.2                h3a5803f_3    conda-forge<br>nco                       4.8.0                hfb3d286_0    conda-forge<br>ncurses                   6.1               hf484d3e_1002    conda-forge<br>netcdf-fortran            4.4.5             hea25ff8_1000    conda-forge<br>netcdf4                   1.5.1.2          py37had58050_0    conda-forge<br>numpy                     1.16.4           py37h95a1406_0    conda-forge<br>openblas                  0.3.6                h6e990d7_2    conda-forge<br>openjpeg                  2.3.1                h58a6597_0    conda-forge<br>openssl                   1.1.1b               h14c3975_1    conda-forge<br>pcre                      8.41              hf484d3e_1003    conda-forge<br>pip                       19.1                     py37_0    conda-forge<br>pixman                    0.34.0            h14c3975_1003    conda-forge<br>poppler                   0.67.0               h2ad7f00_6    conda-forge<br>poppler-data              0.4.9                         1    conda-forge<br>postgresql                11.3                 hbeee2d4_0    conda-forge<br>proj4                     6.1.0                he751ad9_2    conda-forge<br>pthread-stubs             0.4               h14c3975_1001    conda-forge<br>python                    3.7.3                h5b0a415_0    conda-forge<br>readline                  7.0               hf8c457e_1001    conda-forge<br>setuptools                41.0.1                   py37_0    conda-forge<br>sqlite                    3.28.0               h8b20d00_0    conda-forge<br>tempest-remap             2.0.3                h5f743cb_0    conda-forge<br>tk                        8.6.9             h84994c4_1001    conda-forge<br>tzcode                    2019a             h516909a_1002    conda-forge<br>udunits2                  2.2.27.6          h4e0c4b3_1001    conda-forge<br>wheel                     0.33.4                   py37_0    conda-forge<br>xerces-c                  3.2.2             hac72e42_1001    conda-forge<br>xorg-imake                1.0.7                         0    conda-forge<br>xorg-kbproto              1.0.7             h14c3975_1002    conda-forge<br>xorg-libice               1.0.9             h516909a_1004    conda-forge<br>xorg-libsm                1.2.3             h84519dc_1000    conda-forge<br>xorg-libx11               1.6.7             h14c3975_1000    conda-forge<br>xorg-libxau               1.0.9                h14c3975_0    conda-forge<br>xorg-libxaw               1.0.13            h14c3975_1002    conda-forge<br>xorg-libxdmcp             1.1.3                h516909a_0    conda-forge<br>xorg-libxext              1.3.4                h516909a_0    conda-forge<br>xorg-libxmu               1.1.3                h516909a_0    conda-forge<br>xorg-libxpm               3.5.12            h14c3975_1002    conda-forge<br>xorg-libxrender           0.9.10            h516909a_1002    conda-forge<br>xorg-libxt                1.1.5             h14c3975_1002    conda-forge<br>xorg-makedepend           1.0.6                he1b5a44_1    conda-forge<br>xorg-renderproto          0.11.1            h14c3975_1002    conda-forge<br>xorg-xextproto            7.3.0             h14c3975_1002    conda-forge<br>xorg-xproto               7.0.31            h14c3975_1007    conda-forge<br>xz                        5.2.4             h14c3975_1001    conda-forge<br>zlib                      1.2.11            h14c3975_1004    conda-forge<br>zstd                      1.4.0                h3b9ef0a_0    conda-forge<br></span></span></p>>conda --version<br><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif"">conda 4.6.14<br>><span class="gmail-m_-7037055661557567934gmail-il">ncl</span> -V<br>6.6.2</p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif""><br></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif""> >which <span class="gmail-m_-7037055661557567934gmail-il">ncl</span><br>/home/jing/miniconda2/envs/ncl_stable/bin/<span class="gmail-m_-7037055661557567934gmail-il">ncl</span><br><span style="font-size:10pt;font-family:"Courier New""><span></span></span></p>

<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif""><span> >env | grep NCARG<br>OLD_NCARG_ROOT=/home/jing/miniconda2/envs/ncl_stable:<br>NCARG_ROOT=/home/jing/miniconda2/envs/ncl_stable<br></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif""><span><br></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif""><span>Looking forward to your suggestions!</span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif""><span><br></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri","sans-serif""><span>Best regards, Jing</span></p>

</div></div>
_______________________________________________<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>
</blockquote></div>