[pkg-grass-Bugs][313115] Increasing "MAX_FILES" in HDF4

pkg-grass-bugs at alioth.debian.org pkg-grass-bugs at alioth.debian.org
Tue May 10 20:15:32 UTC 2011


Bugs item #313115, was opened at 2011-05-10 20:15 by Jona Gr
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=410558&aid=313115&group_id=30241

Status: Open
Priority: 3
Submitted By: Jona Gr (jgrn307-guest)
Assigned to: Nobody (None)
Summary: Increasing "MAX_FILES" in HDF4 
Category: None
Group: None
Resolution: None


Initial Comment:
I'm not entirely sure why, but the base HDF4 library decided to set the maximum number of open HDF4 files to 32, an issue reported at http://trac.osgeo.org/gdal/wiki/HDF .  Increasing the allowed number of simultaneously open HDF4 files would really help doing things like mosaicking MODIS files.  I'm requesting that you modify the hlimits.h file and modify the following line:
#   define MAX_FILE   32
to
#   define MAX_FILE   1024
(or something very high).  I can't imagine having compatibility problems with increasing this value, just less of a "safety" net.

Specifically, I want to be able to create global virtual mosaics of MODIS LAI files, and this requires opening > 100 MODIS HDF4 tiles at once. 

----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=410558&aid=313115&group_id=30241



More information about the Pkg-grass-devel mailing list