<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
hello,<br><br>i would like to convert Grass Raster to netCDF format.<br><br>i have used&nbsp; the following command from gdal library:<br><font style="" color="#ff0000"><br></font><font style="" color="#ff0000">gdal_translate /directory/Global/Permanent/cellhd/RasterMask RasterNC.nc</font><br><br>which worked well!<br><br>i also use gdalinfo to check the netCDF file:<br><br><font style="" color="#ff0000">gdalinfo RasterNC.nc<br><br></font><font style="" color="#00b0f0">Driver: GTiff/GeoTIFF</font><br>Size is 20, 2<br>Coordinate System is `'<br>Origin = (74.000000,35.500000)<br>Pixel Size = (0.20000000,-0.20000000)<br>Corner Coordinates:<br>Upper Left&nbsp; (&nbsp; 74.0000000,&nbsp; 35.5000000)<br>Lower Left&nbsp; (&nbsp; 74.0000000,&nbsp; 35.1000000)<br>Upper Right (&nbsp; 78.0000000,&nbsp; 35.5000000)<br>Lower Right (&nbsp; 78.0000000,&nbsp; 35.1000000)<br>Center&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (&nbsp; 76.0000000,&nbsp; 35.3000000)<br>Band 1 Block=20x2 Type=Float32, ColorInterp=Gray<br>&nbsp;NoData Value=-9999<br><br><br><br>Which shows the driver information is GTiff/GeoTIFF not<br><font style="" color="#00b0f0">Driver:</font><font style="" color="#00b0f0"><i><i>netCDF/Network Common Data Format<br><br><font style="" color="#000000">Could anybody tell me why it is like that? What kind of netCDF file format it is after using gdal_translate?<br><br>best regards,<br>Tracy<br></font></i></i></font><br /><hr />check out the rest of the Windows Live™.
More than mail–Windows Live™ goes way beyond your inbox.
 <a href='http://www.microsoft.com/windows/windowslive/' target='_new'>More than messages</a></body>
</html>