Opened 13 years ago
Closed 13 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
Note:
See TracTickets
for help on using tickets.