isunlimited returns False on unlimited dimension in NetCDF4

From: Keith Lindsay <klindsay_at_nyahnyahspammersnyahnyah>
Date: Thu Nov 21 2013 - 14:12:37 MST


I have converted NetCDF3 model output to NetCDF4 with the command 'ncks
-4 ...'.

ncl's isunlimited function returns False on the the "time" dimension in
the resulting file, despite output from running ncdump -h on the file
indicating that the "time" dimension is unlimited.

The following ncl commands demonstrate this behavior, with ncl 6.1.2, as
well as with the nightly 6.2.0 build.

    case = "b40.20th.track1.1deg.005"
    wdir = "/glade/scratch/klindsay/"+case+"/ocn/hist/"

    fname = wdir+case+""
    f = addfile(fname, "r")
    print(isunlimited(f, "time")) ; prints True

    fname = wdir+case+""
    f = addfile(fname, "r")
    print(isunlimited(f, "time")) ; prints False

Could this be looked into please?

Keith Lindsay
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Thu Nov 21 14:12:37 2013

This archive was generated by hypermail 2.1.8 : Fri Nov 22 2013 - 09:36:32 MST