[R] #2 (Thanks) → Consultation about reading hdf files from nsidc

Jorge Rabinovich bibtri at gmail.com
Thu Oct 29 18:21:33 CET 2015


City Bell, Thursday, October 29, 2015, 14:10

Hi there:
On 10/29/2015 10:12 AM, HDF-EOS Tools and Information Center Help wrote:
> Hi, Jorge!   The AMSR-E file you're trying to read with R is HDF"4", 
> not HDF"5" file format. Unfortunately, R does not support HDF4 
> directly. You can either convert it to HDF5 using h4toh5tool [1] or to 
> netCDF using h4tonccf [2]. Then, you can use HDF5 or netCDF R routines 
> to access the file.
> [1] https://www.hdfgroup.org/h4toh5/
> [2] http://www.hdfeos.org/software/h4cflib.php
Thanks a million.

I downloaded the h4h5tools-2.2.2-win64.zip file and obtained the 
H4TOH5-2.2.2-win64.exe after decompressing.

I executed that file and installed the H4TOH5-2.2.2-win64 without any 
problem. I also downloaded the H4TOH5 Users Guide and Reference Manual.

However I am not able to make the conversion. I went to the "command" 
option of Windows, and I pasted the following:

C:\Program Files\HDF_Group\H4TOH5\2.2.2\bin\h4toh5convert.exe 
D:\Guanacos_3\Consultoria Santa Cruz\Datos SC\Clima\MODIS 
Snow\AMSR_E_L3_5DaySnow_V09_20050126.hdf

and I got the following message: "C:\Program" is not recognized a an 
internal or external command.

What do you think I am doing wrong?

Thanks again,

Jorge

-- 
Dr.  Jorge Rabinovich
Centro de Estudios Parasitológicos y de Vectores (CEPAVE)
Universidad Nacional de La Plata
Boulevard 120 s/n (e/ 61 y 62), B1902CHX La Plata
Prov. de Buenos Aires, Argentina
Tel/fax directo: 0221-472-4694
E-mail: Jorge.Rabinovich at gmail.com (preferido)
E-mail: jrabinovich at cepave.edu.ar (alternativo)
Sitio Web Personal: http://www.ecopaedia.com.ar/cv/
Sitio Web Institucional: http://www.cepave.edu.ar


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



More information about the R-help mailing list