<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<div class="BodyFragment"><font size="2"><span style="font-size:10pt;">
<div class="PlainText">I have a netCDF file with a 12-element time dimension, expressed in "seconds since 1970-01-01 00:00:00", with the first time on Jan 1, 1998. But when I read in the file (attached), it seems to see only the first time:<br>
<br>
> ga-> sdfopen test4.nc<br>
> Scanning self-describing file: test4.nc<br>
> SDF file test4.nc is open as file 1<br>
> LON set to 137.875 179.875 <br>
> LAT set to 1 1 <br>
> LEV set to 0 0 <br>
> Time values set: 1998:1:1:0 1998:1:1:0 <br>
> E set to 1 1 <br>
<br>
with the result then when I plot it, I get not the hovmoller I wanted, but just a line plot vs. longitude.<br>
<br>
I tried xdfopen with the descriptor file:<br>
<br>
> DSET test4.nc<br>
> TDEF time 12 LINEAR 1JAN1998 1mo<br>
> VARS 1<br>
> precip=>precip<br>
> ENDVARS<br>
<br>
but with the same result.<br>
<br>
What is the recommended way for encoding a time dimension either in netCDF for GrADS to use, or alternatively, using xdfopen?<br>
</div>
</span></font></div>
<div class="BodyFragment"><font size="2"><span style="font-size:10pt;">
<div class="PlainText"><br>
--<br>
Dr. Christopher Lynnes NASA/GSFC, Code 610.2 phone: 301-614-5185<br>
"Perfection is achieved, not when there is nothing left to add, but when there is nothing left to take away" -- A. de Saint-Exupery<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div>
</span></font></div>
</body>
</html>