/[MITgcm]/MITgcm_contrib/gael/profilesMatlabProcessing/ecco_v4/insitu_cost.m
ViewVC logotype

Diff of /MITgcm_contrib/gael/profilesMatlabProcessing/ecco_v4/insitu_cost.m

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.9 by gforget, Sat Jan 18 23:42:50 2014 UTC revision 1.11 by gforget, Sun Jan 17 16:00:24 2016 UTC
# Line 17  function []=insitu_cost(doComp,varargin) Line 17  function []=insitu_cost(doComp,varargin)
17    
18  %load paths and grid:  %load paths and grid:
19  %--------------------  %--------------------
20  global mygrid; if isempty(mygrid); grid_load('GRID/',5,'compact'); end;  gcmfaces_global; if isempty(mygrid); grid_load; end;
21    
22  %set more optional paramaters to default values  %set more optional paramaters to default values
23  global myparms; year0=myparms.yearInAve(1); year1=myparms.yearInAve(2);  global myparms; year0=myparms.yearInAve(1); year1=myparms.yearInAve(2);
# Line 110  for vv=1:length(listVar); Line 110  for vv=1:length(listVar);
110    
111  end;  end;
112    
113  eval(['save ' dirMat 'insitu_cost' suffMat '.mat costAve* misfitDistrib* depthTimeCost* year* ' ...  if ~isdir([dirMat 'cost/']); mkdir([dirMat 'cost/']); end;
114    eval(['save ' dirMat 'cost/insitu_cost' suffMat '.mat costAve* misfitDistrib* depthTimeCost* year* ' ...
115        'listData listVar listBas ' listBasTxt ';']);        'listData listVar listBas ' listBasTxt ';']);
116    
117  else;%display result  else;%display result

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.22