<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>I have a NetCDF file with west > east, gdalinfo reports<br></div><div>Corner Coordinates:<br>Upper Left (    335.257,     70.000) <br>Lower Left (    335.257,     30.000) <br>Upper Right ( 44.7424710, 69.9999970) <br>Lower Right ( 44.7424710, 29.9999954) <br>Center     (    190.000,     50.000)<br></div><div><br></div><div>west = 335.257 > east = 44.7424710</div><div><br></div><div>The reason is that west has been wrapped such that it is in the range [0, 360], and GDAL thinks that columns need to be read from right to left instead of left to right.</div><div><br></div><div>The fix is to convert west with west -= 360, then assign corrected extents with gdal_translate -a_ullr<br></div><div><br></div><div>There is a config option GDAL_NETCDF_BOTTOMUP. Could something similar be implemented for west > east, something like GDAL_NETCDF_LEFTISLEFT? Or is it a corrupted file and manual correction is the only option?</div><div><br></div><div>Markus M<br></div></div></div></div>