Re: [gdal-dev] split netCDF

Ivan Lucena ivan.lucena at pmldnet.com
Fri Aug 6 08:23:44 EDT 2010


Martin,

If you are running it on Windows you can use "for" (type "help for" on Command Prompt), ex:

C:\Data> for /l %i in (1,1,300) do gdal_translate -b %i input_file output_%i.tif


>  -------Original Message-------
>  From: Matin80 <martin at bier-mail.de>
>  To: gdal-dev at lists.osgeo.org
>  Subject: [gdal-dev] split netCDF
>  Sent: Aug 06 '10 05:56
>  
>  
>  Hi everyone,
>  
>  I have a netCDF-file containing over 300  bands.
>  is it possible to split up the file and get the same number of GeoTiffs with
>  GDAL in a single command line? All i found to this topic ended in merging
>  the bands to a single output file...
>  
>  kind regards,
>  Martin
>  
>  
>  --
>  View this message in context: http://osgeo-org.1803224.n2.nabble.com/split-netCDF-tp5380091p5380091.html
>  Sent from the GDAL - Dev mailing list archive at Nabble.com.
>  _______________________________________________
>  gdal-dev mailing list
>  gdal-dev at lists.osgeo.org
>  http://lists.osgeo.org/mailman/listinfo/gdal-dev
>  


More information about the gdal-dev mailing list