 Parent Directory
|
 Parent Directory
|  Revision Log
|
 Revision Log
|  Revision Graph
|
 Revision Graph
|  Patch
 Patch
--- MITgcm_contrib/jmc_script/plot_StD.m	2014/09/30 22:10:26	1.3
+++ MITgcm_contrib/jmc_script/plot_StD.m	2015/03/05 20:57:26	1.4
@@ -5,12 +5,13 @@
  Nexp=1; Nc=size(namA,2);
 %--
 
-% $Header: /home/ubuntu/mnt/e9_copy/MITgcm_contrib/jmc_script/plot_StD.m,v 1.3 2014/09/30 22:10:26 jmc Exp $
+% $Header: /home/ubuntu/mnt/e9_copy/MITgcm_contrib/jmc_script/plot_StD.m,v 1.4 2015/03/05 20:57:26 jmc Exp $
 % $Name:  $
 
 nItMx=1e10*ones(1,Nexp); %nItMx(3)=11;
 %nItMx=60*ones(1,Nexp);
 namLg=namA ; namLg=strrep(namLg,'_','\_');
+undef=123456.7;
 %-----------
 %- test if the variable krd is define :
 if size(who('krd'),1) > 0,
@@ -32,6 +33,7 @@
   [ntA(n),rList,tim,vv1,listV,kList] = ...
     read_StD(prefix,namA(n,:),listV);
   nIt=ntA(n); nk=size(vv1,1); nRg=size(vv1,3);
+  vv1(find(vv1==undef))=NaN;
 %- set global dims: & load vvA --> vvB
   nbV=size(listV,2);
   nrec=nIt; n3d=nk; nReg=nRg;
@@ -42,6 +44,7 @@
   [ntA(n),rList,tim,vv1,listV] = ...
     read_StD(prefix,namA(n,:),listV);
   nIt=ntA(n); nk=size(vv1,1); nRg=size(vv1,3);
+  vv1(find(vv1==undef))=NaN;
   if (nrec < nIt),
     fprintf('\n');
     error([' Nb of records=',int2str(nIt),' exceeds nrec=',int2str(nrec)]);
| ViewVC Help | |
| Powered by ViewVC 1.1.22 |