[MITgcm-devel] Can we fix this with sed?

Baylor Fox-Kemper baylor at MIT.EDU
Thu Jan 6 11:01:50 EST 2005


Hello All,
   Just encountered the following error when restarting from an mnc 
pickup file:

(PID.TID 0000.0001)    25 @  6.400000000000000E+07              /* J =  
1: 25 */
(PID.TID 0000.0001)     ;
(PID.TID 0000.0001)
  NetCDF ERROR: NC_UNLIMITED size already in use
NetCDF ERROR: NC_UNLIMITED size already in use
  MNC ERROR: MNC_DIM_INIT ERROR: cannot create dim 'T' in file 
'pickup.0000019200.000001.nc
MNC ERROR: MNC_DIM_INIT ERROR: cannot create dim 'T' in file 
'pickup.0000019200.000001.nc
STOP ABNORMAL END: package MNC statement executed


Seems odd that it's trying to create a dimension in the pickup file...  
Here's the ncdump from the pickup...  It seems to already have an 
unlimited T dimension...  Any idea what's the problem?


run.5.0.05.02>> ncdump -h pickup.0000019200.000001.nc
netcdf pickup.0000019200.000001 {
dimensions:
         T = UNLIMITED ; // (1 currently)
         Xp1 = 76 ;
         Y = 25 ;
         Z = 35 ;
         X = 75 ;
         Yp1 = 26 ;
variables:
         int T(T) ;
                 T:long_name = "iteration_count" ;
         double Xp1(Xp1) ;
         double Y(Y) ;
         double Z(Z) ;
         double U(T, Z, Y, Xp1) ;
                 U:units = "m/s" ;
                 U:coordinates = "XU YU RC iter" ;
         double X(X) ;
         double Yp1(Yp1) ;
         double V(T, Z, Yp1, X) ;
                 V:units = "m/s" ;
                 V:coordinates = "XV YV RC iter" ;
         double Temp(T, Z, Y, X) ;
                 Temp:units = "degC" ;
                 Temp:long_name = "potential_temperature" ;
                 Temp:coordinates = "XC YC RC iter" ;
         double S(T, Z, Y, X) ;
                 S:long_name = "salinity" ;
                 S:coordinates = "XC YC RC iter" ;
         double Eta(T, Y, X) ;
                 Eta:long_name = "free-surface_r-anomaly" ;
                 Eta:units = "m" ;
                 Eta:coordinates = "XC YC RC iter" ;
         double gUnm1(T, Z, Y, Xp1) ;
         double gVnm1(T, Z, Yp1, X) ;
         double gTnm1(T, Z, Y, X) ;
         double gSnm1(T, Z, Y, X) ;
         double dEtaHdt(T, Y, X) ;
         double EtaH(T, Y, X) ;
                 EtaH:long_name = "column-thickness_r-anomaly" ;
                 EtaH:units = "m" ;
                 EtaH:coordinates = "XC YC RC iter" ;
         double phi_nh(T, Z, Y, X) ;
         double gW(T, Z, Y, X) ;

// global attributes:
                 :the_run_name = "" ;
                 :MITgcm_URL = "http://mitgcm.org" ;
                 :MITgcm_tag_id = "1.362 2004/10/01" ;
                 :MITgcm_mnc_ver = 0.9 ;
                 :tile_number = 1 ;
                 :bi = 1 ;
                 :bj = 1 ;
                 :xC0 = 0. ;
                 :yC0 = 0. ;
                 :sNx = 75 ;
                 :sNy = 25 ;
                 :OLx = 3 ;
                 :OLy = 3 ;
                 :nSx = 1 ;
                 :nSy = 1 ;
                 :nPx = 1 ;
                 :nPy = 1 ;
                 :Nx = 75 ;
                 :Ny = 25 ;
                 :Nr = 35 ;
}




More information about the MITgcm-devel mailing list