Skip to content

Commit

Permalink
RNetCDF conversion appears to be working?
Browse files Browse the repository at this point in the history
  • Loading branch information
aestears committed Jun 14, 2024
1 parent 336726f commit d9b249d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/implementation/01_main-simulation-runner.R
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ for (j in 1:2){#alljid) { # TO DO: use "while" not "for"

# Shut down MPI ---------------------------------------------------------------

if(!interactive() & isParallel) {
if (!interactive() & isParallel) {

# #info.free()
comm.print('done')
Expand All @@ -387,7 +387,7 @@ if(!interactive() & isParallel) {

apply(matrix(netCDFnames), MARGIN = 1,
FUN = function(x) {
ncdf4::nc_close(get(x))
RNetCDF::close.nc(get(x))
})
}

0 comments on commit d9b249d

Please sign in to comment.