Regarding Regridding/Remapping
Added by Harsh Vardhan Singh over 4 years ago
I am using Remapbil function to regrid 1 Degree IMD Temperature file (MaxT_1951_2016.nc) to 0.5 Degree temperature file using following command :
cdo remapbil,grids.txt MaxT_1951_2016.nc Output.nc
I am getting various missing values in various grids, how it can be done so that I could get right result?
Is there any other way to regrid or remap the file so that proper result could be obtained?
I have attached picture that how data gap is there. Many grids have missing values.
- gridID 1
#
gridtype = lonlat
gridsize = 961
xsize = 31
ysize = 31
xname = lon
xlongname = "longitude"
xunits = "degrees_east"
yname = lat
ylongname = "latitude"
yunits = "degrees_north"
xfirst = 67.5
xinc = 1
yfirst = 7.5
yinc = 1
- gridID 1
#
gridtype = lonlat
gridsize = 3844
xsize = 62
ysize = 62
xname = lon
xlongname = "longitude"
xunits = "degrees_east"
yname = lat
ylongname = "latitude"
yunits = "degrees_north"
xfirst = 67.5
xinc = 1
yfirst = 7.5
yinc = 1
Replies (4)
RE: Regarding Regridding/Remapping - Added by Karin Meier-Fleischer over 4 years ago
Hi Harsh,
the gridfile for the output file is not correct. The xinc and yinc should be 0.5 if you want to remap to a 0.5x0.5 grid. The missing values come from the grid cells outside your input data.
You can see the grid information with 'cdo sinfo Outfile.nc'.
-Karin
RE: Regarding Regridding/Remapping - Added by Harsh Vardhan Singh over 4 years ago
Thank you, but here it was written by mistake. I have already used xinc and yinc as 0.5, result is very bad.
Can you please help me regarding this?
RE: Regarding Regridding/Remapping - Added by Karin Meier-Fleischer over 4 years ago
Please, upload your input file? It is not possible to help without it.
RE: Regarding Regridding/Remapping - Added by Harsh Vardhan Singh over 4 years ago
Here I am attaching the Max Temperature file which is in 1 Degree and I want to regrid on the 0.5 Degree resolution.
Problem is that when I am extracting data in the format of CSV or excel there comes a lot of data gap. Kindly solve the problem.
The grids falling in my area are also attached in excel file.
MaxT_1951_2016.rar (22.5 MB) MaxT_1951_2016.rar | |||
India4096_05.xlsx (57.1 KB) India4096_05.xlsx |