<div dir="ltr">loop for each raster as explained in the tutorial, and get the specific metadataitem like this<div><br></div><div><div>const char* md = GDALGetMetadataItem(hBand, "NETCDF_DIM_time_VALUE", "")</div>
</div><div><br></div><div>md will contain the value of NETCDF_DIM_time_VALUE for that band</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 18, 2014 at 2:42 PM, sandeep <span dir="ltr"><<a href="mailto:sandeepkumar7489@gmail.com" target="_blank">sandeepkumar7489@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From the GetRasterCount() i can find the number of bands and using vrt i am<br>
creating a file for every band. in order to to show them according to the<br>
NETCDF_DIM_time_VALUES how can i do that?<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/How-to-find-the-geoextents-in-a-netCDF-file-tp5129619p5129725.html" target="_blank">http://osgeo-org.1560.x6.nabble.com/How-to-find-the-geoextents-in-a-netCDF-file-tp5129619p5129725.html</a><br>

<div class="HOEnZb"><div class="h5">Sent from the GDAL - Dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</div></div></blockquote></div><br></div>