Need to warp AWHRR files so that the resulting grid mesh cells borders coincide for all the scenes.
I'm using the following code for warping (in cycle for every file):
; setting projection
units = envi_proj_units_translate('Degrees')
proj = envi_proj_create(/geographic, unit=units)
ENVI_DOIT, 'ENVI_AVHRR_WARP_DOIT', AVHRR_FID=fidin, $
DIMS=dims, FID=fidcal, /IN_MEMORY, BACKGROUND=nodata, $
METHOD=8, OUT_BNAME=[0,1,2,3,4], POS=pos, $
PIXEL_SIZE=[0.02, 0.02], grid=[50,50], PROJ=proj, R_FID=fidproj
How I must to set up projection so that ENVI_AVHRR_WARP_DOIT will warp different scenes uniformly (avoiding grid borders mismatching)? (I want to warp/reproject the data only ones in order to not degrade my data.)
|