Sorry was testing on gdal_translate too…
GRASS script here.
#Northward wind netcdf files
for file in vasnc
do
r.in.gdal -o input=“NETCDF:”$file":northward_wind" output=$(echo $file | sed ‘s/.nc//g’)_northwardwind --overwrite
done
From: grass-dev-bounces@lists.osgeo.org [mailto:grass-dev-bounces@lists.osgeo.org] On Behalf Of Chemin, Yann (IWMI)
Sent: Wednesday, June 01, 2011 1:48 PM
To: grass-dev@lists.osgeo.org
Subject: [GRASS-dev] netcdf import has flipped image (North is South andEast is West)
From IPCC website:
http://www.ipcc-data.org/cgi-bin/downl/ar4_nc/vas/CNCM3_SRA1B_vas_c30b.tar
#Northward wind netcdf files
for file in vasnc
do gdal_translate -of ENVI “NETCDF:”$file":northward_wind" ENVI/$(echo $file | sed ‘s/.nc//g’)_northwardwind
done
Result is a flipped image (North is South and East is West)