BUG: openfile is called multiple times, second call stopped code with 'at keyword requires use of append yes'
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@ -575,6 +575,7 @@ void DumpNetCDFMPIIO::openfile()
|
||||
|
||||
NCERR( ncmpi_end_indep_data(ncid) );
|
||||
|
||||
append_flag = 1;
|
||||
framei = 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user