Hi, Ok solved, test ok with version 5.06 (default on ubuntu 22) and 5.2.1 (default on ubuntu 24). My ubuntu is still 20 so the default version was 4.9.1 which I suppose has the bug. SOLVED.
Hi, I don't achieve the right result. I write again my step: 1) Given single time-step WRF output, first I extract t2m and coordinate variables: ncks -v T2,XLAT,XLONG wrfout_d01_2025-01-30_00\:00\:00 wrfout_d01.nc 2) Then I use ncwa ncwa -a Time wrfout_d01.nc test1.nc (Time si with 'T' not 't') 3) Then I regrid ncremap -i test1.nc -v T2 -G 'latlon=487,756#snwe=34.47,49.08,1.18,23.85' -o test2.nc here the output of ncdump, it seems to me correct (except it is without time dimension, but it is not...
Ok, I will try next days and inform about results. Thanks. - edit : sorry maybe was not clear but I already did this: ### time average ncwa -a Time wrfout_d01.nc test1.nc ### regrid ncremap -i test1.nc -v T2 -G 'latlon=487,756#snwe=34.47,49.08,1.18,23.85' -o test2.nc That is why I tried also an input with XLAT and XLONG with time dimension that gave me that error. But I suppose I should leave T2 with time dimension and only XLAT and XLONG without time dimension?
Ok, I will try next days and inform about results. Thanks.
Hi Charlie, Thank you for quick response, I read your response above , that is why I asked about time averaging, since my original WRF output is ALREADY 1 time step , that is the problem.... wrfout_d01_2025-01-30_00\:00\:00 I just extracted t2m since it is very huge (1,5 GB). So I do not get how to resolve this part, unless for every time step I just have to set XLAT and XLONG time averaged as user that opened the post
Hello, Same problem here. These are the commands I used: ### subset of original file to temperature 2m ncks -v T2,XLAT,XLONG wrfout_d01_2025-01-30_00\:00\:00 wrfout_d01.nc ### time average ncwa -a Time wrfout_d01.nc test1.nc ### regrid ncremap -i test1.nc -v T2 -G 'latlon=487,756#snwe=34.47,49.08,1.18,23.85' -o test2.nc Attached image and input file (the subset) My version is 4.9.1 , I have only nco algorithm installed. ncremap --config ncremap, the NCO regridder and grid, map, and weight-generator,...