[gradsusr] time in netcdf file

Jennifer Adams jma at cola.iges.org
Fri Mar 6 13:27:09 EST 2015


GrADS doesn’t support non-linear time axes — i.e., when the increment is not the same. At one point in your file the time axis values go from 107688 to 107691.25,  an increment of 3.25 instead of 3.
—Jennifer

On Mar 6, 2015, at 1:08 PM, M.Mahakur <mmahakur at TROPMET.RES.IN> wrote:

> Hi,
> 
> Thanking you Dr Jennifer for your reply and information to my earlier queries.
> 
> I have another issue with a netcdf file. I have data at time 00,03,...,21 UTC for for few time steps and later at 00:15,03:15,...,21:15 UTC.
> 
> ga-> set t 1 2920
> Time values set: 2014:1:1:0 2014:12:31:21 
> ga-> q time      
> Time = 00Z01JAN2014 to 21Z31DEC2014  Wed to Wed
> ga-> 
> ga-> set t 10
> Time values set: 2014:1:2:3 2014:1:2:3 
> ga-> q time  
> Time = 03Z02JAN2014 to 03Z02JAN2014  Thu to Thu
> 
> ** This is correct
> 
> ga-> set t 2000
> Time values set: 2014:9:7:21 2014:9:7:21 
> ga-> q time    
> Time = 21Z07SEP2014 to 21Z07SEP2014  Sun to Sun
> ga->
> 
> ** This need to be 21:15Z07SEP2014 to 21:15Z07SEP2014  Sun to Sun
> 
> I am wandering why it does not display the minutes!!!
> 
> ncdump "time' is:
> 
>        double time(time) ;
>                time:long_name = "time" ;
>                time:units = "hours since 2002-01-01 00:00:00.0" ;
> time=
> ...
> ...
> 
> 107646, 107649, 107652, 107655, 107658, 107661, 107664, 107667, 107670, 
>    107673, 107676, 107679, 107682, 107685, 107688, 107691.25, 107694.25, 
>    107697.25, 107700.25, 107703.25, 107706.25, 107709.25, 107712.25, 
>    107715.25, 107718.25, 107721.25, 107724.25, 107727.25, 107730.25, 
> 
> ...
> ...
> 
> 
> In another netcdf which has entire times at 00:15,03:15,...,21:15 (does not have 00,03,...,21 UTC). It is showing correctly.
> 
> ga-> set t 1 472
> Time values set: 2015:1:1:0 2015:2:28:21 
> ga-> q time     
> Time = 00:15Z01JAN2015 to 21:15Z28FEB2015  Thu to Sat
> ga-> 
> 
> Can somebody hint the reason or suggest any changes I need to make while creating the netcdf file(s), please!
> 
> Thanking you.
> 
> With Regards,
> Mahakur
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

--
Jennifer M. Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
111 Research Hall, Mail Stop 2B3
George Mason University
4400 University Drive
Fairfax, VA 22030 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150306/3008ec19/attachment.html 


More information about the gradsusr mailing list