Re: [gdal-dev] NetCDF and EASE-2

2020-02-01 Thread Marsh, Chris
Thanks this may be a good option 2 if I can't get even's solution to work. Seems straightforward, agreed on mask! On Sat, Feb 1, 2020 at 15:52 Markus Metz mailto:markus.metz.gisw...@gmail.com>> wrote: CAUTION: This email originated from outside of the University of Saskatchewan. Do not click li

Re: [gdal-dev] NetCDF and EASE-2

2020-02-01 Thread Marsh, Chris
HI Even, Thanks for the detailed response. I have compiled master 3.1dev however strangest thing when I try to run it $ export PATH=`pwd`/gdal-install/bin:$PATH $ which gdal_translate /Users/chris/Documents/science/analysis/gdal-install/bin/gdal_translate $ gdal_translate NETCDF:"`pwd`/SD_20160

Re: [gdal-dev] NetCDF and EASE-2

2020-02-01 Thread Markus Metz
Regarding this EASE-2 grid (https://nsidc.org/ease/ease-grid-projection-gt), I found that On Sat, Feb 1, 2020 at 1:22 PM Even Rouault wrote: > - the spacing of the lat variable is not constant the spacing of the lat variable increases drastically towards the poles. You could convert the netcdf

Re: [gdal-dev] Python Wheels for gdal

2020-02-01 Thread Even Rouault
> There are existing tools. Multibuild uses > https://github.com/pypa/auditwheel. It says in the project README that the > result is "like static linking" From what I understood, this is far from being static linking. It just plays with the RPATH to make sure that the .so from the wheel .libs dir

Re: [gdal-dev] NetCDF and EASE-2

2020-02-01 Thread Even Rouault
Chris, There are 2 issues with this netCDF file: - the lon,lat indexing is done in a transposed way w.r.t the netCDF conventions. That is in this file the fastest varying dimension is the latitude, instead of longitude - the spacing of the lat variable is not constant I've a somewhat complicate