Hi Sudipta,
I downloaded and tried the file. It worked OK.
I am using the latest version of hdf4.
hrepack -V
hrepack, HDF Version 4.2 Release 9-post0, February 25, 2013
What version did you use? We had this issue with older version of hdf4.
Thanks
--pc
On 3/19/2013 10:38 AM, sudipta sarkar wrote:
Hi Peter
Sorry I should have clarified earlier. You will not get this problem from
any of the files downloaded from the public site. We are facing this error
for the files that are being generated for the upcoming Collection 6
product of MODIS. I had sent a ftp link to Barbara from your organization
earlier to download one such file. I am forwarding the same link to you as
well:
*You have 10 days from 03-19-2013 to download the file(s) from the
following URL:*
*https://webdrive.gsfc.nasa.gov/shortauth/sudipta.sarkar/gz005oC*
*Please use the following to login:*
*username = barbara_hdf
password = hdfmodis*
If you download the file from this link, you should get the hrepack error
that I mentioned earlier.
Let me know if you face any problem in downloading the file.
Thanks
On Tue, Mar 19, 2013 at 11:34 AM, Peter Cao <xcao@hdfgroup.org> wrote:
Hi Sudipta,
I downloaded a similar file,
MOD13Q1.A2003001.h12v09.005.2007261172941.hdf,
from http://e4ftl01.cr.usgs.gov/MOLT/MOD13Q1.005/2003.01.01/
I used the same option as you did but I could not reproduce the problem.
Everything
worked fine. The new file is a little bigger than the original one since
the original file
was compressed with GZIP level 5.
Could you download the file and try again? Just want to make sure the
file is not corrupted
along the way.
Thanks
--pc
On 3/18/2013 12:30 PM, sudipta sarkar wrote:
Hi All,
I am facing a strange problem related to HDF tool "hrepack".
I am trying to use the hrepack tool to copy and compress a particular
MODIS dataset as follows:
hrepack -i MOD13Q1.A2003001.h12v09.006.201029312065.hdf -o test.hdf.temp
-t '*:GZIP 4'
where MOD13Q1.A2003001.h12v09.006.201029312065.hdf is a HDF4 MODIS
dataset.
When I run the tool on the above file that has 12 SDS inside, the tool
throws up an error:
"Failed to check empty SDS <MODIS_Grid_16DAY_250m_500m_VI/Data
Fields/250m 16 days view zenith angle>"
The strange thing is that the particular SDS "250m 16 days view zenith
angle" is not empty at all and is filled with valid data. I can open that
SDS in HDFView or in ENVI. I can also run other in-house hdf tools on that
file and sds and yet hrepack complains about it being empty and cannot
process this and all similar files.
I am not even sure as to what to look for and what is wrong.
Any suggestions or comments from anyone will be most welcome.
Thanks
_______________________________________________
Hdf-forum is for HDF software users discussion.Hdf-forum@hdfgroup.orghttp://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
_______________________________________________
Hdf-forum is for HDF software users discussion.Hdf-forum@hdfgroup.orghttp://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org