Re: getfilevardimsizes returning _FillValue for NetCDF4 files opened with addfiles

From: David Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Wed Nov 20 2013 - 15:04:58 MST

Hi Keith,
I have verified the problem. I will create a ticket.
 -dave

On Nov 20, 2013, at 2:33 PM, Keith Lindsay <klindsay@ucar.edu> wrote:

> Hi,
>
> When I call getfilevardimsizes on a file reference returned from an addfiles (note the 's') called on NetCDF4 files, I get _FillValue.
>
> The attached script demonstrates this problem, when run on CISL systems where /glade is mounted.
> It accesses CCSM4 output located in the directory /glade/scratch/klindsay/b40.20th.track1.1deg.005/ocn/hist.
> That directory has NetCDF3 model output (b40.20th.track1.1deg.005.pop.h2...) , and duplicates converted to NetCDF4 with the command "ncks -4 ..." (b40.20th.track1.1deg.005.pop.h2.cdf4...).
>
> The script opens the NetCDF3 files with addfiles, and prints the dimensions of TEMP from the first file.
> It prints the proper values.
>
> It then does the same for the NetCDF4 files and prints -2147483647.
>
> Could this be looked into please?
>
> I get this behavior on geyser with ncl 6.1.2 and 6.2.0.
>
> Thanks, Keith
> <addfiles_cdf4_test.ncl>_______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Nov 20 15:05:13 2013

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