[gradsusr] Leap year

jhoana Agudelo jhoanacigue at hotmail.com
Fri Mar 21 13:14:19 EDT 2014


Hi

I'm using diary TRMM data, but I need to avoid leap years info. How can I remove the February 29th's values?

I'm trying to do it this way, but concatenation is not working, note that t=790, t=2251, t=3712 are the 3 February 29th I have in my data:


'sdfopen /home/usuario/Escritorio/tes/precTRMM.nc'

'set t 1 789'
'define a=p'
'set t 791 2250'
'define b=p'
'set t 2252 3711'
'define c=p'
'set t 3713 5260'
'define e=p'

'define r=a%b%c%e'
'set sdfwrite 'prec_TRMM'.nc'
'sdfwrite 'r

Thanks
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140321/703cd512/attachment.html 


More information about the gradsusr mailing list