Skip to content

Commit

Permalink
fix python 3 aggregation issue and flake8 (#244)
Browse files Browse the repository at this point in the history
* Fix python3 slice issue(setitem) and flake8

* update to libnetcdf 4.6
  • Loading branch information
dnadeau4 authored May 2, 2018
1 parent 03da6de commit 1943d9e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Src/Cdunifmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,9 @@ static int cdopen(const char* controlpath, int ncmode, CuFileType *filetype) {
/* Take care for mode flag */
if ((cdms_classic == 0) || (cdms_shuffle != 0) || (cdms_deflate != 0)
|| (cdms_netcdf4 == 1)) {
ncmode = ncmode | NC_NETCDF4;
if(strstr(controlpath, "http") == NULL){
ncmode = ncmode | NC_NETCDF4;
}
}
#ifdef PARALLEL
/* ok we can only use MPIIO if not using shuffle or deflate for reason
Expand Down

0 comments on commit 1943d9e

Please sign in to comment.