[gradsusr] lterp for depth-varying file?

Andrew Friedman andfried at berkeley.edu
Tue Dec 31 03:43:49 EST 2013


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


More information about the gradsusr mailing list