<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">This is also an issue a colleague of mine has been having with a new install of NCL 6.5.0. Here is his command and output:<div><br></div><div>ncl_filedump <a href="http://air.2017.nc">air.2017.nc</a></div><div><br></div><div>Segmentation fault (core dumped)</div><div><br></div><div><a href="http://air.2017.nc">air.2017.nc</a> was downloaded from <a href="https://www.esrl.noaa.gov/psd/cgi-bin/db_search/DBListFiles.pl?did=192&tid=69856&vid=13">https://www.esrl.noaa.gov/psd/cgi-bin/db_search/DBListFiles.pl?did=192&tid=69856&vid=13</a>. To test it I ran ncl_filedump with version 6.4.0 and the output is as you'd expect with no issues. He's running on a version of ubuntu (kubuntu). He's tried multiple installations (the usual method and through conda) and hasn't had any luck getting it to work. Here is the output of ncl -v:</div><div><br></div><div><div>Copyright (C) 1995-2018 - All Rights Reserved</div><div> University Corporation for Atmospheric Research</div><div> NCAR Command Language Version 6.5.0</div><div> The use of this software is governed by a License Agreement.</div><div> See <a href="http://www.ncl.ucar.edu/">http://www.ncl.ucar.edu/</a> for more details.</div></div><div><br></div><div>He says everything else (other than ncl_filedump) with this installation works with no problem.</div><div><br></div><div>Thanks,</div><div>James</div><div><br></div><div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">-----------------------------------------------------------------------------<br><span lang="en-US"><font face="Tahoma" size="2" color="black"><span style="font-size:10pt" dir="ltr">Graduate Research & Teaching Assistant<br></span></font></span></div><div><span lang="en-US"><font face="Tahoma" size="2" color="black"><span style="font-size:10pt" dir="ltr">PhD Candidate: Atmospheric Science<br></span></font></span></div><div><span lang="en-US"><font face="Tahoma" size="2" color="black"><span style="font-size:10pt" dir="ltr">Department of Marine, Earth, and Atmospheric Sciences <br></span></font></span></div><div dir="ltr"><div><span lang="en-US"><font face="Tahoma"><span dir="ltr"><font color="#000000"><span style="font-size:10pt">North Carolina State University</span></font></span></font></span></div><div><font color="#000000" face="Tahoma"><span style="font-size:13.3333px"><a href="http://go.ncsu.edu/james-russell" target="_blank">http://go.ncsu.edu/james-russell</a></span></font></div><div><span style="color:black;font-family:Tahoma;font-size:10pt">--------------------------------------------------------------------------<br></span><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Sep 17, 2018 at 9:21 AM Rick Brownrigg <<a href="mailto:brownrig@ucar.edu">brownrig@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Sam,</div><div><br></div><div>I am able to open/read that <a href="http://sst.nc" target="_blank">sst.nc</a> file with ncl_dump just fine (?) Are you able to send me your file so that I can check it out? </div><div><br></div><div>Rick<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 17, 2018 at 2:03 AM, Sam McClatchie <span dir="ltr"><<a href="mailto:smcclatchie@fishocean.info" target="_blank">smcclatchie@fishocean.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Hello<br>
<br>
I have an install of ncl 6.5.0 that is working fine. However i am
beginning to suspect a problem with the ncl_filedump . The usage
command works: <br>
<br>
smcc@jaguar:/data/dynamic_data/datasets/currents_Copernicus_CMEMS_model_satellite$
ncl_filedump -h<br>
<br>
ncl_filedump [-c] [-v var1[,...]] [-sed sed1[,...]] [-itime]
[-ftime] [-tps] [-h] file<br>
[-c] coordinate variable and header information<br>
[-v var1[,...]] data for variable(s) <var1>,...<br>
[-sed sed1[,...]] GRIB files only; set single element dimensions
[default: none]<br>
choices are initial_time, forecast_time,
level, ensemble,<br>
probability, all, none<br>
[-itime] GRIB files only; set initial time as a single
element dimension<br>
(same as -sed initial_time)<br>
[-ftime] GRIB files only; set forecast time as a single
element dimension<br>
(same as -sed forecast_time)<br>
[-tps] GRIB files only; remove suffix representing a
time period (e.g. 2h)<br>
from statistically processed variables,
leaving only type of<br>
processing as a suffix (e.g. _acc, _avg)<br>
[-h] this usage message<br>
<br>
but doing ncl_filedump on a supported file type (netCDF) failed.<br>
<br>
smcc@jaguar:/data/dynamic_data/datasets/currents_Copernicus_CMEMS_model_satellite$
ncl_filedump <a href="http://dataset-uv-rep-monthly_1536962814624.nc" target="_blank">dataset-uv-rep-monthly_1536962814624.nc</a> <br>
Segmentation fault<br>
<br>
An ncdump of the file headers works:<br>
<br>
smcc@jaguar:/data/dynamic_data/datasets/currents_Copernicus_CMEMS_model_satellite$
ncdump -h <a href="http://dataset-uv-rep-monthly_1536962814624.nc" target="_blank">dataset-uv-rep-monthly_1536962814624.nc</a> <br>
netcdf dataset-uv-rep-monthly_1536962814624 {<br>
dimensions:<br>
longitude = 241 ;<br>
latitude = 121 ;<br>
depth = 1 ;<br>
time = UNLIMITED ; // (264 currently)<br>
variables:<br>
float longitude(longitude) ;<br>
longitude:standard_name = "longitude" ;<br>
longitude:long_name = "longitude" ;<br>
longitude:units = "degrees_east" ;<br>
longitude:axis = "X" ;<br>
float latitude(latitude) ;<br>
latitude:standard_name = "latitude" ;<br>
latitude:long_name = "latitude" ;<br>
latitude:units = "degrees_north" ;<br>
latitude:axis = "Y" ;<br>
double depth(depth) ;<br>
depth:standard_name = "depth" ;<br>
depth:long_name = "Depth" ;<br>
depth:units = "m" ;<br>
depth:positive = "down" ;<br>
depth:axis = "Z" ;<br>
depth:_CoordinateAxisType = "Height" ;<br>
depth:_CoordinateZisPositive = "down" ;<br>
float time(time) ;<br>
time:standard_name = "time" ;<br>
time:long_name = "Time" ;<br>
time:units = "hours since 1950-01-01 00:00:00 UTC" ;<br>
time:calendar = "standard" ;<br>
time:axis = "T" ;<br>
float vo(time, depth, latitude, longitude) ;<br>
vo:standard_name = "northward_sea_water_velocity" ;<br>
vo:long_name = "Absolute geostrophic velocity + depth Ekman
velocity: meridian component" ;<br>
vo:units = "m/s" ;<br>
vo:_FillValue = 1.844674e+19f ;<br>
vo:missing_value = 1.844674e+19f ;<br>
vo:_ChunkSizes = 1, 1, 720, 1440 ;<br>
float uo(time, depth, latitude, longitude) ;<br>
uo:standard_name = "eastward_sea_water_velocity" ;<br>
uo:long_name = "Absolute geostrophic velocity + depth Ekman
velocity: zonal component" ;<br>
uo:units = "m/s" ;<br>
uo:_FillValue = 1.844674e+19f ;<br>
uo:missing_value = 1.844674e+19f ;<br>
uo:_ChunkSizes = 1, 1, 720, 1440 ;<br>
<br>
// global attributes:<br>
:CDI = "Climate Data Interface version 1.8.1
(<a class="m_3102412095261098071m_-5839875539255849925moz-txt-link-freetext" href="http://mpimet.mpg.de/cdi" target="_blank">http://mpimet.mpg.de/cdi</a>)" ;<br>
:Conventions = "CF-1.6" ;<br>
:institution = "CLS" ;<br>
:geospatial_lon_units = "degrees_east" ;<br>
:geospatial_vertical_max = 0. ;<br>
:product_version = "1.0" ;<br>
:geospatial_lat_units = "degrees_north" ;<br>
:creation_date = "2018-04-04 00:00:00" ;<br>
:contact = <a class="m_3102412095261098071m_-5839875539255849925moz-txt-link-rfc2396E" href="mailto:servicedesk.cmems@mercator-ocean.eu" target="_blank">"servicedesk.cmems@mercator-ocean.eu"</a> ;<br>
:references = "Rio, M.-H., S. Mulet, and N. Picot
(2014),Beyond GOCE for the ocean circulation estimate: Synergetic
use of altimetry, gravimetry, and in situ data provides new insight
into geostrophic and Ekman currents, Geophys. Res. Lett., 41,
doi:10.1002/2014GL061773" ;<br>
:geospatial_vertical_min = -15. ;<br>
:lon_min = -180. ;<br>
:lon_max = 179.75 ;<br>
:lon_res = 0.25f ;<br>
:lat_min = -90. ;<br>
:lat_max = 89.75 ;<br>
:lat_res = 0.25f ;<br>
:title = "Monthly mean total surface and 15m velocities" ;<br>
:description = "This product has been initiated in the frame
of CNES/CLS projects and then consolidated during the Globcurrent
project (funded by the ESA User Element Program)" ;<br>
:History = "Translated to CF-1.0 Conventions by Netcdf-Java
CDM (CFGridWriter2)\n",<br>
"Original Dataset = dataset-uv-rep-monthly; Translation
Date = 2018-09-14T22:06:54.704Z" ;<br>
:geospatial_lat_min = 20.125 ;<br>
:geospatial_lat_max = 50.125 ;<br>
:geospatial_lon_min = -149.875 ;<br>
:geospatial_lon_max = -89.875 ;<br>
:CDO = "Climate Data Operators version 1.8.1
(<a class="m_3102412095261098071m_-5839875539255849925moz-txt-link-freetext" href="http://mpimet.mpg.de/cdo" target="_blank">http://mpimet.mpg.de/cdo</a>)" ;<br>
=====================<br>
<br>
To check, I repeated the test with an example netCDF file from
<a class="m_3102412095261098071m_-5839875539255849925moz-txt-link-rfc2396E" href="https://www.ncl.ucar.edu/Applications/Data/" target="_blank"><https://www.ncl.ucar.edu/Applications/Data/></a><br>
<br>
I obtained the same result:<br>
<br>
smcc@jaguar:/data/dynamic_data/scratch$ ls *.nc<br>
<a href="http://sst.nc" target="_blank">sst.nc</a><br>
<br>
smcc@jaguar:/data/dynamic_data/scratch$ ncl_filedump <a href="http://sst.nc" target="_blank">sst.nc</a> <br>
Segmentation fault<br>
<br>
smcc@jaguar:/data/dynamic_data/scratch$ ncdump -h <a href="http://sst.nc" target="_blank">sst.nc</a> <br>
netcdf sst {<br>
dimensions:<br>
DEPTH = 1 ;<br>
DEPTHedges = 16 ;<br>
LAT = 64 ;<br>
LATedges = 65 ;<br>
LON = 181 ;<br>
TIME = UNLIMITED ; // (1 currently)<br>
variables:<br>
double DEPTH(DEPTH) ;<br>
DEPTH:units = "meters" ;<br>
DEPTH:positive = "down" ;<br>
DEPTH:point_spacing = "uneven" ;<br>
DEPTH:edges = "DEPTHedges" ;<br>
double DEPTHedges(DEPTHedges) ;<br>
DEPTHedges:edges = " " ;<br>
double LAT(LAT) ;<br>
LAT:units = "degrees_north" ;<br>
LAT:point_spacing = "uneven" ;<br>
LAT:edges = "LATedges" ;<br>
double LATedges(LATedges) ;<br>
LATedges:edges = " " ;<br>
double LON(LON) ;<br>
LON:units = "degrees_east" ;<br>
LON:point_spacing = "even" ;<br>
float TEMP(TIME, DEPTH, LAT, LON) ;<br>
TEMP:missing_value = -9.99e+33f ;<br>
TEMP:_FillValue = -9.99e+33f ;<br>
TEMP:long_name = "TEMPERATURE" ;<br>
TEMP:history = "From ncep_sd_corrected_monthly_means" ;<br>
TEMP:units = "deg. C" ;<br>
double TIME(TIME) ;<br>
TIME:units = "days since 1947-12-15 00:00:00" ;<br>
TIME:time_origin = "15-DEC-1947:00:00:00" ;<br>
<br>
// global attributes:<br>
:history = "Thu Oct 26 09:03:55 2000: ncks -d TIME,0,0 -d
DEPTH,0,0 <a href="http://tamu.temps.nc" target="_blank">tamu.temps.nc</a> <a href="http://sst.nc" target="_blank">sst.nc</a>\n",<br>
"FERRET V5.00 (V500beta1.1) 25-Oct-00" ;<br>
}<br>
smcc@jaguar:/data/dynamic_data/scratch$ <br>
<br>
==================<br>
It seems either there is a problem with the ncl_filedump tool on my
installation (which seems doubtful given that other things are
working just fine), or the may be a problem with the tool?<br>
<br>
Best fishes<br>
Sam<br>
<div class="m_3102412095261098071m_-5839875539255849925moz-signature">-- <br>
Sam McClatchie (fisheries oceanographer)<br>
& Elena Turin (accounting & auditing)<br>
FishOcean Enterprises<br>
38 Upland Rd, Huia, Auckland 0604, New Zealand<br>
cell: 027 752 8495<br>
<span style="text-decoration:underline"><a href="http://www.fishocean.info" target="_blank">Internet</a></span><br>
<img style="width:150px;height:149px" alt="" src="cid:part2.906DD916.B682BEA6@fishocean.info"><br>
<br>
"The time has come", the tui said,<br>
"to talk of many things:<br>
Of songs - and ferns - and flowering flax,<br>
of Pukekos and dreams ..."<br>
<br>
(not Lewis Carroll)
</div>
</div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote></div>