[osgeo4w] #293: update gdal dependencies (netcdf, hdf5)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[osgeo4w] #293: update gdal dependencies (netcdf, hdf5)

OSGeo4W
#293: update gdal dependencies (netcdf, hdf5)
------------------+---------------------------------------------------------
Reporter:  jef    |       Owner:  osgeo4w-dev@…              
    Type:  task   |      Status:  new                        
Priority:  major  |   Component:  Package                    
 Version:         |    Keywords:                            
------------------+---------------------------------------------------------
 See http://lists.osgeo.org/pipermail/osgeo4w-dev/2012-June/001775.html

--
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/293>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.
_______________________________________________
osgeo4w-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Reply | Threaded
Open this post in threaded view
|

Re: [osgeo4w] #293: update gdal dependencies (netcdf, hdf5)

OSGeo4W
#293: update gdal dependencies (netcdf, hdf5)
------------------+---------------------------------------------------------
Reporter:  jef    |       Owner:  osgeo4w-dev@…              
    Type:  task   |      Status:  new                        
Priority:  major  |   Component:  Package                    
 Version:         |    Keywords:                            
------------------+---------------------------------------------------------

Comment(by etourigny):

 Note:

 netcdf-4 support requires to uncomment the following in gdal nmake.opt
 (hdf4 support is unrelated to netcdf-4/hdf5 - but it doesn't hurt)

 {{{
 # Uncomment the following to enable NetCDF format.
 #NETCDF_PLUGIN = NO
 #NETCDF_SETTING=yes
 #NETCDF_LIB=C:\Software\netcdf\lib\netcdf.lib
 #NETCDF_INC_DIR=C:\Software\netcdf\include

 # Uncomment the following to add NC4 and HDF4 support
 #NETCDF_HAS_NC4 = yes
 #NETCDF_HAS_HDF4 = yes

 }}}

--
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/293#comment:1>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.
_______________________________________________
osgeo4w-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Reply | Threaded
Open this post in threaded view
|

Re: [osgeo4w] #293: update gdal dependencies (netcdf, hdf5)

OSGeo4W
In reply to this post by OSGeo4W
#293: update gdal dependencies (netcdf, hdf5)
------------------+---------------------------------------------------------
Reporter:  jef    |       Owner:  osgeo4w-dev@…              
    Type:  task   |      Status:  new                        
Priority:  major  |   Component:  Package                    
 Version:         |    Keywords:  netcdf4                    
------------------+---------------------------------------------------------
Changes (by tdamsma):

  * keywords:  => netcdf4


Comment:

 I noticed that the gdalinfo packed in osgeo4w (both x86 and x64 version)
 does not correctly open some netcdf4 files I have, and uses the HDF5
 driver instead. (Even though netcdf library 4.3.0-1 is packaged in the
 current osgeo4w64 release). Using the gdalinfo installed via the
 unofficial python binaries distributed by the Laboratory for Fluorescence
 Dynamics of the University of California,
 (http://www.lfd.uci.edu/~gohlke/pythonlibs/#gdal) gdalinfo does work
 correctly on netcdf4 files.

 I think this has to do with the issue above, though not sure.

--
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/293#comment:2>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.
_______________________________________________
osgeo4w-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Reply | Threaded
Open this post in threaded view
|

Re: [osgeo4w] #293: update gdal dependencies (netcdf, hdf5)

OSGeo4W
In reply to this post by OSGeo4W
#293: update gdal dependencies (netcdf, hdf5)
--------------------+----------------------------
Reporter:  jef      |       Owner:  osgeo4w-dev@…
    Type:  task     |      Status:  new
Priority:  major    |   Component:  Package
 Version:           |  Resolution:
Keywords:  netcdf4  |
--------------------+----------------------------

Comment (by dr):

 Trying to convert NetCDF dataset to GeoTIF and get the following error
 (GDAL 2.1.1, NetCDF 4.3.0):


 {{{
 gdalwarp -ts 360 140
 netcdf:2016121233557Forest_Aboveground_Biomassv3.nc:Forest_Aboveground_Biomass_v3
 output.tif
 ERROR 1: netCDF scanline fetch failed: #-101 (NetCDF: HDF error)
 ERROR 1:
 netcdf:2016121233557Forest_Aboveground_Biomassv3.nc:Forest_Aboveground_
 Biomass_v3, band 1: IReadBlock failed at X offset 0, Y offset 0
 ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 0
 }}}

 But on the Linux (GDAL 2.1.0, NetCDF 4.4.0) all works fine.
 Test file:
 https://drive.google.com/file/d/0B6TJ2VnOYaa1RkNGbzFLU3dqalE/view?usp=sharing

--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/293#comment:3>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.
_______________________________________________
osgeo4w-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Reply | Threaded
Open this post in threaded view
|

Re: [osgeo4w] #293: update gdal dependencies (netcdf, hdf5)

OSGeo4W
In reply to this post by OSGeo4W
#293: update gdal dependencies (netcdf, hdf5)
--------------------+----------------------------
Reporter:  jef      |       Owner:  osgeo4w-dev@…
    Type:  task     |      Status:  new
Priority:  major    |   Component:  Package
 Version:           |  Resolution:
Keywords:  netcdf4  |
--------------------+----------------------------

Comment (by sabb):

 Here is the error I get when I run ncdump from OSGeo shell (64bit) on the
 file posted by @dr



 {{{
  Forest_Aboveground_Biomass_v3 =
   NetCDF: HDF error
 Location: file ..\..\..\ncdump\vardata.c; line 475
 }}}

--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/293#comment:4>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Reply | Threaded
Open this post in threaded view
|

Re: [osgeo4w] #293: update gdal dependencies (netcdf, hdf5)

OSGeo4W
In reply to this post by OSGeo4W
#293: update gdal dependencies (netcdf, hdf5)
--------------------+----------------------------
Reporter:  jef      |       Owner:  osgeo4w-dev@…
    Type:  task     |      Status:  new
Priority:  major    |   Component:  Package
 Version:           |  Resolution:
Keywords:  netcdf4  |
--------------------+----------------------------

Comment (by sabb):

 I can confirm that the issue has been resolved in gdal/ogr 2.20 in Windows
 thanks to Jef.

 Feel free to close.

 Cheers
 Saber

--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/293#comment:5>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Reply | Threaded
Open this post in threaded view
|

Re: [osgeo4w] #293: update gdal dependencies (netcdf, hdf5)

OSGeo4W
In reply to this post by OSGeo4W
#293: update gdal dependencies (netcdf, hdf5)
--------------------+----------------------------
Reporter:  jef      |       Owner:  osgeo4w-dev@…
    Type:  task     |      Status:  closed
Priority:  major    |   Component:  Package
 Version:           |  Resolution:  fixed
Keywords:  netcdf4  |
--------------------+----------------------------
Changes (by jef):

 * status:  new => closed
 * resolution:   => fixed


--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/293#comment:6>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev