<div dir="ltr">As Even suggests you should read the tutorial first, most questions will be answered there.<div><br></div><div>As for Band extraction, you need to look at the metadata, which you can inspect with gdalinfo</div>
<div><div><br></div><div>you should look for metadata like</div><div>NETCDF_DIM_time_DEF</div><div>NETCDF_DIM_time_VALUES</div></div><div><br></div><div>and band metadata like</div><div>NETCDF_DIM_time=1<br></div><div><br>
</div><div>If you want more fine-grained control on band selection based on a particular dimension (in this case time), then perhaps you should look into software that specializes in netcdf format like nco or cdo.</div><div>
<br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 18, 2014 at 7:07 AM, 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">hi,<br>
<br>
i had run gdalinfo on .nc file. it doesnt have subdatsets. it is rainfall<br>
data. it has 122 bands. how can i get geoextents of this file. and how do i<br>
extract each band from it if i want display band according to the time? how<br>
can i access those variables? i am writing this in C so i want to know how<br>
to access the variables in this file?<br>
<br>
<br>
<br>
thanks<br>
sandeep<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-tp5129619.html" target="_blank">http://osgeo-org.1560.x6.nabble.com/How-to-find-the-geoextents-in-a-netCDF-file-tp5129619.html</a><br>

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>
</blockquote></div><br></div>