[gdal-dev] resampling netcdf data

Nazanin tavakoli nazitkk1375 at gmail.com
Sat Nov 21 07:17:18 PST 2020


Hello,
I want to change the resolution of my data whose resolution is 0.0416
degrees (1/24th) resolution and I want to convert it to 0.5 degrees. I have
already used this code but I have some errors. Could you please help me?
gdal_translate -of netCDF -tr 0.5 0.5 WS.nc
<https://www.youtube.com/redirect?redir_token=QUFFLUhqa0hCWkdnLUttTmVYbzh4UGFIeW9RQTBxa2piUXxBQ3Jtc0trMTVQTV9YMVVrZWVzb2xXVjh1LVBCQ2ZoT3FoTzNKYjQ2NndBcmIxQVd2TkM3NXU3dUVjQ2FtMXFkOWdRSi1vdTVISnd6UEpsZWRDRVlLSDlzZDJlcGdqdlU5S0xyOXhXSlFSajliMG1URkhrWi1iMA%3D%3D&event=comments&q=http%3A%2F%2Fws.nc%2F&stzid=UgynaQQEp5-9sVSWQqp4AaABAg.9GHKHEPqQ8_9GKO25Kpqfy>
WS_1.nc
<https://www.youtube.com/redirect?redir_token=QUFFLUhqbEYxWEQxZzZpbVZSNGk2RjZHUnVUdEVNNEpZd3xBQ3Jtc0ttNzZDcUdxdUN6QU5vc1lKVmdULVFqLWo1WDdjendJbXJwcm03a3R2bWN6dnRlaWM1bENzUXhFNnp2NlN6b2x6Q0V3X21ueFdBNm5HVmQzaEVsZ0FKWGNZNEZSSk9GdDdmbVFwY2JKX1RuUjk0TTJTUQ%3D%3D&event=comments&q=http%3A%2F%2F1.nc%2F&stzid=UgynaQQEp5-9sVSWQqp4AaABAg.9GHKHEPqQ8_9GKO25Kpqfy>
Warning 1: Recode from UTF-8 to CP_ACP failed with the error: "Invalid
argument".
Warning 1: No UNIDATA NC_GLOBAL:Conventions attribute Input file size is
8640, 4320 0Warning 1: Recode from UTF-8 to CP_ACP failed with the error:
"Invalid argument". ...10...20...30...40...50...60...70...80...90..Warning
1: Recode from UTF-8 to CP_ACP failed with the error: "Invalid argument".
.100 - done.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20201121/c8ee3be9/attachment.html>


More information about the gdal-dev mailing list