Skip to content

Commit

Permalink
Merge branch 'master' into lsuffix
Browse files Browse the repository at this point in the history
  • Loading branch information
dmh committed Nov 18, 2015
2 parents 0bafe8c + c053de5 commit 8e0b536
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 16 deletions.
15 changes: 8 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,14 @@ IF(MSVC)
ADD_DEFINITIONS(-D_CRT_SECURE_NO_WARNINGS)
ENDIF()

#####
# System inspection checks
#####
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include)
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/oc2)
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/libsrc)
SET(CMAKE_REQUIRED_INCLUDES ${CMAKE_SOURCE_DIR}/libsrc)

################################
# End Compiler Configuration
################################
Expand Down Expand Up @@ -986,13 +994,6 @@ MARK_AS_ADVANCED(ENABLE_DOXYGEN_BUILD_RELEASE_DOCS DOXYGEN_ENABLE_TASKS ENABLE_D
# Option checks
################################

#####
# System inspection checks
#####
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include)
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/oc2)
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/libsrc)
SET(CMAKE_REQUIRED_INCLUDES ${CMAKE_SOURCE_DIR}/libsrc)

#
# Library include checks
Expand Down
2 changes: 2 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ This file contains a high-level description of this package's evolution. Release

## 4.4.0 Released TBD

* Updated documentation to reference the new `NodeJS` interface to netcdf4, by Sven Willner. It is available from [https://www.npmjs.com/package/netcdf4](https://www.npmjs.com/package/netcdf4) or from the GitHub repository at [https://github.com/swillner/netcdf4-js](https://github.com/swillner/netcdf4-js).

* Incorporated pull request https://github.com/Unidata/netcdf-c/pull/150 from Greg Sjaardema to remove the internal hard-wired use of `NC_MAX_DIMS`, instead using a dynamic memory allocation.

### 4.4.0-RC5 Released - November 11, 2015
Expand Down
12 changes: 8 additions & 4 deletions docs/software.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,10 +215,8 @@ site](http://www-c4.ucsd.edu/~cids/software/visual.html).
CSIRO MATLAB/netCDF interface {#CSIRO-MATLAB}
------------------------------------------------------------

The [CSIRO MATLAB/netCDF
interface](http://www.marine.csiro.au/sw/matlab-netcdf.html) is now
available from the [CSIRO Marine
Laboratories](http://www.marine.csiro.au).
The [CSIRO MATLAB/netCDF interface](http://www.marine.csiro.au/sw/matlab-netcdf.html) is now
available from the [CSIRO Marine Laboratories](http://www.marine.csiro.au).
The CSIRO MATLAB/netCDF interface is run from within MATLAB and has a
simple syntax. It has options for automatically handling missing values,
scale factors, and permutation of hyperslabs. It is, however, limited to
Expand Down Expand Up @@ -1203,6 +1201,10 @@ The source may be downloaded from <ftp://cirrus.ucsd.edu/pub/ncview/>.
For more information, please contact the author, David W. Pierce at
<[email protected]>.

netcdf4-js {#netcdf4-js}
-------------------------------
[netcdf4-js](https://www.npmjs.com/package/netcdf4) is a NodeJS addon for reading and writing the files in the Network Common Data Form (NetCDF) version <= 4, built upon the C-library for netcdf. It isavailable from npmjs at the link above, or directly from the [GitHub Repository](https://github.com/swillner/netcdf4-js).

NetCDF Toolbox for MATLAB-5 {#matlab5}
----------------------------------------------------

Expand Down Expand Up @@ -2383,6 +2385,8 @@ implement a MATLAB/netCDF interface are available:
reader](http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=15177&objectType=file),
and [fanmat](/software/netcdf/Contrib.html).



Noesys {#Neosys}
-------------------------------

Expand Down
11 changes: 6 additions & 5 deletions libdap2/ncd2dispatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -1165,14 +1165,15 @@ fprintf(stderr,"conflict: %s[%lu] %s[%lu]\n",
PANIC1("missing dim names: %s",dim1->ocname);
/* search backward so we can delete duplicates */
for(j=nclistlength(basedims)-1;j>i;j--) {
CDFnode* dim2 = (CDFnode*)nclistget(basedims,j);
if(strcmp(dim1->ncfullname,dim2->ncfullname)==0) {
if(!dim1->ncfullname) continue;
CDFnode* dim2 = (CDFnode*)nclistget(basedims,j);
if(strcmp(dim1->ncfullname,dim2->ncfullname)==0) {
/* complain and suppress one of them */
fprintf(stderr,"duplicate dim names: %s[%lu] %s[%lu]\n",
dim1->ncfullname,(unsigned long)dim1->dim.declsize,
dim2->ncfullname,(unsigned long)dim2->dim.declsize);
dim1->ncfullname,(unsigned long)dim1->dim.declsize,
dim2->ncfullname,(unsigned long)dim2->dim.declsize);
nclistremove(basedims,j);
}
}
}
}

Expand Down

0 comments on commit 8e0b536

Please sign in to comment.