[gradsusr] how to regrid

Jennifer Adams jma at cola.iges.org
Tue Jul 23 14:54:16 EDT 2013


Use the lterp() function. http://iges.org/grads/gadoc/gradfunclterp.html

ga-> set gxout vector
ga-> d u.1;lterp(v.2,u.1)

--Jennifer

On Jul 22, 2013, at 8:47 PM, Indah Lutfiyanti wrote:

> Hi everyone
> 
> i have ocean current data which is contained u velocity and v velocity.
> in my data u and v have different number of grid.
> my question is how to regrid the number of grid so i have same number of grid on u and v data.
> 
> i give my data at below.
> 
> ga-> sdfopen 1980_2008_uvel.nc
> 	scanning self-decribing file: 1980_2008_uvel.nc
> 	SDF file 1980_2008_uvel.nc is open as file 1
> 	LON set to 90 15
> 	LAT set to -20 20
> 	LEV set to -10000 -10000
> 	time values set 1980:1:14:10 1980:1:14:10
> 	E set to 1 1
> ga-> q file
> 	Desccriptor: 1980_2008_uvel.nc
> 	binary: 1980_2008_uvel.nc
> 	type = gridded
> 	xsize = 480 Ysize = 328 zsize = 46 Tsize =348 Esize = 1
> 	Number of Variable = 1
> ga->  sdfopen 1980_2008_vvel.nc
> 	scanning self-decribing file: 1980_2008_vvel.nc
> 	SDF file 1980_2008_uvel.nc is open as file 1
> ga-> q file
> 	Desccriptor: 1980_2008_uvel.nc
> 	binary: 1980_2008_uvel.nc
> 	type = gridded
> 	xsize = 481 Ysize = 327 zsize = 46 Tsize =348 Esize = 1
> 	Number of Variable = 1
> 
> thank you for your help
> 
> regards, Lutfi
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

--
Jennifer M. Adams
IGES/COLA
4041 Powder Mill Road, Suite 302
Calverton, MD 20705
jma at cola.iges.org



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130723/6665852e/attachment-0003.html 


More information about the gradsusr mailing list