Project

General

Profile

How to interpolate data grid points to mask area grid points

Added by Justin Hicks almost 7 years ago

Hello,

I have been using two files: one is a GLDAS data file that has land-only data, and the other is a mask file that helps me plot this data in the land area of Oceania. However, my GLDAS file and mask file contain different grid points for this land area; the mask file contains more grid points than the GLDAS file. When I plot them both, my masked data does not include all of the grid points in the mask file. Is there any way to interpolate the GLDAS data or masked GLDAS data to include the grid points that the mask file includes?

-Justin


Replies (1)

RE: How to interpolate data grid points to mask area grid points - Added by Karin Meier-Fleischer almost 7 years ago

Hi Justin,

you can remap the mask file to the data grid:

cdo -remapcon,data-file  mask-file  new-mask-file

or vice versa

cdo -remapcon,mask-file  data-file  new-data-file

-Karin

    (1-1/1)