Re: [gdal-dev] how to completely remove gdal from Ubuntu 20.04 and install from scratch

2020-08-07 Thread Sebastiaan Couwenberg
On 8/8/20 2:35 AM, Gerald Nelson wrote: > I can’t find any good directions for how to do a deep clean, or for that > matter to install gdal on Ubuntu 20.04 so I was hoping to get some directions > here. To get rid of the gdal package you can use: apt purge $(dpkg -l | grep gdal | awk '{print $

Re: [gdal-dev] Extracting a band with gdalmdimtranslate

2020-08-07 Thread Joe Lee
Hi, Please try $ gdalmdimtranslate -array "name=/swaths/mod35/Data Fields/Quality_Assurance,transpose=[2,1,0]" MOD35_L2.A2017161.1525.061.2017315035809.hdf test.tif as shown in [1], which I updated it today for MOD35_L2. [1] https://github.com/hdfeos/zoo/tree/master/gdal From: gdal-dev On

[gdal-dev] how to completely remove gdal from Ubuntu 20.04 and install from scratch

2020-08-07 Thread Gerald Nelson
I have both a mac and a linux box with Ubuntu 20.04. gdal on the mac is installed through home brew. gdal on the linux box has been installed both from source with the usual configure, make, make install and with sudo apt-get install gdal-bin. Both completed successfully and sudo apt-get insta

[gdal-dev] Extracting a band with gdalmdimtranslate

2020-08-07 Thread J . Antonio Guzmán Q .
Hi, I am trying to extract a band (byte 3) from the Quality_Assurance SDS of MODIS Cloud Mask swath product (MOD35-MYD35). Overall, I can not extract a band or array using gdalwarp since the dimensions of the array seems to be [Along, Across, Bytes] [2040x1354x10] and not [Bytes, Along, Across]. T