[gradsusr] lats4d for sum

Estefanía Jiménez estefaniajimenez.r at gmail.com
Thu Jan 17 10:41:18 EST 2013


yuju! thanks a lot Lee!


2013/1/16 Lee Byerle <lbyerle at yahoo.com>

> Estefania,
> One suggestion is to remove the options -time and -mean and add -func
> 'sum(@,time=00z01...,time=18z30...)' to the Lats command (with your month,
> year and day strings included as before).
>
> Good luck,
> Lee
>
> On Jan 16, 2013, at 12:08 PM, Estefanía Jiménez <
> estefaniajimenez.r at gmail.com> wrote:
>
> Hi all! Is there a way that I can transform this script to get the sum of
> the variables instead of the average??
>
>
> * /opt/grads30d/bin/gradsc -bpc "run /opt/grads30d/scripts/lats4d.gs -i
> /data/CR_presente_1960-1990/binctl/Eta_exp110km1960010100.ctl -o
>  ../climat_6190/media_$mes$ano -ftype ctl -format grads_grib -mean -vars
> pslm pslc tp2m dp2m u10m v10m prec prcv neve clsf cssf ghfl tsfc qsfc tgsc
> tgrz ussl uzrs smav rnof evpp lwnv mdnv hinv cbnt ocis olis oces oles roce
> role albe agpl zgeo uvel vvel temp umrl omeg umes -time
> 00z01$mese[$mes]$ano 18z30$mese[$mes]$ano -levs 1000 925 850 500 250 -table
> cptec.table"*
> *
> *
>
> *
> *
>
> Thank you for your help!
>
> --
> *Estefanía Jiménez R.*
> Meteoróloga
> Departamento de Climatología e Investigaciones Aplicadas
> Instituto Meteorológico Nacional
> MINAET
> Tel: +506 2222 5616 ext 131
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
*Estefanía Jiménez R.*
Meteoróloga
Departamento de Climatología e Investigaciones Aplicadas
Instituto Meteorológico Nacional
MINAET
Tel: +506 2222 5616 ext 131
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130117/5715481b/attachment-0003.html 


More information about the gradsusr mailing list