netcdf-c/libsrc4
Greg Sjaardema 4ccebf25b5 Use dim field of var instead of finding dim from var->dimids.
The var struct has a 'dim' field which was not being used
Instead, the dimids field would always search for the dim
with the matching dimid.  For db with large numbers of dims,
this could be a significant time sync.

Modified code to always set var-dim[i] when var->dimids[i] was
set (if the dim existed at that point).  Then use the var->dim
field instead of var->dimids and search whenever requested.

All var->dim accesses are protected by asserts that verify
non-null and that the var->dim[]->dimid == var->dimids[].
2016-03-04 10:45:36 -07:00
..
CMakeLists.txt Manual merge of pull request https://github.com/Unidata/netcdf-c/pull/64 contributed by nschloe. Assorted CMake improvements. 2014-06-11 15:51:31 -06:00
error4.c
Makefile.am Big clean up to type handling in libsrc4, which makes fill-values work 2014-02-11 17:12:08 -06:00
nc3stub.c Refactored read_scale(), memio_new(), var_create_dataset() and makespecial() 2013-12-08 03:29:26 -06:00
nc3stub.h Quincey's fixes for NCF-250, netCDF-4 parallel independent access with 2013-07-08 21:31:13 +00:00
nc4attr.c Corrected issue where overwriting an attribute of type NC_CHAR with NC_STRING would result in dangling data. 2015-11-11 11:32:12 -07:00
nc4dim.c Fix common typos 2015-08-20 11:42:05 +02:00
nc4dispatch.c merge-squash 2015-10-09 10:12:11 -06:00
nc4dispatch.h [NCF-273]/HZY-708311 2013-12-22 12:53:20 -07:00
nc4file.c Use dim field of var instead of finding dim from var->dimids. 2016-03-04 10:45:36 -07:00
nc4grp.c Modified a number of tests 2014-10-04 15:59:16 -06:00
nc4hdf.c Use dim field of var instead of finding dim from var->dimids. 2016-03-04 10:45:36 -07:00
nc4internal.c Fix for https://github.com/Unidata/netcdf-c/issues/223 2016-02-19 15:05:39 -07:00
nc4type.c Fixed an issue preventing compilation with hdf4 support with Visual Studio. 2014-08-28 18:14:14 -06:00
nc4var.c Use dim field of var instead of finding dim from var->dimids. 2016-03-04 10:45:36 -07:00
ncfunc.c merge-squash 2015-10-09 10:12:11 -06:00
stub3.c
stub4.c fixed some missing config.h problems 2011-09-26 10:14:55 +00:00