Skip to content

netcdf formatted dump index reporting incorrect #181

@WardF

Description

@WardF

Originally reported by Tim Hoar at NCAR:
#1 - YES, I know the default indexing is C-based.
#2 - YES, the problem occurs whether I use -f f -or- -f c
#3 - YES, it happens with multiple versions.
#4 - YES, it happens with multiple files.

I’m on yellowstone, using

0[2180] yslogin6:~/<3>models/jules/work $ module list

Currently Loaded Modules:

  1. ncarenv/1.0 2) ncarbinlibs/1.1 3) intel/12.1.5 4)
    ncarcompilers/1.0 5) netcdf/4.3.0

0[2181] yslogin6:~/<3>models/jules/work $ date
Wed Dec 30 12:54:18 MST 2015

0[2182] yslogin6:~/<3>models/jules/work $ pwd
/glade/p/work/thoar/DART/jules/models/jules/work

0[2184] yslogin6:~/<3>models/jules/work $ ncdump -f f -v
land_tile_fractions check_me_out.nc > netcdf_4_3_0_dump.txt

and I think the indexing is wrong … land_tile_fractions is dimensioned
(9,1,14), I’m asking for a Fortran-style indexing scheme, and I only get the
rightmost index going up to 13, AND … worse, I get TWO (1,1,1) values …
seems like all the items that should be indexed 14 get incorrectly
addressed as a duplicate of a previous value. The DATA is correct, just
the indexing is wrong.

Please check the attached log and I’ve included the netCDF file in question.
I have used both 4_3_0 and 4_3_3 with multiple netCDF files and believe
this problem is repeatable across these tests.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions