Skip to content

Commit 91060e9

Browse files
Remove RELEASE_NOTES.md conflict
2 parents d772543 + aa0b0db commit 91060e9

File tree

4 files changed

+17
-8
lines changed

4 files changed

+17
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Copyright and licensing information can be found [here](http://www.unidata.ucar.
5858
To install the netCDF-C software, please see the file INSTALL in the
5959
netCDF-C distribution, or the (usually more up-to-date) document:
6060

61-
* [Building NetCDF](http://www.unidata.ucar.edu/software/netcdf/docs/getting_and_building_netcdf.html)
61+
* [Building NetCDF](https://www.unidata.ucar.edu/software/netcdf/docs/winbin.html)
6262

6363
### Documentation
6464
A language-independent User's Guide for netCDF, and some other

RELEASE_NOTES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ This file contains a high-level description of this package's evolution. Release
1111
dispatch table operations that should work for any dispatch
1212
table, even if they do not do anything; functions such as
1313
nc_inq_var_filter [https://github.com/Unidata/netcdf-c/issues/1693].
14+
* [Bug Fix] Fixed a scalar annotation error when scalar == 0; see [Github #1707](https://github.com/Unidata/netcdf-c/issues/1707) for more information.
1415
* [Bug Fix] Use proper CURLOPT values for VERIFYHOST and VERIFYPEER; the semantics for VERIFYHOST in particular changed. Documented in NUG/DAP2.md. See [https://github.com/Unidata/netcdf-c/issues/1684].
1516
* [Bug Fix][cmake] Correct an issue with parallel filter test logic in CMake-based builds.
1617
* [Bug Fix] Now allow nc_inq_var_deflate()/nc_inq_var_szip() to be called for all formats, not just HDF5. Non-HDF5 files return NC_NOERR and report no compression in use. This reverts behavior that was changed in the 4.7.4 release. See [https://github.com/Unidata/netcdf-c/issues/1691].

libhdf5/hdf5dim.c

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,16 @@ NC4_inq_dim(int ncid, int dimid, char *name, size_t *lenp)
166166
of records from all the vars that share this
167167
dimension. */
168168
*lenp = 0;
169-
if ((ret = nc4_find_dim_len(dim_grp, dimid, &lenp)))
170-
return ret;
169+
if (dim->len == 0) {
170+
if ((ret = nc4_find_dim_len(dim_grp, dimid, &lenp)))
171+
return ret;
172+
if (h5->no_write == NC_TRUE) {
173+
dim->len = *lenp;
174+
}
175+
}
176+
else {
177+
*lenp = dim->len;
178+
}
171179
}
172180
else
173181
{

ncdump/vardata.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -506,12 +506,12 @@ print_rows(
506506
}
507507
}
508508
if (formatting_specs.full_data_cmnts) {
509-
for (j = 0; j < marks_pending; j++) {
509+
for (j = 0; j < marks_pending; j++) {
510510
sbuf_cat(sb, RBRACE);
511-
}
512-
printf("%s", sbuf_str(sb));
513-
lastdelim (0, lastrow);
514-
annotate (vp, cor, d0-1);
511+
}
512+
printf("%s", sbuf_str(sb));
513+
lastdelim (0, lastrow);
514+
annotate (vp, cor, (d0 > 0 ? d0-1 : d0));
515515
} else {
516516
for (j = 0; j < marks_pending; j++) {
517517
sbuf_cat(sb, RBRACE);

0 commit comments

Comments
 (0)