<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body 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 dataset-uv-rep-monthly_1536962814624.nc <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 dataset-uv-rep-monthly_1536962814624.nc <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="moz-txt-link-freetext" href="http://mpimet.mpg.de/cdi">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="moz-txt-link-rfc2396E" href="mailto:servicedesk.cmems@mercator-ocean.eu">"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="moz-txt-link-freetext" href="http://mpimet.mpg.de/cdo">http://mpimet.mpg.de/cdo</a>)" ;<br>
=====================<br>
<br>
To check, I repeated the test with an example netCDF file from
<a class="moz-txt-link-rfc2396E" href="https://www.ncl.ucar.edu/Applications/Data/"><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>
sst.nc<br>
<br>
smcc@jaguar:/data/dynamic_data/scratch$ ncl_filedump sst.nc <br>
Segmentation fault<br>
<br>
smcc@jaguar:/data/dynamic_data/scratch$ ncdump -h sst.nc <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 tamu.temps.nc sst.nc\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="moz-signature">-- <br>
<meta content="text/html; charset=utf-8" http-equiv="content-type">
<title>email signature</title>
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">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>
</body>
</html>