<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">If a netcdf file doesn't have a time dimension, GrADS will assign a default time of 00z01jan0001 to the file. That message is not an error, it is a warning -- the file was opened successfully. If you want the default time to be something else, use a simple xdfopen-style descriptor to assign a time. If you want to merge files over the time dimension, you can use templating with the CHSUB option -- mapping each file to its particular time -- the strings in the filenames are not readily interpreted, so the usual date string substitutions won't work.&nbsp;<div><br></div><div><a href="http://iges.org/grads/gadoc/SDFdescriptorfile.html">http://iges.org/grads/gadoc/SDFdescriptorfile.html</a><br><div>http://iges.org/grads/gadoc/templates.html</div><div><br></div><div>--Jennifer<br><div><br><div><div>On May 29, 2013, at 8:08 AM, Joshua Ngaina wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div><br>
</div><div><b>Dear All,<br><br></b></div><div><b>I have daily MODIS aerosol products (Small mode fraction). <br><br></b></div><div><b>I wanted to merge these files using CDO but it seemed the files were not merged.&nbsp; </b><br>
<br>met@met-HP-Compaq-6000-Pro-MT-PC:/media/BERTH/MODIS_DAILY$ cdo mergetime *.nc ALLMOD08.nc<br>cdo mergetime: Processed 4147200 values from 64 variables over 32 timesteps. ( 0.18s )<br><b><br>
So to check one of the files, I used grads and I got this error: <span class="">DF</span> <span class="">file</span> <span class="">has</span> <span class="">no</span> <span class="">discernable</span> <span class="">time</span> <span class="">coordinate</span> -- <span class="">using</span> <span class="">default</span> <span class="">values</span></b>. <br>

<br>ga-&gt; sdfopen <a href="http://MOD08_D3.A2001001.051.2010286151047.pscs_000500504418.Optical_Depth_Ratio_Small_Land_And_Ocean_Mean.G3.nc/">MOD08_D3.A2001001.051.2010286151047.pscs_000500504418.Optical_Depth_Ratio_Small_Land_And_Ocean_Mean.G3.nc</a><br>
Scanning self-describing file:&nbsp; <a href="http://MOD08_D3.A2001001.051.2010286151047.pscs_000500504418.Optical_Depth_Ratio_Small_Land_And_Ocean_Mean.G3.nc/">MOD08_D3.A2001001.051.2010286151047.pscs_000500504418.Optical_Depth_Ratio_Small_Land_And_Ocean_Mean.G3.nc</a><br>
SDF file has no discernable time coordinate -- using default values.<br>SDF file <a href="http://MOD08_D3.A2001001.051.2010286151047.pscs_000500504418.Optical_Depth_Ratio_Small_Land_And_Ocean_Mean.G3.nc/">MOD08_D3.A2001001.051.2010286151047.pscs_000500504418.Optical_Depth_Ratio_Small_Land_And_Ocean_Mean.G3.nc</a> is open as file 1<br>
LON set to 0 360 <br>LAT set to -89.5 89.5 <br>LEV set to 0 0 <br>Time values set: 1:1:1:0 1:1:1:0 <br>E set to 1 1 <br>ga-&gt; q file<br>File 1 : <br>&nbsp; Descriptor: <a href="http://MOD08_D3.A2001001.051.2010286151047.pscs_000500504418.Optical_Depth_Ratio_Small_Land_And_Ocean_Mean.G3.nc/">MOD08_D3.A2001001.051.2010286151047.pscs_000500504418.Optical_Depth_Ratio_Small_Land_And_Ocean_Mean.G3.nc</a><br>
&nbsp; Binary: <a href="http://MOD08_D3.A2001001.051.2010286151047.pscs_000500504418.Optical_Depth_Ratio_Small_Land_And_Ocean_Mean.G3.nc/">MOD08_D3.A2001001.051.2010286151047.pscs_000500504418.Optical_Depth_Ratio_Small_Land_And_Ocean_Mean.G3.nc</a><br>
&nbsp; Type = Gridded<br>&nbsp; Xsize = 360&nbsp; Ysize = 180&nbsp; Zsize = 1&nbsp; Tsize = 1&nbsp; Esize = 1<br>&nbsp; Number of Variables = 2<br>&nbsp;&nbsp;&nbsp;&nbsp; optical_depth_l&nbsp; 0&nbsp; y,x&nbsp; Aerosol Optical Thickness at 0.55 microns for both Ocean (best) and Land (corrected): Mean<br>
&nbsp;&nbsp;&nbsp;&nbsp; optical_depth_r&nbsp; 0&nbsp; y,x&nbsp; Ratio of small mode aerosol optical depth at 0.55 micron for both land and ocean: Mean<br><b><br></b></div><div><b>I also checked the merged netcdf file </b><br><br>ga-&gt; sdfopen ALLMOD08.nc <br>
Scanning self-describing file:&nbsp; ALLMOD08.nc<br>SDF file has no discernable time coordinate -- using default values.<br>SDF file ALLMOD08.nc is open as file 1<br>LON set to 0 360 <br>LAT set to -89.5 89.5 <br>LEV set to 0 0 <br>
Time values set: 1:1:1:0 1:1:1:0 <br>E set to 1 1 <br>ga-&gt; q file<br>File 1 : <br>&nbsp; Descriptor: ALLMOD08.nc<br>&nbsp; Binary: ALLMOD08.nc<br>&nbsp; Type = Gridded<br>&nbsp; Xsize = 360&nbsp; Ysize = 180&nbsp; Zsize = 1&nbsp; Tsize = 1&nbsp; Esize = 1<br>
&nbsp; Number of Variables = 2<br>&nbsp;&nbsp;&nbsp;&nbsp; optical_depth_l&nbsp; 0&nbsp; y,x&nbsp; Aerosol Optical Thickness at 0.55 microns for both Ocean (best) and Land (corrected): Mean<br>&nbsp;&nbsp;&nbsp;&nbsp; optical_depth_r&nbsp; 0&nbsp; y,x&nbsp; Ratio of small mode aerosol optical depth at 0.55 micron for both land and ocean: Mean<br>
<br></div><div><b>I also noted that the dimension of both files were the same. <br><br></b></div><div><b>My major problem is with many files of this type, How do I merge this files for analysis with GrADs. Please advise<br>
</b></div><b><br></b><div>
<b><br>
Regards and Thanks,</b><br><br></div><div>Joshua Ngaina<br>
</div></div>
_______________________________________________<br>gradsusr mailing list<br>gradsusr@gradsusr.org<br>http://gradsusr.org/mailman/listinfo/gradsusr<br></blockquote></div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="font-size: 12px; "><div>--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div>jma@cola.iges.org</div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span>
</div>
<br></div></div></div></body></html>