[GRASS-dev] netcdf import has flipped image (North is South
andEast is West)
Chemin, Yann (IWMI)
Y.Chemin at cgiar.org
Wed Jun 1 04:20:50 EDT 2011
Sorry was testing on gdal_translate too...
GRASS script here.
-----------------------
#Northward wind netcdf files
for file in *vas*nc
do
r.in.gdal -o input="NETCDF:"$file":northward_wind"
output=$(echo $file | sed 's/\.nc//g')_northwardwind --overwrite
done
From: grass-dev-bounces at lists.osgeo.org
[mailto:grass-dev-bounces at lists.osgeo.org] On Behalf Of Chemin, Yann
(IWMI)
Sent: Wednesday, June 01, 2011 1:48 PM
To: grass-dev at 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.t
ar
#Northward wind netcdf files
for file in *vas*nc
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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20110601/18e36d78/attachment-0001.html
More information about the grass-dev
mailing list