# HDF4 make check error

**URL:** <https://forum.cmascenter.org/t/hdf4-make-check-error/767>\
**Category:** Spatial Allocator\
**Created:** [June 19, 2019, 5:52pm UTC](https://forum.cmascenter.org/t/hdf4-make-check-error/767 "2019-06-19T17:52:56Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![pkasper](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.cmascenter.org/pkasper/32/201_2.png) [@pkasper](https://forum.cmascenter.org/u/pkasper)\
**Post date:** [August 13, 2019, 4:41pm UTC](https://forum.cmascenter.org/t/hdf4-make-check-error/767/4 "2019-08-13T16:41:18Z")

</div>

I got some help on the hdf4 error. See this post for the steps that I took to get past the error.

> [@Raster Tool Error: error while loading shared libraries: libgeos-3.4.2.so](https://forum.cmascenter.org/t/raster-tool-error-error-while-loading-shared-libraries-libgeos-3-4-2-so/718/9):
>
> UPDATE: I’ve gotten past the generic HDF4 Error with some help from CMAS Here is what I was directed to do: Use h4dump (ncdump for h4 file in Spatial Allocator alias) to check the variable name in your file. The old MODIS file variable is: Land\_Cover\_Type\_1 The new MODIS file variable is: LC\_Type1 If you have new MODIS variable, you need to do this: In geo\_functions.cpp and in string getHDF4VarAttrInfo function: attStr = string ( attBuff ); //attStr.erase (count); In computeGridLa…

---

_[View the full topic](https://forum.cmascenter.org/t/hdf4-make-check-error/767)._
