I am using the multibandread function in MATLAB to read in the glds95agi15.bil file I downloaded from CIESIN. I need help setting some of the input parameters for the function. * what is the height (rows), width (elements or columns), and depth (bands) of the file or how do I figure it out? * what is the number format? integer or float? how many bytes?

This information is contained in the header file (.hdr) that should be included in the archive that you downloaded. I’ve pasted in a copy below. One thing you should note: we released an improved final version of the global and country grids for GPW on December 19, 2005.  If you are working with a version that you downloaded from before then you should get the latest version from our web site: http://sedac.ciesin.columbia.edu/gpw/index.jsp


glds15ag.hdr contents:
BYTEORDER M
LAYOUT BIL
NROWS 3432
NCOLS 8640
NBANDS 1
NBITS 32
BANDROWBYTES 34560
TOTALROWBYTES 34560
BANDGAPBYTES 0

Feedback and Knowledge Base