Opened 12 years ago

Closed 12 years ago

#538 closed upgrade (Done)

Updated Matlab script d_obc_roms2roms.m

Reported by: arango Owned by: arango
Priority: minor Milestone: Matlab Processing Scripts
Component: Matlab Version: 3.6
Keywords: Cc:

Description

I updated the script matlab/boundary/d_obc_roms2roms.m and added a call to force Java to clean garbage collection when computing a long time-series. We may get Java exception errors about heap space when reading input files from an OpenDAP server, if applicable.

% If processing an OpenDAP file, force Java garbage collection.

  if (nc_url(NWAdata)),
    java.lang.System.gc
  end

Also, notice that if we want to restart the computation, we can set CREATE = false and get the record of the last boundary conditions processed for appending.

if (CREATE)
  BryRec = 0;
else
  BryRec = length(nc_read(BRYname,'bry_time'));
end

Change History (1)

comment:1 by arango, 12 years ago

Resolution: Done
Status: newclosed
Note: See TracTickets for help on using tickets.