Borrar filtros
Borrar filtros

Regriding of nc file

2 visualizaciones (últimos 30 días)
Tanmoyee Bhattacharya
Tanmoyee Bhattacharya el 26 de Sept. de 2017
Respondida: KSSV el 26 de Sept. de 2017
I have a cmip5 nc file of 0.5 degree.LAT LON Pressure and time these are the four dimensions of this nc file.The time is from 1979 to 2005.How can we regrid it to 0.05 degree. lat range-31.500:0.5:32.500 lon range-76.500:0.5:78.000
I have no idea about interpolation.Can anyone help me?

Respuestas (1)

KSSV
KSSV el 26 de Sept. de 2017
lat = 31.500:0.5:32.500 ;
lon = 76.500:0.5:78.000 ;
%%REgrid
ds = 0.05 ;
loni = min(lon):ds:max(lon) ;
lati = min(lat):ds:max(lat) ;
%
[Loni,Lati] = meshgrid(loni,lati) ;
And then you can use interp2 to get your 3D values on regirdded data.

Categorías

Más información sobre Text Data Preparation en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by