[gradsusr] lterp for depth-varying file?

Davide Sacchetti davide.sacchetti at arpal.gov.it
Tue Dec 31 06:00:03 EST 2013


use:
'set z 1 2' (or what you need)
'define output=lterp(fine,coarse)'

then output varies in depth

I'm using opengrads v2.0.1.oga.1: lterp wants just two args

it could help
bye bye
Davide

On Tue, 2013-12-31 at 00:43 -0800, Andrew Friedman wrote:
> Hi GrADS users,
> 
> I’m trying to regrid each level of a depth-varying file to a coarser horizontal grid.
> I would like to save the output as one variable:
> 
> 'set z 1’
> 'output=lterp(fine(z=1),coarse(z=1),aave,50)’
> 'set z 2’
> 'output=lterp(fine(z=2),coarse(z=2),aave,50)’
> 
> However, the output variable gets overwritten at each level. Does anyone know if it is possible to get my output variable to vary in depth?
> 
> Thanks,
> Andrew
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
> 

-- 
--> Attenzione cambio indirizzo: davide.sacchetti at arpal.gov.it
--
Davide Sacchetti
Centro Funzionale Meteo Idrologico di Protezione Civile della Regione Liguria
ARPAL Unità Tecnica Complessa di livello Regionale
V.le Brigare Partigiane 2 16121 Genova (I)
tel: +39 010 6437535                    fax: +39 010 6437520
mail: davide.sacchetti at arpal.gov.it     web: www.meteoliguria.it




More information about the gradsusr mailing list