As Even suggests you should read the tutorial first, most questions will be
answered there.

As for Band extraction, you need to look at the metadata, which you can
inspect with gdalinfo

you should look for metadata like
NETCDF_DIM_time_DEF
NETCDF_DIM_time_VALUES

and band metadata like
NETCDF_DIM_time=1

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.




On Tue, Mar 18, 2014 at 7:07 AM, sandeep <sandeepkumar7...@gmail.com> wrote:

> hi,
>
> i had run gdalinfo on .nc file. it doesnt have subdatsets. it is rainfall
> data. it has 122 bands. how can i get geoextents of this file. and how do i
> extract each band from it if i want display band according to the time? how
> can i access those variables? i am writing this in C so i want to know how
> to access the variables in this file?
>
>
>
> thanks
> sandeep
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/How-to-find-the-geoextents-in-a-netCDF-file-tp5129619.html
> Sent from the GDAL - Dev mailing list archive at Nabble.com.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to