[gradsusr] time in netcdf file

M.Mahakur mmahakur at tropmet.res.in
Fri Mar 6 13:08:33 EST 2015


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


More information about the gradsusr mailing list