BUG: openfile is called multiple times, second call stopped code with 'at keyword requires use of append yes'

This commit is contained in:
Lars Pastewka 2017-11-01 21:28:14 +01:00
parent 7ef17efe2e
commit 91e4bcca33
2 changed files with 2 additions and 0 deletions

View File

@ -599,6 +599,7 @@ void DumpNetCDF::openfile()
count[1] = 5;
NCERR( nc_put_vara_text(ncid, cell_angular_var, index, count, "gamma") );
append_flag = 1;
framei = 1;
}
}

View File

@ -575,6 +575,7 @@ void DumpNetCDFMPIIO::openfile()
NCERR( ncmpi_end_indep_data(ncid) );
append_flag = 1;
framei = 1;
}
}