The two variable in metgrid file which I have compared, LANDMASK and LANDSEA, where I see that LANDSEA is shifted slightly to the right compared to LANDMASK. I have attached a plot of (delta_mask = LANDSEA-LANDMASK) and you can see that there is a clear shift between mask towards the right. I would appreciate if i can get some advice in sorting it out.

For ungribbing, CFSv2 data, I am using the Vtable provided on rda.ucar.edu at below link
http://rda.ucar.edu/datasets/ds094.0/metadata/Vtable.RDA_ds094.0
I am not quite sure but i think the LANDSEA field is obtained from the data in CFSR grid files, while the LANDMASK are coming from GEOGRID, which creates this mismatch. I have tried the different suggestion given http://www2.mmm.ucar.edu/wrf/users/FAQ_files/FAQ_wps_input_data.html, but they didnt help me sort it out.
I have added the plots of sst with two different field, LANDMASK and LANDSEA, where the first picture if with LANDSEA, and it is quite obvious that the mask is not right.

When, I put LANDMASK, it can be seen that the sst is masked with LANDMASK field, not using LANDSEA.

while in the METGRID.TBL, i have specified to use LANDSEA.
- Code: Select all
========================================
name=SST
interp_option=sixteen_pt+four_pt
fill_missing=0.
missing_value=-1.E30
masked=land
interp_mask=landsea(1)
flag_in_output=FLAG_SST
========================================
As you can see in zoomed in picture, the correct mask is not being used.

I would be grateful if anyone can help me with this.