[ncl-talk] ncl_filedump/ fixed on ubuntu

Sam McClatchie smcclatchie at fishocean.info
Thu Oct 11 12:50:43 MDT 2018


Colleagues

Thanks for the solution.

--------------------------
show installed shells on ubuntu 18.04
--------------------------
smcc at jaguar:/data/dynamic_data/datasets/argo$ cat /etc/shells
# /etc/shells: valid login shells
/bin/sh
/bin/dash
/bin/bash
/bin/rbash
/bin/csh
/bin/ksh93
/bin/rksh93
/bin/tcsh
/usr/bin/tcsh

----------------------------
remove csh, but keep tcsh shell
------------------------------
smcc at jaguar:/data/dynamic_data/datasets/argo$ sudo apt-get remove csh
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
   csh
0 to upgrade, 0 to newly install, 1 to remove and 6 not to upgrade.
After this operation, 358 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 546672 files and directories currently installed.)
Removing csh (20110502-3) ...
update-alternatives: using /bin/tcsh to provide /bin/csh (csh) in auto mode
Processing triggers for doc-base (0.10.8) ...
Processing 1 removed doc-base file...
Registering documents with scrollkeeper...
Processing triggers for man-db (2.8.3-2) ...

-----------------------------------
dump a netcdf file now works
----------------------------------
smcc at jaguar:/data/dynamic_data/datasets/argo$ ncl_filedump 
RG_ArgoClim_Psal.nc
  Copyright (C) 1995-2018 - All Rights Reserved
  University Corporation for Atmospheric Research
  NCAR Command Language Version 6.5.0
  The use of this software is governed by a License Agreement.
  See http://www.ncl.ucar.edu/ for more details.

Variable: f
Type: file
filename:    RG_ArgoClim_Psal
path:    RG_ArgoClim_Psal.nc
    file global attributes:
       history : FERRET V6.842   11-Jan-17FERRET V5.51 8-Mar-17FERRET 
V5.51   20-Apr-17FERRET V5.51   15-May-17FERRET V5.51   23-Jun-17FERRET 
V5.51   12-Jul-17FERRET V5.51 25-Aug-17FERRET V5.51   26-Sep-17
       Conventions : CF-1.0
    dimensions:
       LONGITUDE = 360
       LATITUDE = 130
       PRESSURE = 58
       bnds = 2
       TIME = 164  // unlimited
    variables:
       float LONGITUDE ( LONGITUDE )
          units :    degrees_east
          modulo :     360
          point_spacing :    even
          axis :    X
          standard_name :    longitude

       float LATITUDE ( LATITUDE )
          units :    degrees_north
          point_spacing :    even
          axis :    Y
          standard_name :    latitude

       float PRESSURE ( PRESSURE )
          units :    dbar
          positive :    down
          point_spacing :    uneven
          axis :    Z
          standard_name :    depth
          bounds :    PRESSURE_bnds

       float PRESSURE_bnds ( PRESSURE, bnds )

       float TIME ( TIME )
          units :    months since 2004-01-01 00:00:00
          time_origin :    01-JAN-2004 00:00:00
          axis :    T
          standard_name :    time

       float ARGO_SALINITY_ANOMALY ( TIME, PRESSURE, LATITUDE, LONGITUDE )
          missing_value :    -999
          _FillValue :    -999
          units :    Practical Salinity Scale 78
          long_name :    ARGO SALINITY ANOMALY defined by Jan 2004 - Dec 
2015 (12.0 year) RG CLIMATOLOGY
          history :    From RG_ArgoClim_Salinity_2016

       float ARGO_SALINITY_MEAN ( PRESSURE, LATITUDE, LONGITUDE )
          missing_value :    -999
          _FillValue :    -999
          units :    Practical Salinity Scale 78
          long_name :    ARGO SALINITY MEAN Jan 2004 - Dec 2015 (12.0 
year) RG CLIMATOLOGY
          history :    From RG_ArgoClim_Salinity_2016

       float BATHYMETRY_MASK ( PRESSURE, LATITUDE, LONGITUDE )
          missing_value :    -9
          _FillValue :    -9
          long_name :    BATHYMETRY MASK
          history :    From RG_ArgoClim_Salinity_2016


smcc at jaguar:/data/dynamic_data/datasets/argo$

Thanks again,
Sam
-- 
email signature Sam McClatchie (fisheries oceanographer)
& Elena Turin (accounting & auditing)
FishOcean Enterprises
38 Upland Rd, Huia, Auckland 0604, New Zealand
cell: 027 752 8495
Internet <http://www.fishocean.info>


"The time has come", the tui said,
"to talk of many things:
Of songs - and ferns - and flowering flax,
of Pukekos and dreams ..."

(not Lewis Carroll)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181012/494a0143/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SamMcClatchie2_small.jpg
Type: image/jpeg
Size: 45362 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181012/494a0143/attachment.jpg>


More information about the ncl-talk mailing list